Template:Infobox resource: Difference between revisions

From Workers & Resources: Soviet Republic Official Wiki
No edit summary
(Undo revision 5898 by 76561198107421680 (talk))
Tag: Undo
 
Line 1: Line 1:
<infobox type="abcdefgh">
<infobox type="item">
<title source="name">
<title source="name">
<default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>

Latest revision as of 06:56, 15 June 2024

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

Infobox template for Resources in game.

Usage

Place the following at the top of the article, below any page management templates:

{{Infobox resource
<!-- insert parameters -->
}}

Parameters

Specific parameters

Neutral
type
Type of this resource.
Neutral
produced
Location where is this resouce produced at.
Neutral
requires
Resource required to produce this resource.
Neutral
storage
The type of storage this resource requires.
Neutral
transport
The type of transport this resource requires.
Neutral
use
It's uses in-game.
Neutral
research
Researches related to this resource.

General infobox parameters

Neutral
image up to image5
File name of image(s) (without "File:") to be displayed below main header and above main infobox content.
Neutral
caption
Description for image, displayed below the image.
Neutral
name
Main title/"headline" of the infobox. By default, the name of the current page without any disambiguation suffixes (i.e. terms in brackets at the end) is used.

Example

{{Infobox resource
|name      =Boards
|image     =boards.png
|type      =Construction material
|produced  =[[Sawmill]]
|requires  =[[Wood]]
|storage   =Open storage
|transport =Open hull
|use       =Construction<br>Trading
|research  =None
}}

Copy/paste

{{Infobox resource
|name      =
|image     =
|type      =
|produced  =
|requires  =
|storage   =
|transport =
|use       =
|research  =
}}
Documentation transcluded from Template:Infobox resource/doc.