Actions

Template

Difference between revisions of "Factory"

From London's Ghost Acres

 
(13 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
|produced=
 
|produced=
 
|raw_material=
 
|raw_material=
 +
|has description=
 
}}
 
}}
 
</pre>
 
</pre>
Line 15: Line 16:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 +
{{#if:{{{has description|}}} | {{{has description}}} }}
  
 +
 +
{{#if:{{{started_operation|}}} |
 
==Operation==
 
==Operation==
[[Started operation::{{{started_operation|}}}]] - [[Ended operation::{{{ended_operation|}}}]]  
+
[[Started operation::{{{started_operation|}}}]] {{#if:{{{ended_operation|}}} |to [[Ended operation::{{{ended_operation|}}}]] }}
 +
}}
  
 +
 +
{{#if:{{{has_coordinates|}}} |
 
==Location==
 
==Location==
 
{{#display_map: {{{has_coordinates}}}|zoom=12|height=300px
 
{{#display_map: {{{has_coordinates}}}|zoom=12|height=300px
 
  |width=400px}}
 
  |width=400px}}
 +
}}
  
 +
 +
{{#if:{{{is_in|}}} |
 
==Located in==
 
==Located in==
 
[[Is in::{{{is_in|}}}]]
 
[[Is in::{{{is_in|}}}]]
 +
}}
 +
  
 +
{{#if:{{{produced|}}} |
 
==Produced==
 
==Produced==
 
{{#arraymap:{{{produced|}}}|,|x|[[Produces::x]]}}
 
{{#arraymap:{{{produced|}}}|,|x|[[Produces::x]]}}
 +
}}
  
 +
 +
{{#if:{{{raw_material|}}} |
 
==Used Raw Materials==
 
==Used Raw Materials==
 
{{#arraymap:{{{raw_material|}}}|,|x|[[Used material::x]]}}
 
{{#arraymap:{{{raw_material|}}}|,|x|[[Used material::x]]}}
 
{{#ask:
 
[[Category:Company]]
 
|?was_owned_by = Owner
 
|?from_date = From
 
|?to_date = To
 
 
}}
 
}}
 +
  
 
[[Category:factories]]
 
[[Category:factories]]
 
</includeonly>
 
</includeonly>

Latest revision as of 10:31, 26 October 2016

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

{{factory
|started_operation=
|ended_operation=
|has_coordinates=
|is_in=
|produced=
|raw_material=
|has description= 
}}

Edit the page to see the template text.