Difference between revisions of "Template:ShowTier"
Line 9: | Line 9: | ||
}} | }} | ||
| Resource = {{#switch: {{#show: {{PAGENAME}} |?ItemSubType#}} | | Resource = {{#switch: {{#show: {{PAGENAME}} |?ItemSubType#}} | ||
− | | Alchemy Resource = [[Nomenclature#Alchemy Resource|H{{#ifeq: {{#show:{{#var: page}} |?BoolCraft}} | true | + | | Alchemy Resource = [[Nomenclature#Alchemy Resource|H{{#ifeq: {{#show: {{#var: page}} |?BoolCraft}} | true |
| C{{#show: {{#var: page}} |?SkillCraftLevel}}]] | | C{{#show: {{#var: page}} |?SkillCraftLevel}}]] | ||
| {{#switch: {{#show: {{#var: page}} |?PerceptionLevel}} | | {{#switch: {{#show: {{#var: page}} |?PerceptionLevel}} | ||
Line 18: | Line 18: | ||
}}]] | }}]] | ||
}} | }} | ||
+ | |||
+ | | #default = [[Nomenclature#Resource|C{{#if: {{#show: {{#var: page}} |?SkillCraftLevel}} | {{#show: {{#var: page}} |?SkillCraftLevel}} | 0}}{{#ifeq: {{#show: {{#var: page}} |?BoolQuest}} | true | | a }}]] | ||
}} | }} | ||
− | |||
| Consumable = {{#switch: {{#show: {{#var: page}} |?ItemSubType#}} | | Consumable = {{#switch: {{#show: {{#var: page}} |?ItemSubType#}} | ||
| Ammunition = [[Nomenclature|CA{{#show: {{PAGENAME}} |?SkillCraftLevel}}]] | | Ammunition = [[Nomenclature|CA{{#show: {{PAGENAME}} |?SkillCraftLevel}}]] |
Revision as of 12:21, 28 August 2018
This template returns a short text displaying the tier of either the current page or a selected source page