Content added Content deleted
m (ChaoticShadow moved page Template:Item Icon to Template:Item icon without leaving a redirect) |
m (ChaoticShadow moved page Template:Item icon to Template:Item thumbnail) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Item |
<includeonly>{{#invoke:Item thumbnail|main}}</includeonly><!-- |
||
--><noinclude>{{documentation}}</noinclude> |
--><noinclude>{{documentation}}</noinclude> |
Latest revision as of 02:09, 12 July 2022
This template uses Lua: |
This template uses TemplateStyles: |
This template uses the following Cargo tables: |
Parameters[edit source]
Displays the thumbnail of an item with the count in the bottom right hand corner.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | item | The name of the item.
| String | suggested |
Count | count | The count associated with this thumbnail. Use "1" to not show anything.
| Number | suggested |
Image | image | The image used for the thumbnail. Automatically set if there is a valid item.
| String | optional |
Page link | link | The page this thumbnail links to. Automatically set if there is a valid item.
| Page name | optional |
Thumbnail size | size | The size of the thumbnail. The default size is "80px".
| String | optional |
Quick copy[edit source]
{{Item thumbnail |item = |count = |image = |link = |size = }}
Examples[edit source]
{{Item thumbnail|item=Crystal|count=100}} {{Item thumbnail|item=Cool piece|count=1000}} {{Item thumbnail|item=Pure crystal of feeling}}
The above documentation is transcluded from Template:Item thumbnail/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |