Template:Craft: Difference between revisions
From HorizonXI Wiki
No edit summary Tags: Reverted visualeditor-wikitext |
No edit summary Tags: Manual revert Reverted visualeditor-wikitext |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|[[:Category:{{{1}}}|{{{1}}}]] {{#switch:{{{2|}}}|?|??|???|(?)|(??)|(???)|{{Information Needed}}| = ({{Information Needed|{{#switch:{{NAMESPACE}}|Category|=|#default=nc}}}})|#default = {{#switch:{{lc:{{{2|}}}}}|amateur = (1-10)|recruit = (11-20)|initiate = (21-30)|novice = (31-40)|apprentice = (41-50)|journeyman = (51-60)|craftsman = (61-70)|artisan = (71-80)|adept = (81-90)|veteran = (91-100)|expert = (101-110)|#default = {{#if:{{#ifexpr:{{{2|}}}<0|1}}|{{ht|Synthesis skill level|{{{2}}}}}|({{ht|Synthesis skill level|{{#expr:{{{2}}}}}}}}}}}{{#if:{{#ifeq:{{lc:{{{3|}}}}}|verification|1}}{{#iferror:{{#expr:{{{2|}}}<0}}|1|{{#ifexpr:{{{2|}}}<0|1}}}}|{{verification|{{#switch:{{NAMESPACE}}|Category|=|#default=nc}}}}}}}}}} | {{#if:{{{1|}}}|[[:Category:{{{1}}}|{{{1}}}]] {{#switch:{{{2|}}}|?|??|???|(?)|(??)|(???)|{{Information Needed}}| = ({{Information Needed|{{#switch:{{NAMESPACE}}|Category|=|#default=nc}}}})|#default = {{#switch:{{lc:{{{2|}}}}}|amateur = (1-10)|recruit = (11-20)|initiate = (21-30)|novice = (31-40)|apprentice = (41-50)|journeyman = (51-60)|craftsman = (61-70)|artisan = (71-80)|adept = (81-90)|veteran = (91-100)|expert = (101-110)|#default = {{#if:{{#ifexpr:{{{2|}}}<0|1}}|{{ht|Synthesis skill level|{{{2}}}}}|({{ht|Synthesis skill level|{{#expr:{{{2}}}}}}}}}}}{{#if:{{#ifeq:{{lc:{{{3|}}}}}|verification|1}}{{#iferror:{{#expr:{{{2|}}}<0}}|1|{{#ifexpr:{{{2|}}}<0|1}}}}|{{verification|{{#switch:{{NAMESPACE}}|Category|=|#default=nc}}}}}}}}}}<noinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
==Usage== | ==Usage== |
Revision as of 15:36, 2 February 2023
Usage
{{Craft|<craft>|<skill level>}}
Examples
Code | Result |
---|---|
{{Craft|Cooking|??}} |
Cooking () |
{{Craft|Alchemy|36}} |
Alchemy (36 |
{{Craft|Leatherworking|Novice}} |
Leatherworking (31-40) |
{{Craft|Goldsmithing|(100)}} |
Goldsmithing (100 |
{{Craft|Smithing|(10-12)}} |
Smithing (10-12) |
{{Craft|Bonecraft|(41+)}} |
Bonecraft (41+) |
{{Craft|Woodworking|(10?)}} |
Woodworking (10?) |
{{Craft|Clothcraft|70|verification}} |
Clothcraft (70 |
{{Craft|Leathercraft|90}}, ''{{Craft|Clothcraft|64}}'' |
Leathercraft (90, Clothcraft (64 |