More actions
No edit summary |
No edit summary |
||
| Line 36: | Line 36: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"description": "Faction name", | |||
"default": "{{PAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"description": "Faction image or logo" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"type": "string", | |||
"description": "Type of faction", | |||
"suggestedvalues": ["Military", "Government", "Organisation", "Coalition", "Guild"] | |||
}, | |||
"leader": { | |||
"label": "Leader", | |||
"type": "string", | |||
"description": "Leader of the faction" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"type": "string", | |||
"description": "Current status", | |||
"suggestedvalues": ["Active", "Disbanded", "Destroyed", "Unknown"] | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"type": "string", | |||
"description": "Which series this faction is from", | |||
"suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"] | |||
} | |||
}, | |||
"description": "Infobox for faction pages", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 08:58, 5 April 2026
Infobox faction
Usage
{{Infobox faction
|name=
|image=
|type=
|leader=
|status=
|series=
}}
Infobox for faction pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Faction name
| String | optional |
| Image | image | Faction image or logo | File | optional |
| Type | type | Type of faction
| String | optional |
| Leader | leader | Leader of the faction | String | optional |
| Status | status | Current status
| String | optional |
| Series | series | Which series this faction is from
| String | optional |