Difference between revisions of "Template:Item"

From Foundation - Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#invoke:Icon|requirements|resource={{{1|{{{resource|}}}}}}|value={{{2|{{{value|}}}}}}|link={{{3|{{{link|{{{resource|}}}}}}}}}|{{{text|{{{4|yes}}}}}}}}</includeo...")
 
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]]</noinclude>
<includeonly>{{#invoke:Icon|requirements|resource={{{1|{{{resource|}}}}}}|value={{{2|{{{value|}}}}}}|link={{{3|{{{link|{{{resource|}}}}}}}}}|{{{text|{{{4|yes}}}}}}}}</includeonly><noinclude>[[Category:Templates]]<templatedata>
{
"params": {
"resource": {
"label": "Resource",
"description": "The name of the resource to be displayed. ",
"type": "string",
"required": true
},
"value": {
"label": "Value",
"description": "The quantity if required to be displayed",
"type": "number"
},
"link": {
"label": "Link",
"description": "The name of the article the text links to. ",
"type": "string",
"default": "Each resource defaults to its own page."
},
"text": {
"label": "Show Link",
"description": "Whether or not the page link is displayed",
"type": "boolean",
"default": "Yes"
}
}
}
</templatedata></noinclude>

Revision as of 04:14, 5 October 2021

No description.

Template parameters

ParameterDescriptionTypeStatus
Resourceresource

The name of the resource to be displayed.

Stringrequired
Valuevalue

The quantity if required to be displayed

Numberoptional
Linklink

The name of the article the text links to.

Default
Each resource defaults to its own page.
Stringoptional
Show Linktext

Whether or not the page link is displayed

Default
Yes
Booleanoptional