A Wiki in the Desert
Log in

Difference between revisions of "Template:Laboratory"

From A Wiki in the Desert
Line 8: Line 8:
 
{{#invoke:Infobox|stacked|Location|{{{location|}}} }}
 
{{#invoke:Infobox|stacked|Location|{{{location|}}} }}
 
}}
 
}}
{{#invoke:Infobox|stacked|Last Updated|{{Modification date}} }}
+
{{#invoke:Infobox|stacked|Last Updated|{{#ask: [[{{FULLPAGENAME}}]] |?Modification date#=|mainlabel=-}} }}
 
}}
 
}}
 
{{#set: Has location={{{location}}}}}{{#set: Has name={{{name|{{FULLPAGENAME}}}}}}}{{#set: Has house={{{house}}}}}{{#set: Has number={{#replace:{{FULLPAGENAME}}|Laboratory/|}}}}
 
{{#set: Has location={{{location}}}}}{{#set: Has name={{{name|{{FULLPAGENAME}}}}}}}{{#set: Has house={{{house}}}}}{{#set: Has number={{#replace:{{FULLPAGENAME}}|Laboratory/|}}}}

Revision as of 01:53, 11 June 2021

This template defines a laboratory built in the world. Should be on a page named Laboratory/<Number>.

Template parameters

ParameterDescriptionTypeStatus
Namename

A descriptive name of the lab

Example
Amigos 1
Stringrequired
Locationlocation

This should be defined with the location template

Example
{{Location | 1000 | -2000}}
Templatesuggested