Difference between revisions of "Product"
From London's Ghost Acres
(17 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|made from= | |made from= | ||
|exported to= | |exported to= | ||
− | |has_commodity_id= | + | |has_commodity_id= |
+ | |has description= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
+ | {{#if:{{{has description|}}} | {{{has description}}} }} | ||
+ | |||
+ | |||
+ | {{#if:{{{exported to|}}} | | ||
==Exported to== | ==Exported to== | ||
− | {{#arraymap:{{{exported to|}}}|,|x|[[Exported to::x]]}} | + | <ul> |
+ | <li> | ||
+ | {{#arraymap:{{{exported to|}}}|,|x|[[Exported to::x]]|<li>}} | ||
+ | </ul> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{made from|}}} | | ||
==Made from== | ==Made from== | ||
− | {{#arraymap:{{{made from|}}}|,|x|[[Made from::x]]}} | + | <ul> |
+ | <li> | ||
+ | {{#arraymap:{{{made from|}}}|,|x|[[Made from::x]]|<li>}} | ||
+ | </ul> | ||
+ | }} | ||
+ | |||
− | |||
{{#ask:[[Produces::{{SUBJECTPAGENAME}}]] | {{#ask:[[Produces::{{SUBJECTPAGENAME}}]] | ||
| format=ul | | format=ul | ||
− | | columns= | + | | columns=1 |
+ | |intro=<h2>Industries</h2> | ||
}} | }} | ||
+ | |||
+ | {{#if:{{{has commodity id|}}} | | ||
==ID in Database== | ==ID in Database== | ||
− | {{{has_commodity_id}}} | + | [[Has commodity id::{{{has_commodity_id}}}]] |
+ | }} | ||
[[Category:products]] | [[Category:products]] | ||
</includeonly> | </includeonly> |
Latest revision as of 14:47, 10 May 2016
This is the "Product" template. It should be called in the following format:
{{Product |made from= |exported to= |has_commodity_id= |has description= }}
Edit the page to see the template text.