Actions

Template

Difference between revisions of "Industry"

From London's Ghost Acres

 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{{has description}}}
+
{{#if:{{{has description|}}} | {{{has description}}} }}
  
 +
 +
{{#if:{{{produces|}}} |
 
==Products==
 
==Products==
 
{{#arraymap:{{{produces|}}}|,|x|[[Produces::x]]}}
 
{{#arraymap:{{{produces|}}}|,|x|[[Produces::x]]}}
 +
}}
  
 +
 +
{{#if:{{{raw material|}}} |
 
==Raw Materials==
 
==Raw Materials==
 
{{#arraymap:{{{raw material|}}}|,|x|[[Made from::x]]}}
 
{{#arraymap:{{{raw material|}}}|,|x|[[Made from::x]]}}
 +
}}
 +
  
 
[[Category:industries]]
 
[[Category:industries]]
 
</includeonly>
 
</includeonly>

Latest revision as of 14:46, 10 May 2016

This is the "industry" template. It should be called in the following format:

{{industry
|produces=
|raw material=
|has description= 
}}

Edit the page to see the template text.