A Wiki in the Desert
Log in

Difference between revisions of "Template:Laboratory"

From A Wiki in the Desert
(Added includeonly/noinclude blocks and /doc page)
(Reformatted infobox a bit to display name and number (in theory?))
Line 1: Line 1:
<includeonly>{{Building|name=Laboratory|location=[[requires::Medium Construction Site]]}}
+
<includeonly>{{Infobox
 +
| ibclass = ib-building
 +
| ibname  = {{{name|{{FULLPAGENAME}}}}}
 +
| ibtype  = {{FULLPAGENAME}}
 +
| image  = {{#if: {{{image|}}} | {{{image|}}} }}
 +
 
 +
| content =
 +
{{ #if:{{{location|}}} |
 +
{{#invoke:Infobox|stacked|Location|[[requires::Medium Construction Site]]}}
 +
}}
 +
}}
 
{{#set: Has location={{{location}}}}}{{#set: Has name={{{name|{{FULLPAGENAME}}}}}}}{{#set: Has house={{{house}}}}}
 
{{#set: Has location={{{location}}}}}{{#set: Has name={{{name|{{FULLPAGENAME}}}}}}}{{#set: Has house={{{house}}}}}
 
[[Category:Laboratories]]</includeonly><noinclude>
 
[[Category:Laboratories]]</includeonly><noinclude>

Revision as of 04:33, 31 May 2021

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:Laboratory/doc to edit this text! (How does this work?)