Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Icon|requirements|resource={{{1|{{{resource|}}}}}}|value={{{2|{{{value|}}}}}}|link={{{3|{{{link|{{{resource|}}}}}}}}}|{{{text|{{{4|yes}}}}}}}}</includeonly><noinclude>[[Category:Templates]]<templatedata> | <includeonly>{{#invoke:Icon|requirements|resource={{{1|{{{resource|}}}}}}|value={{{2|{{{value|}}}}}}|link={{{3|{{{link|{{{resource|}}}}}}}}}|{{{text|{{{4|yes}}}}}}|lang = {{{lang|}}}}}</includeonly><noinclude>[[Category:Templates]]<templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
Line 24: | Line 24: | ||
"type": "boolean", | "type": "boolean", | ||
"default": "Yes" | "default": "Yes" | ||
}, | |||
"lang": { | |||
"label": "Language", | |||
"description": "What language should be used with the icon, use international language short codes.", | |||
"type": "string", | |||
"default": "en" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata>{{#invoke:Icon|documentation}}</noinclude> |
Latest revision as of 17:45, 23 February 2022
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Resource | resource | The name of the resource to be displayed. | String | required |
Value | value | The quantity if required to be displayed | Number | optional |
Link | link | The name of the article the text links to.
| String | optional |
Show Link | text | Whether or not the page link is displayed
| Boolean | optional |
Language | lang | What language should be used with the icon, use international language short codes.
| String | optional |