Changes

Jump to navigation Jump to search

Template:ItemBox

177 bytes added, 9 May
Added optional examine support to Template:ItemBox. This allows item pages to place the in-game examine text directly inside the item box instead of mixing it into the main Description section. This keeps the roleplay/flavor examine text separate from the wiki’s practical description of what the item is used for. Also updated the template documentation/example to include the new |examine= parameter, so future editors know how to use it.
}}
|-
{{#if:{{{examine|}}}|
! class="infobox-header-row" {{!}} Examine
{{!}}-
{{!}} ''{{{examine}}}''
{{!}}-
}}
! class="infobox-header-row" | Creation
|-
General item template -- THIS TEMPLATE USES TOTAL ITEMS REQUIRED, NOT ADDITIONAL.
The template adds a box with an image of the item , examine text, and the steps to create the item.
If the ''creation'' parameter is set the box will display its contents instead of the creation steps.
|name=Hammer *** defaults to {{PAGENAME}} ***
|image=hammer.jpg *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|examine=A hammer with a metal head, and a wooden shaft.
|active=[[hammer head]] (0.4 kg)
|passive=[[shaft]] (1.0 kg)
editor
131

edits

Navigation menu