Template:Structure: Difference between revisions
mNo edit summary |
(Template Data) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| | {{Infobox Wiki | ||
| | |image={{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image size|210px}}}]]}}|image text={{{image text|}}}|header color=#AE0A0A|header text color=white|name={{{name|{{PAGENAME}}}}}}} | ||
| | {{Infobox row|type=subheader|color=#CA0B0B|text color=white|Location}} | ||
| | {{Infobox row|title=City|{{{city|}}}}} | ||
{{Infobox row|title=Planet|{{{planet|}}}}} | |||
| | {{Infobox row|title=System|{{{system|}}}}} | ||
{{Infobox row|title=Region|{{{region|}}}}} | |||
| | {{Infobox row|type=subheader|color=#CA0B0B|text color=white|General Information}} | ||
{{Infobox row|title=Constructed|{{{constructed|}}}}} | |||
| {{{city}}} | {{Infobox row|title=Destroyed|{{{destroyed|}}}}} | ||
| | {{Infobox row|title=Builder|{{{builder|}}}}} | ||
{{Infobox row|title=Purpose|{{{purpose|}}}}} | |||
| {{{planet}}} | {{Infobox row|title=Features|{{{features|}}}}} | ||
| | {{Infobox row|title=Primary Construction Materials|{{{priconmat|}}}}} | ||
{{Infobox row|title=Shape|{{{shape|}}}}} | |||
| {{{system}}} | {{Infobox row|type=subheader|color=#CA0B0B|text color=white|Statistics}} | ||
| | {{Infobox row|title=Length|{{{length|}}}}} | ||
{{Infobox row|title=Width|{{{width|}}}}} | |||
| {{{region}}} | {{Infobox row|title=Height|{{{height|}}}}} | ||
| | {{Infobox row|title=Volume|{{{volume|}}}}} | ||
{{Infobox row|title=Capacity: Standard|{{{capstandard|}}}}} | |||
| | {{Infobox row|title=Capacity: Maximum|{{{capmax|}}}}} | ||
| {{{constructed}}} | |||
| | |||
| {{{destroyed}}} | |||
| | |||
| {{{builder}}} | |||
| | |||
| {{{purpose}}} | |||
| | |||
| {{{features}}} | |||
| | |||
| {{{priconmat}}} | |||
| | |||
| {{{shape}}} | |||
| | |||
| | |||
| {{{length}}} | |||
| | |||
| {{{width}}} | |||
| | |||
| {{{height}}} | |||
| | |||
| {{{volume}}} | |||
| | |||
| {{{capstandard}}} | |||
| | |||
| {{{capmax}}} | |||
|} | |} | ||
<noinclude> | |||
===Usage instructions=== | ===Usage instructions=== | ||
Paste the following code into the top of an article, filling all known fields: | Paste the following code into the top of an article, filling all known fields: | ||
Line 86: | Line 46: | ||
|capstandard= | |capstandard= | ||
|capmax= | |capmax= | ||
}}</nowiki> | }}</nowiki></pre> | ||
{{Navbox|TITLE=Template Data| | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Adds image to the top of the infobox", | |||
"type": "wiki-file-name" | |||
}, | |||
"image size": { | |||
"label": "Image size", | |||
"description": "Size of the top image", | |||
"type": "line", | |||
"default": "210px" | |||
}, | |||
"image text": { | |||
"label": "Image text", | |||
"description": "A short description of the top image in smaller font", | |||
"type": "content" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the structure", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"city": { | |||
"label": "City", | |||
"description": "City in which the structure is located", | |||
"type": "content" | |||
}, | |||
"planet": { | |||
"label": "Planet", | |||
"description": "Planet in which the structure is located", | |||
"type": "content" | |||
}, | |||
"system": { | |||
"label": "System", | |||
"description": "System in which the structure is located", | |||
"type": "content" | |||
}, | |||
"region": { | |||
"label": "Region", | |||
"description": "Region in which the structure is located", | |||
"type": "content" | |||
}, | |||
"constructed": { | |||
"label": "Constructed", | |||
"description": "Time of the construction of the structure", | |||
"type": "content" | |||
}, | |||
"destroyed": { | |||
"label": "Destroyed", | |||
"description": "Time of the destruction of the structure", | |||
"type": "content" | |||
}, | |||
"builder": { | |||
"label": "Builder", | |||
"description": "Name of individual, organization or faction who created the structure", | |||
"type": "content" | |||
}, | |||
"purpose": { | |||
"label": "Purpose", | |||
"description": "What the structure was created or is used", | |||
"type": "content" | |||
}, | |||
"features": { | |||
"label": "Features", | |||
"description": "List of the most notable properties or functions of the structure", | |||
"type": "content" | |||
}, | |||
"priconmat": { | |||
"label": "Primary Construction Materials", | |||
"description": "The materials of which the structure is mostly made of", | |||
"type": "content" | |||
}, | |||
"shape": { | |||
"label": "Shape", | |||
"description": "The general shape of the structure", | |||
"type": "content" | |||
}, | |||
"length": { | |||
"label": "Length", | |||
"description": "The overall length of the structure", | |||
"type": "content" | |||
}, | |||
"width": { | |||
"label": "Width", | |||
"description": "The overall width of the structure", | |||
"type": "content" | |||
}, | |||
"height": { | |||
"label": "Height", | |||
"description": "The overall height of the structure", | |||
"type": "content" | |||
}, | |||
"volume": { | |||
"label": "Volume", | |||
"description": "The overall volume of the structure", | |||
"type": "content" | |||
}, | |||
"capstandard": { | |||
"label": "Capacity: Standard", | |||
"description": "How many crew, passengers or similar the structure typically has", | |||
"type": "content" | |||
}, | |||
"capmax": { | |||
"label": "Capacity: Maximum", | |||
"description": "How many crew, passengers or similar the structure can have at most", | |||
"type": "content" | |||
} | |||
}, | |||
"description": "Infobox for structures", | |||
"format": "block" | |||
} | |||
</templatedata>}} | |||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 19:54, 21 April 2024
Structure | |
---|---|
Location | |
General Information | |
Statistics | |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{structure |name= |image= |city= |planet= |system= |region= |constructed= |destroyed= |builder= |purpose= |features= |priconmat= |shape= |length= |width= |height= |volume= |capstandard= |capmax= }}
Infobox for structures
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Adds image to the top of the infobox | File | optional |
Image size | image size | Size of the top image
| Line | optional |
Image text | image text | A short description of the top image in smaller font | Content | optional |
Name | name | Name of the structure | Line | suggested |
City | city | City in which the structure is located | Content | optional |
Planet | planet | Planet in which the structure is located | Content | optional |
System | system | System in which the structure is located | Content | optional |
Region | region | Region in which the structure is located | Content | optional |
Constructed | constructed | Time of the construction of the structure | Content | optional |
Destroyed | destroyed | Time of the destruction of the structure | Content | optional |
Builder | builder | Name of individual, organization or faction who created the structure | Content | optional |
Purpose | purpose | What the structure was created or is used | Content | optional |
Features | features | List of the most notable properties or functions of the structure | Content | optional |
Primary Construction Materials | priconmat | The materials of which the structure is mostly made of | Content | optional |
Shape | shape | The general shape of the structure | Content | optional |
Length | length | The overall length of the structure | Content | optional |
Width | width | The overall width of the structure | Content | optional |
Height | height | The overall height of the structure | Content | optional |
Volume | volume | The overall volume of the structure | Content | optional |
Capacity: Standard | capstandard | How many crew, passengers or similar the structure typically has | Content | optional |
Capacity: Maximum | capmax | How many crew, passengers or similar the structure can have at most | Content | optional |