Template:Infobox Local/doc: Difference between revisions
Created page with "{{documentation}} {{clear}} ==Documentation== ===Usage=== <pre>{{Infobox City |name = The local's real name, not a short form. |image = A scenery image to represent how the l..." |
mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{documentation}} | {{documentation}} | ||
{{clear}} | {{clear}} | ||
Used along with {{t|Infobox Local Images}}. | |||
==Documentation== | ==Documentation== | ||
===Usage=== | ===Usage=== | ||
<pre>{{Infobox | <pre>{{Infobox Local | ||
|name = The local's real name, not a short form. | |name = The local's real name, not a short form. | ||
|image = A scenery image to represent how the local looks | |image = A scenery image to represent how the local looks | ||
|AKA = Any other names that the local might be called by players (eg. Jupiter: "Juppy") | |AKA = Any other names that the local might be called by players (eg. Jupiter: "Juppy") | ||
|release = The release date of the local. | |release = The release date of the local. (eg. [[6 February]] [[2021]]) | ||
|update = A link to the corresponding update page when this local was released, without the Update: prefix. | |update = A link to the corresponding update page when this local was released, without the Update: prefix. | ||
|spec = The technical specialization of the local. (eg. Defense) | |spec = The technical specialization of the local. (eg. Defense) | ||
| Line 17: | Line 17: | ||
|specexports = The specialized commodity exported from the local. | |specexports = The specialized commodity exported from the local. | ||
|leader = The leader or administrator of the local. (eg. Suros on Eris, or N8 on Gemini Station) | |leader = The leader or administrator of the local. (eg. Suros on Eris, or N8 on Gemini Station) | ||
| | |inhabitants = The race or inhabitants of the local. (eg. Humans and Martian) | ||
|demonym = What the inhabitants of the local are called. If no source is available, the parameter can be removed. (eg. Juppies on Jupiter) | |demonym = What the inhabitants of the local are called. If no source is available, the parameter can be removed. (eg. Juppies on Jupiter) | ||
}}</pre> | }}</pre> | ||
<includeonly>[[Category:Infobox templates|Locals]]</includeonly> | <includeonly>[[Category:Infobox templates|Locals]]</includeonly> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "The local's real name, not a short form.", | |||
"example": "Earth", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "A scenery image to represent how the local looks", | |||
"example": "Earth.png", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"AKA": { | |||
"label": "AKA", | |||
"description": "Any other names that the local might be called by players", | |||
"example": "Juppy for Jupiter Local", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"release": { | |||
"label": "Release Date", | |||
"description": "The release date of the local.", | |||
"example": "[[6 February]] [[2021]]", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"update": { | |||
"label": "Update", | |||
"description": "A link to the corresponding update page when this local was released, without the Update: prefix. ", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"spec": { | |||
"label": "Tech Specialization", | |||
"description": "The technical specialization of the local.", | |||
"example": "Defense", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"repship": { | |||
"label": "Reputation Ship", | |||
"description": "The reputation tier 4 ship of the local.", | |||
"example": "The Sentinel", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"prereq": { | |||
"label": "Prerequisites", | |||
"description": "The prerequisite requirement to accessing the local.", | |||
"example": "2500 Heat Resistance", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"imports": { | |||
"label": "Primary Imports", | |||
"description": "The primary commodity imported to the local.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"exports": { | |||
"label": "Primary Exports", | |||
"description": "The primary commodity exported from the local.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"specexports": { | |||
"label": "Specialized Exports", | |||
"description": "The specialized commodity exported from the local.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"leader": { | |||
"label": "Leader/Administrator", | |||
"description": "The leader or administrator of the local.", | |||
"example": "N8 (Gemini Station), Suros (Eris)", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"demonym": { | |||
"label": "Demonyn", | |||
"description": "What the inhabitants of the local are called. If no source is available, the parameter can be removed.", | |||
"example": "Juppies (Jupiter)", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"inhabitants": { | |||
"label": "Inhabitants", | |||
"description": "The race or inhabitants of the local.", | |||
"example": "Humans and Martians", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Adds an informative info box that displays all the data for a specific local/planet.", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"AKA", | |||
"release", | |||
"update", | |||
"spec", | |||
"repship", | |||
"prereq", | |||
"imports", | |||
"exports", | |||
"specexports", | |||
"leader", | |||
"demonym", | |||
"inhabitants" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||