Difference between revisions of "Template:TreeGroup"
From A Wiki in the Desert
(Created page with "<includeonly>{{Skill |name={{trim|{{{name}}}}} |wood={{trim|{{{wood}}}}} |rarity={{trim|{{{rarity}}}}} |icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}} }}{{#set: Is g...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{Tree |
|name={{trim|{{{name}}}}} | |name={{trim|{{{name}}}}} | ||
|wood={{trim|{{{wood}}}}} | |wood={{trim|{{{wood}}}}} | ||
|rarity={{trim|{{{rarity}}}}} | |rarity={{trim|{{{rarity}}}}} | ||
− | |icon={{#if: {{{icon|}}} | {{trim|{{{icon|}}}}}}} | + | |icon={{#if: [[File:{{{icon|}}}|{{{width|}}}]] | [[File:{{trim|{{{icon|}}}}}|{{trim|{{{width|}}}}}]]}} |
}}{{#set: Is grouping=True}}{{#set: Is wood={{#if: {{{wood|}}}|{{{wood}}}|false}}}}</includeonly> | }}{{#set: Is grouping=True}}{{#set: Is wood={{#if: {{{wood|}}}|{{{wood}}}|false}}}}</includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 16:13, 18 February 2023
This template adds a skill infobox to the page and marks it as a group semantically.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the tree
| String | required |
Wood | wood | The volume of wood the tree produces
| String | required |
Rarity | rarity | How rare the tree is
| String | suggested |
Icon | icon | The icon to show on the infobox
| String | suggested |