Template:ProductionChainTable/doc: Difference between revisions

Template page
imported>76561198045853337
(create documentation)
 
imported>76561198045853337
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
;Description
;Description
:This template automatically generates a table listing production chains for the specified item. The production chains are stored as subpages of the <code>{{t|ProductionChain}}</code> 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.
:This template automatically generates a table listing production chains for the specified item. The production chains are stored as subpages of the <code>{{t|ProductionChain}}</code> template (examples: {{t|ProductionChain/Energetic Graphite}}, {{t|ProductionChain/Energetic Graphite 2}}). Currently, this template supports fetching up to 6 production chains for the specified item.
;Syntax
;Syntax
:<code>{{t|ProductionChainTable|ItemName}}</code>
:<code>{{t|ProductionChainTable|ItemName}}</code>
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>

Latest revision as of 09:35, 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: {{ProductionChain/Energetic Graphite}}, {{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.