Editing Template:Item/doc
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 10: | Line 10: | ||
This template has 2 unnamed parameters: | This template has 2 unnamed parameters: | ||
* {{F|1}} / {{F|name}} – Name of the item. | * {{F|1}} / {{F|name}} – Name of the item. | ||
* {{F|2}} / {{F|size}} – Size of the icon | * {{F|2}} / {{F|size}} – Size of the icon. Default: {{F|30}}. | ||
* {{F|x}} / {{F|count}} – Quantity of the item. | * {{F|x}} / {{F|count}} – Quantity of the item. Part of the text. | ||
* {{F|type}} – Special keyword to adjust the file's suffix and prefix. | * {{F|type}} – Special keyword to adjust the file's suffix and prefix. | ||
* {{F|link}} – Set another page to be linked. | * {{F|link}} – Set another page to be linked. | ||
* {{F|text}} – Display another text instead of the name of the item. | * {{F|text}} – Display another text instead of the name of the item. | ||
* {{F|no_text}} – Set to {{F|1}} to omit the complete text. | * {{F|no_text}} – Set to {{F|1}} to omit the complete text. The icon will no longer behave like an inline-block. | ||
* {{F|note}} – Append a note after the item text and count. | * {{F|note}} – Append a note after the item text and count. | ||
* {{F|ref}} – Append a reference to the item text. | * {{F|ref}} – Append a reference to the item text. | ||
| Line 30: | Line 26: | ||
{{Example|no_copy=1|<nowiki>{{Item}}</nowiki>}} | {{Example|no_copy=1|<nowiki>{{Item}}</nowiki>}} | ||
{{Example|no_copy=1|<nowiki>{{Item|Kabuto Beetle}}</nowiki>}} | {{Example|no_copy=1|<nowiki>{{Item|Kabuto Beetle}}</nowiki>}} | ||
{{Example|no_copy=1|<nowiki>{{Item|Kabuto Beetle|size= | {{Example|no_copy=1|<nowiki>{{Item|Kabuto Beetle|size=40}}</nowiki>}} | ||
{{Example|no_copy=1|<nowiki>{{Item|Kabuto Beetle|link=Insect|text=Custom text}}</nowiki>}} | {{Example|no_copy=1|<nowiki>{{Item|Kabuto Beetle|link=Insect|text=Custom text}}</nowiki>}} | ||
{{Example|no_copy=1|<nowiki>{{Item|Dough|x=15|no_text=1}}</nowiki>}} | {{Example|no_copy=1|<nowiki>{{Item|Dough|x=15|no_text=1}}</nowiki>}} | ||
{{Example|no_copy=1|<nowiki>{{Item|Elsasani}}</nowiki>}} | |||
{{Example|no_copy=1|<nowiki>{{Item|Hexia|note=Galaxy}}</nowiki>}} | {{Example|no_copy=1|<nowiki>{{Item|Hexia|note=Galaxy}}</nowiki>}} | ||
==Template Data== | ==Template Data== | ||
| Line 55: | Line 51: | ||
], | ], | ||
"label": "Size", | "label": "Size", | ||
"description": "Size of the icon | "description": "Size of the icon.", | ||
"example": "20, 40", | "example": "20, 40", | ||
"type": "number", | "type": "number", | ||
| Line 120: | Line 116: | ||
"example": "1", | "example": "1", | ||
"type": "boolean" | "type": "boolean" | ||
} | } | ||
}, | }, | ||
| Line 137: | Line 127: | ||
"link", | "link", | ||
"no_text", | "no_text", | ||
"note", | "note", | ||
"ref", | "ref", | ||