Actions

Template

Difference between revisions of "Factory"

From London's Ghost Acres

(Location)
 
(24 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
|produced=
 
|produced=
 
|raw_material=
 
|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>
==Started Operation==
+
<includeonly>
[[Started operation::{{{started_operation|}}}]]
+
{{#if:{{{has description|}}} | {{{has description}}} }}
  
==Ended Operation==
 
[[Ended operation::{{{ended_operation|}}}]]
 
  
 +
{{#if:{{{started_operation|}}} |
 +
==Operation==
 +
[[Started operation::{{{started_operation|}}}]] {{#if:{{{ended_operation|}}} |to [[Ended operation::{{{ended_operation|}}}]] }}
 +
}}
 +
 +
 +
{{#if:{{{has_coordinates|}}} |
 
==Location==
 
==Location==
{{#display_map: {{{polygons=-0.187275222327937,51.466230819131709:-0.188285111722876,51.467181483080559:-0.188017907411171,51.46729155886343:-0.187744350833195,51.467465776599184:-0.187407053350843,51.467710386416677:-0.186131215437098,51.466646153810252:-0.186298214010453,51.466565462928095:-0.186676855569053,51.466430941863088:-0.187275222327937,51.466230819131709
+
{{#display_map: {{{has_coordinates}}}|zoom=12|height=300px
}}}|zoom=12}}
+
|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]]}}
 +
}}
 +
  
 
[[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.