Template:ProductionChainTable/doc: Difference between revisions

Template page
imported>76561198045853337
(create documentation)
 
imported>76561198045853337
No edit summary
Line 11: Line 11:
</pre>
</pre>
{{ProductionChainTable|ItemName=Hydrogen}}
{{ProductionChainTable|ItemName=Hydrogen}}
;Table Header
The table headers is rendered by the {{t|ProductionChainTable/head}} template:
<pre>
{{ProductionChainTable/head}}
|}
</pre>
{{ProductionChainTable/head}}
|}


<includeonly>[[Category:Template]]</includeonly>
<includeonly>[[Category:Template]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:34, 14 February 2021

Description
This template automatically generates a table listing production chains for the specified item. The production chains are stored as subpages of the {{ProductionChain}} template (examples: Template:ProductionChain/Energetic Graphite, Template:ProductionChain/Energetic Graphite 2). Currently, this template supports fetching up to 6 production chains for the specified item.
Syntax
{{ProductionChainTable|<ItemName>}}
This will build a production chain table for the item specified by the ItemName parameter.
{{ProductionChainTable}}
Without any parameters, the template will use the name of the current page.
Example
{{ProductionChainTable|ItemName=Hydrogen}}
Recipe Building Replicator? Technology
Table Header

The table headers is rendered by the {{ProductionChainTable/head}} template:

{{ProductionChainTable/head}}
|}
Recipe Building Replicator? Technology
🍪 We use cookies to keep session information to provide you a better experience.