Actions

Template

Difference between revisions of "Industry"

From London's Ghost Acres

(Created page with "<noinclude> This is the "industry" template. It should be called in the following format: <pre> {{industry |produces= }} </pre> Edit the page to see the template text. </noinc...")
 
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{industry
 
{{industry
 
|produces=
 
|produces=
 +
|raw material=
 +
|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:{{{produces|}}} |
 
==Products==
 
==Products==
[[Produces::{{{produces|}}}]]  
+
{{#arraymap:{{{produces|}}}|,|x|[[Produces::x]]}}
 +
}}
 +
 
 +
 
 +
{{#if:{{{raw material|}}} |
 +
==Raw Materials==
 +
{{#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.