More languages
More actions
Created page with "<includeonly><!-- Template -------- -->{{InfoboxNeue | image = {{{image}}} | title = {{PAGENAME}} | subtitle = Item |}} }}<!-- Category -------- -->Category:Items<!-- -->{{#if:{{{is_vanilla|}}}|Category:Vanilla Items}}<!-- <!-- Short description ----------------- -->{{Short description|{{#if:{{{short_desc|}}}|{{{short_desc|}}}|Item in EmrysSMP}}}}<!-- --></includeonly><!-- Documentation ------------- --><noinclude>Categor..." |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
-------- | -------- | ||
-->{{InfoboxNeue | -->{{InfoboxNeue | ||
| image = {{{image}}} | | image = {{{image|Emryssmp_logo.png}}} | ||
| title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
| subtitle = Item | | subtitle = Item | ||
| | |}}<!-- | ||
}}<!-- | |||
Category | Category | ||
-------- | -------- | ||
-->[[Category:Items]]<!-- | -->[[Category:Items]]<!-- | ||
-->{{#if:{{{is_vanilla|}}}|[[Category:Vanilla Items]]}}<!-- | -->{{#if:{{{is_vanilla|}}}|[[Category:Vanilla Items]]|[[Category:Custom Items]]}}<!-- | ||
<!-- | <!-- | ||
Latest revision as of 20:59, 29 April 2025
=== Usage ===
{{Infobox Item
| image = <!-- File name without namespace prefix -->
| short_desc = <!-- Optional, sets the page's short description-->
| is_vanilla = <!-- 1 if the item is a vanilla item, blank otherwise. -->
}}
Provides the Infobox for an Item. Also automatically sets categories and a short description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | The filename of the image of the item
| File | required |
Short description | short_desc | Sets the short description at the top of the page.
| String | optional |
Is this a vanilla item? | is_vanilla | Leave blank if not
| Unknown | optional |