More actions
mNo edit summary |
No edit summary |
||
| Line 36: | Line 36: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"description": "Location name", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Location image" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"type": "string", | |||
"description": "Type of location (e.g. Planet, City, Structure)", | |||
"suggestedvalues": ["Planet", "Structure"] | |||
}, | |||
"planet": { | |||
"label": "Planet", | |||
"type": "string", | |||
"description": "Which planet this location is on" | |||
}, | |||
"controlled_by": { | |||
"label": "Controlled by", | |||
"type": "string", | |||
"description": "Faction or group that controls this location" | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"type": "string", | |||
"description": "Which series this location is from", | |||
"suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"] | |||
} | |||
}, | |||
"description": "Infobox for location pages", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 08:57, 5 April 2026
Infobox location
Usage
{{Infobox location
|name=
|image=
|type=
|planet=
|controlled_by=
|series=
}}
Infobox for location pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Location name
| String | optional |
| Image | image | Location image | File | optional |
| Type | type | Type of location (e.g. Planet, City, Structure)
| String | optional |
| Planet | planet | Which planet this location is on | String | optional |
| Controlled by | controlled_by | Faction or group that controls this location | String | optional |
| Series | series | Which series this location is from
| String | optional |