A Wiki in the Desert
Log in

Difference between revisions of "Template:Laboratory"

From A Wiki in the Desert
m (Added lab image)
Line 7: Line 7:
 
{{#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>
{{Documentation}}
 
[[Category:Laboratories]]
 
 
[[Category:Content templates]]
 
[[Category:Content templates]]
</noinclude>
+
<templatedata>
 +
{
 +
"params": {
 +
"name": {
 +
"label": "Name",
 +
"description": "A descriptive name of the lab",
 +
"example": "Amigos 1",
 +
"type": "string",
 +
"required": true
 +
},
 +
"location": {
 +
"label": "Location",
 +
"description": "This should be defined with the location template",
 +
"example": "{{Location | 1000 | -2000}}",
 +
"type": "wiki-template-name",
 +
"suggested": true
 +
}
 +
},
 +
"description": "This template defines a laboratory built in the world. Should be on a page named Laboratory/<Number>."
 +
}
 +
</templatedata></noinclude>

Revision as of 17:27, 31 May 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