Difference between revisions of "Template:Laboratory"
From A Wiki in the Desert
| Line 7: | Line 7: | ||
{{ #if:{{{location|}}} | | {{ #if:{{{location|}}} | | ||
{{#invoke:Infobox|stacked|Location|{{{location|}}} }} | {{#invoke:Infobox|stacked|Location|{{{location|}}} }} | ||
| + | }} | ||
| + | {{#invoke:Infobox|stacked|Level|{{{level|1}}} }} | ||
}} | }} | ||
{{#invoke:Infobox|stacked|Last Updated|{{#ask: [[{{FULLPAGENAME}}]] |?Modification date#LOCL#TO=|mainlabel=-}} }} | {{#invoke:Infobox|stacked|Last Updated|{{#ask: [[{{FULLPAGENAME}}]] |?Modification date#LOCL#TO=|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/|}}}}{{#set: Has level={{{level|1}}}}} |
[[Category:Laboratories]]</includeonly><noinclude> | [[Category:Laboratories]]</includeonly><noinclude> | ||
[[Category:Content templates]] | [[Category:Content templates]] | ||
Revision as of 16:06, 26 June 2021
This template defines a laboratory built in the world. Should be on a page named Laboratory/<Number>.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | A descriptive name of the lab
| String | required |
| Location | location | This should be defined with the location template
| Template | suggested |