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> | ||
− | |||
− | |||
[[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>.
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 |