Template:Item/doc: Difference between revisions
No edit summary |
Updated |
||
| 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. Default: {{F|30}}. | * {{F|2}} / {{F|size}} – Size of the icon {{Color|Old|excluding}} the length unit. Default: {{F|30}}. | ||
* {{F|x}} / {{F|count}} – Quantity of the item. | * {{F|x}} / {{F|count}} – Quantity of the item. | ||
* {{F|type}} – Special keyword to adjust the file's suffix and prefix. | * {{F|type}} – Special keyword to adjust the file's suffix and prefix. | ||
| Line 26: | 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=64}}</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>}} | ||
| Line 51: | Line 51: | ||
], | ], | ||
"label": "Size", | "label": "Size", | ||
"description": "Size of the icon.", | "description": "Size of the icon excluding the length unit.", | ||
"example": "20, 40", | "example": "20, 40", | ||
"type": "number", | "type": "number", | ||