Template:Infobox settlement: Difference between revisions
Appearance
Created page with "<!-- Template:Infobox settlement (HTML-safe, auto-links) --> <table class="infobox infobox-settlement"> <tr> <th class="infobox-title" colspan="2">{{{name|{{PAGENAME}}}}}</th> </tr> {{#if: {{{image|}}} | <tr> <td class="infobox-image mw-no-invert" colspan="2"> [[File:{{{image}}}|{{{imagesize|250px}}}|alt={{{image_alt|}}}|center]] {{#if: {{{image_caption|}}} | <div class="infobox-caption">{{{image_caption}}}</div> }} </td> </tr> }}..." |
No edit summary |
||
| Line 8: | Line 8: | ||
<tr> | <tr> | ||
<td class="infobox-image mw-no-invert" colspan="2"> | <td class="infobox-image mw-no-invert" colspan="2"> | ||
[[File:{{{image}}}|{{{imagesize|250px}}}|alt={{{image_alt|}}}|center]] | [[File:{{{image}}}|{{#pageimage:{{{image}}}}} {{{imagesize|250px}}}|alt={{{image_alt|}}}|center]] | ||
{{#if: {{{image_caption|}}} | <div class="infobox-caption">{{{image_caption}}}</div> }} | {{#if: {{{image_caption|}}} | <div class="infobox-caption">{{{image_caption}}}</div> }} | ||
</td> | </td> | ||
Revision as of 07:39, 28 October 2025
| Infobox settlement |
|---|
Settlement infobox for Mundus. Nation/Province auto-link; enter page names only (no [[brackets]]).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description
| String | optional |
| Image filename | image | Coat of arms, flag, or photo. Filename only (no "File:" prefix).
| String | optional |
| Image size | imagesize | no description
| String | optional |
| Image alt text | image_alt | no description | String | optional |
| Image caption | image_caption | no description | String | optional |
| Type | type | no description
| String | optional |
| Nation (page name only) | nation | no description
| String | optional |
| Province (page name only) | province | no description
| String | optional |
| Notable (free text; optional) | notable | Use for a custom first item or formatted list if you prefer. | String | optional |
| Notable character 1 (page name) | notable1 | no description | String | optional |
| Notable character 2 (page name) | notable2 | no description | String | optional |
| Notable character 3 (page name) | notable3 | no description | String | optional |
| Notable character 4 (page name) | notable4 | no description | String | optional |
| Notable character 5 (page name) | notable5 | no description | String | optional |
Usage
{{Infobox settlement
| name = Simonville
| image = Simonville_CoA.png
| type = Village
| nation = Directionland
| province = Gandry
| notable1 = Irian Balewood
| notable2 = Valmin Thornvalley
}}