Actions

Template

Difference between revisions of "Product"

From London's Ghost Acres

 
(21 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Product
 
{{Product
 
|made from=
 
|made from=
|exported to=  
+
|exported to=
 +
|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>
 +
}}
 +
  
==Produced by==
+
{{#ask:[[Produces::{{SUBJECTPAGENAME}}]]
{{#ask:[[Produces::{{SUBJECTPAGENAME}}]]|format=list}}
+
| format=ul
 +
| columns=1
 +
|intro=<h2>Industries</h2>
 +
}}
 +
 
 +
 
 +
{{#if:{{{has commodity id|}}} |
 +
==ID in Database==
 +
[[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.