Template:Infobox sub lv1: Difference between revisions
Jump to navigation
Jump to search
CMCollective (talk | contribs) (Created page with "<includeonly><onlyinclude>{{Infobox| {{Infobox/above|{{{name|}}}}} {{Infobox/split|equal=no| {{Infobox/split/column|vertical-align=middle|style=width:min-content| {{Infobox/image|image={{{flag|}}}|caption={{{flag-label|'''Flag'''}}}|options=border{{!}}frameless{{!}}125px}} }} {{Infobox/split/column|vertical-align=middle|style=width:min-content| {{Infobox/image|image={{{banner|}}}|caption={{{banner-label|'''Banner'''}}}|options=border{{!}}50px}} }} }} {{Infobox/image|imag...") |
CMCollective (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
}} | }} | ||
{{#if: {{{ruler-left|}}}|{{#invoke:Infobox ngation|generateRulerList|ruler={{{ruler-left|}}}|ruler-title={{{ruler-title|Ruler}}}}}}} | {{#if: {{{ruler-left|}}}|{{#invoke:Infobox ngation|generateRulerList|ruler={{{ruler-left|}}}|ruler-title={{{ruler-title|Ruler}}}}}}} | ||
{{Infobox/row|Official | {{Infobox/row|Official Languages|{{{languages|}}}}} | ||
{{Infobox/row|ISO-3166-1|{{#if: {{{iso-code|}}}|<code>{{{iso-code|}}}</code>|}}}} | {{Infobox/row|ISO-3166-1|{{#if: {{{iso-code|}}}|<code>{{{iso-code|}}}</code>|}}}} | ||
{{Infobox/row|Population|{{{population|}}}}} | {{Infobox/row|Population|{{{population|}}}}} | ||
}} | }} | ||
</onlyinclude></includeonly><noinclude>[[Category:Infobox templates| | </onlyinclude></includeonly><noinclude>[[Category:Infobox templates|Level 1 Subdivisions]] | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 06:38, 9 March 2025
Documentation
Example Level 1 Subdivision | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Capital city | Example | ||||||
Demonym | Examplese | ||||||
Rulers | Egg Sample Egg Sample II | ||||||
Official Languages | Examplese | ||||||
ISO-3166-1 | EX-MPL | ||||||
Population | ~142.857 |
This is a template for level 1 subdivision infoboxes. The current parameters are:
- name
- Name of the subdivision
- flag
- Filename of the flag
- flag-label
- Label under the flag. Default is
'''Flag'''
- banner
- Filename of the banner, e.g.
Enkavak-banner.webp
- banner-label
- Label under the banner. Default is
'''Banner'''
- map
- Filename of the map
- map-label
- Label under the map. Default is
'''Map'''
- capital
- Capital of the subdivision
- demonym
- Demonym of the subdivision
- government
- Type of subdivision government
- ruler
- Ruler or rulers of the subdivision. This is placed under
government
if present and on its own row ifgovernment
is not present. If you want several rows with a title for each you can separate them with;
(see also comment forruler-title
). - ruler-title
- The title of the ruler. If omitted this will default to "Ruler". If you want several rulers with titles for each, you can separate the titles with
;
and include several rulers in the same way (see also comment forruler
). - ruler-left
- Use this instead of
ruler
if you want to have a row for government and a separate row for the ruler. - iso-code
- The subdivision's official ISO code, ISO-3166-1