Template:Infobox province: Difference between revisions
Appearance
Created page with "<!-- Template:Infobox province (HTML-safe, auto-links, collapsible lists) --> <table class="infobox infobox-province"> <tr> <th class="infobox-title" colspan="2">{{{name|{{PAGENAME}}}}}</th> </tr> {{#if: {{{flag|}}} | <tr> <td class="infobox-image mw-no-invert" colspan="2"> [[File:{{{flag}}}|{{{flagsize|260px}}}|alt={{{flag_alt|}}}|center]] {{#pageimage:{{{flag}}}}} {{#if: {{{flag_caption|}}} | <div class="infobox-caption">{{{flag_capti..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
<td class="infobox-image mw-no-invert" colspan="2"> | <td class="infobox-image mw-no-invert" colspan="2"> | ||
[[File:{{{flag}}}|{{{flagsize|260px}}}|alt={{{flag_alt|}}}|center]] | [[File:{{{flag}}}|{{{flagsize|260px}}}|alt={{{flag_alt|}}}|center]] | ||
{{#if: {{{flag_caption|}}} | <div class="infobox-caption">{{{flag_caption}}}</div> }} | {{#if: {{{flag_caption|}}} | <div class="infobox-caption">{{{flag_caption}}}</div> }} | ||
</td> | </td> | ||
| Line 81: | Line 80: | ||
</table> | </table> | ||
<includeonly>{{#ifeq:{{NAMESPACE}}| | {{#if:{{{nocat|}}}| | [[Category:Provinces]]}} }}</includeonly> | |||
<noinclude> | <noinclude> | ||
| Line 107: | Line 108: | ||
"city8": { "label": "Notable city 8 (page name)", "type": "string" }, | "city8": { "label": "Notable city 8 (page name)", "type": "string" }, | ||
"city9": { "label": "Notable city 9 (page name)", "type": "string" }, | "city9": { "label": "Notable city 9 (page name)", "type": "string" }, | ||
"city10": { "label": "Notable city | "city10": { "label": "Notable city 10 (page name)", "type": "string" } | ||
}, | }, | ||
"paramOrder": ["name","flag","flagsize","flag_alt","flag_caption","nation","capital","premier","city1","city2","city3","city4","city5","city6","city7","city8","city9","city10 | "paramOrder": ["name","flag","flagsize","flag_alt","flag_caption","nation","capital","premier","city1","city2","city3","city4","city5","city6","city7","city8","city9","city10"] | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 00:23, 29 October 2025
| Infobox province |
|---|
Province infobox for Mundus. Enter page names for linked fields; filenames only for images.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description
| String | optional |
| Flag image filename | flag | no description
| String | optional |
| Flag size | flagsize | no description
| String | optional |
| Flag alt text | flag_alt | no description | String | optional |
| Flag caption | flag_caption | no description | String | optional |
| Nation (page name) | nation | no description
| String | optional |
| Province capital (page name) | capital | no description
| String | optional |
| Province premier (page name) | premier | no description
| String | optional |
| Notable city 1 (page name) | city1 | no description | String | optional |
| Notable city 2 (page name) | city2 | no description | String | optional |
| Notable city 3 (page name) | city3 | no description | String | optional |
| Notable city 4 (page name) | city4 | no description | String | optional |
| Notable city 5 (page name) | city5 | no description | String | optional |
| Notable city 6 (page name) | city6 | no description | String | optional |
| Notable city 7 (page name) | city7 | no description | String | optional |
| Notable city 8 (page name) | city8 | no description | String | optional |
| Notable city 9 (page name) | city9 | no description | String | optional |
| Notable city 10 (page name) | city10 | no description | String | optional |
Usage
{{Infobox province
| name = Gandry
| flag = Gandry_Flag.png
| nation = Directionland
| capital = God's Landing
| premier = Chancellor Nathaniel Crowley
| city1 = Simonville
| city2 = St. Stylinson
| duchy1 = Duchy of Ironwood
}}