Difference between revisions of "Template:Trading Value Table/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Added limitations and links to examples)
(Updated to reflect recent changes. Added examples.)
Line 1: Line 1:
 +
=== Related Template ===
 +
This template is dependant on [[Template:Trading Value Table Row]].
 +
 
=== Description ===
 
=== Description ===
 
This template adds a full table of all items, buildings etc. that require a specific material. It is meant for everything in [[Template:Nav/materials]] but can be used for pretty much anything.
 
This template adds a full table of all items, buildings etc. that require a specific material. It is meant for everything in [[Template:Nav/materials]] but can be used for pretty much anything.
Line 6: Line 9:
 
  <nowiki>{{Trading Value Table}}</nowiki>
 
  <nowiki>{{Trading Value Table}}</nowiki>
  
=== Limitations ===
+
If you specify the material you can put the table on any page you want:
The template can only be used on pages were the PAGENAME or SUBPAGENAME matches the name of the material in question.
+
 
 +
<nowiki>{{Trading Value Table | Uranium}}</nowiki>
 +
 
 +
== Examples ==
 +
 
 +
=== Stony ===
 +
Example for a stone.
 +
<nowiki>{{Trading Value Table | Granite Blocks}}</nowiki>
 +
 
 +
=== Metallic ===
 +
Example for a metal.
 +
<nowiki>{{Trading Value Table | Steel}}</nowiki>
 +
 
 +
=== Small Volume ===
 +
Example for a small volume material.
 +
<nowiki>{{Trading Value Table | Silver}}</nowiki>
 +
 
 +
=== Woody ===
 +
Example for wood.
 +
<nowiki>{{Trading Value Table | Wood}}</nowiki>
 +
 
 +
=== Leathery ===
 +
Example for a leather.
 +
<nowiki>{{Trading Value Table | Bluefur}}</nowiki>
  
=== Example ===
+
=== Fabric ===
To see the template in action see [[User:Ickputzdirwech/Steel]], [[User:Ickputzdirwech/Wood]] or [[User:Ickputzdirwech/Component]].
+
Example for a fabric.
 +
<nowiki>{{Trading Value Table | Cloth}}</nowiki>
  
=== Related Template ===
+
=== Other ===
This template is dependant on [[Template:Trading Value Table Row]].
+
Example for a any other item.
 +
<nowiki>{{Trading Value Table | Component}}</nowiki>

Revision as of 19:30, 21 September 2021

Related Template

This template is dependant on Template:Trading Value Table Row.

Description

This template adds a full table of all items, buildings etc. that require a specific material. It is meant for everything in Template:Nav/materials but can be used for pretty much anything.

In order to use the template add the following line to the page of the material:

{{Trading Value Table}}

If you specify the material you can put the table on any page you want:

{{Trading Value Table | Uranium}}

Examples

Stony

Example for a stone. {{Trading Value Table | Granite Blocks}}

Metallic

Example for a metal. {{Trading Value Table | Steel}}

Small Volume

Example for a small volume material. {{Trading Value Table | Silver}}

Woody

Example for wood. {{Trading Value Table | Wood}}

Leathery

Example for a leather. {{Trading Value Table | Bluefur}}

Fabric

Example for a fabric. {{Trading Value Table | Cloth}}

Other

Example for a any other item. {{Trading Value Table | Component}}