Difference between revisions of "Factory"
From London's Ghost Acres
(30 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> |
− | + | <includeonly> | |
− | + | {{#if:{{{has description|}}} | {{{has description}}} }} | |
− | |||
− | |||
+ | {{#if:{{{started_operation|}}} | | ||
+ | ==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 | |
+ | |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.