A Wiki in the Desert
Log in

Difference between revisions of "Template:Item/doc"

From A Wiki in the Desert
(Creating documentation for the Resource template)
 
m (Updated css class for example)
Line 26: Line 26:
  
 
{{Infobox
 
{{Infobox
| ibclass = infobox
+
| ibclass = ib-resource
 
| ibname  = Bricks
 
| ibname  = Bricks
 
| ibtype  = Resource
 
| ibtype  = Resource

Revision as of 13:33, 21 November 2018

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

Template

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

Usage

name
The name of the resource.
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.
weight (optional)
The weight of one unit of the resource when held in a character's inventory.
bulk (optional)
The bulk of one unit of the resource when held in a character's inventory.

Example

Bricks
Bricks
(Resource)
Weight 1
Bulk 1


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