The Wiki for Tale 8 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:Item"

From A Wiki in the Desert
Jump to navigation Jump to search
m (Changed ibclass so it'll be easier to recolor this infobox later)
m (Renaming "Resource" to "Item")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
| ibclass = ib-resource
+
| ibclass = ib-item
 
| ibname  = {{{name|{{PAGENAME}}}}}
 
| ibname  = {{{name|{{PAGENAME}}}}}
| ibtype  = Resource
+
| ibtype  = Item
 
| image  = {{#if: {{{image|}}} | {{{image|}}} }}
 
| image  = {{#if: {{{image|}}} | {{{image|}}} }}
  
Line 15: Line 15:
 
}}
 
}}
  
[[Category:Resources]]</includeonly><noinclude>
+
[[Category:Items]]
 +
{{#if: {{{image|}}} || [[Category:Items missing images|{{PAGENAME}}]]}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
[[Category:Infoboxes|Resource]]
+
[[Category:Infoboxes|Item]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:31, 30 November 2018

Template documentation (for the above template, sometimes hidden or invisible)

{{Item}} is for use in any article about an in-game "item". All parameters are optional and can be left blank, though it is preferred to include as many as possible; if undefined, these optional parameters will not appear as part of the template. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.


Template

{{Item
| name   = 
| image  = 
| weight = 
| bulk   = 
}}

Usage

name
The name of the item.
image (optional)
File name of an image for the item. Should generally be a clean screenshot of the item as it appears when dropped on the ground from a character's inventory. The recommended size is 250px but, if larger, the image should scale to fit the template.
weight (optional)
The weight of one unit of the item when held in a character's inventory.
bulk (optional)
The bulk of one unit of the item when held in a character's inventory.

Example

Bricks
Bricks
(Item)
Weight 1
Bulk 1


{{Item
| name   = Bricks
| image  = Bricks.png
| weight = 1
| bulk   = 1
}}

Visit Template:Item/doc to edit this text! (How does this work?)