A Wiki in the Desert
Log in

Difference between revisions of "Template:Item/doc"

From A Wiki in the Desert
m (Brad moved page Template:Resource/doc to Template:Item/doc: Renaming "Resource" template to "Item" - I'm indecisive)
m (Changed "Resource" to "Item")
 
Line 1: Line 1:
'''{{tl|Resource}}''' is for use in any article about an in-game "resource". 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.
+
'''{{tl|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.
  
 
__TOC__
 
__TOC__
Line 5: Line 5:
 
== Template ==
 
== Template ==
 
<pre><nowiki>
 
<pre><nowiki>
{{Resource
+
{{Item
 
| name  =  
 
| name  =  
 
| image  =  
 
| image  =  
Line 15: Line 15:
 
== Usage ==
 
== Usage ==
  
; name : The name of the resource.
+
; name : The name of the item.
  
; image ''(optional)'' : File name of an image for the resource. Should generally be a clean screenshot of the resource 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.
+
; 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 resource when held in a character's inventory.
+
; 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 resource 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 ==
 
== Example ==
  
 
{{Infobox
 
{{Infobox
| ibclass = ib-resource
+
| ibclass = ib-item
 
| ibname  = Bricks
 
| ibname  = Bricks
| ibtype  = Resource
+
| ibtype  = Item
 
| image  = Bricks.png
 
| image  = Bricks.png
  
Line 36: Line 36:
 
}}
 
}}
  
<pre>{{Resource
+
<pre>{{Item
 
| name  = Bricks
 
| name  = Bricks
 
| image  = Bricks.png
 
| image  = Bricks.png

Latest revision as of 07:31, 30 November 2018

{{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
}}