Actions

Template

Difference between revisions of "Factory"

From London's Ghost Acres

Line 17: Line 17:
 
<includeonly>
 
<includeonly>
 
{{#if:{{{has description|}}} | {{{has description}}} }}
 
{{#if:{{{has description|}}} | {{{has description}}} }}
 +
  
 
{{#if:{{{started_operation|}}} |
 
{{#if:{{{started_operation|}}} |
Line 22: Line 23:
 
[[Started operation::{{{started_operation|}}}]] {{#if:{{{ended_operation|}}} |to [[Ended operation::{{{ended_operation|}}}]] }}
 
[[Started operation::{{{started_operation|}}}]] {{#if:{{{ended_operation|}}} |to [[Ended operation::{{{ended_operation|}}}]] }}
 
}}
 
}}
 +
  
 
{{#if:{{{has_coordinates|}}} |
 
{{#if:{{{has_coordinates|}}} |
Line 34: Line 36:
 
[[Is in::{{{is_in|}}}]]
 
[[Is in::{{{is_in|}}}]]
 
}}
 
}}
 +
  
 
{{#if:{{{produced|}}} |
 
{{#if:{{{produced|}}} |
Line 39: Line 42:
 
{{#arraymap:{{{produced|}}}|,|x|[[Produces::x]]}}
 
{{#arraymap:{{{produced|}}}|,|x|[[Produces::x]]}}
 
}}
 
}}
 +
  
 
{{#if:{{{raw_material|}}}  
 
{{#if:{{{raw_material|}}}  

Revision as of 11:52, 10 May 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.