Template:Nouvelle Alexandrie region: Difference between revisions
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Nouvelle Alexandrie Article}} | {{Nouvelle Alexandrie Article}} | ||
{| class="infobox vcard geography" style="width:300px; font-size:83%;" | {| class="infobox vcard geography" style="width:300px; max-width:100%; font-size:83%;" | ||
| colspan="2" style="text-align:center;" | <big>'''{{{name}}}'''</big><br>'' | | colspan="2" style="text-align:center;" | <big>'''{{{name|{{PAGENAME}}}}}'''</big>{{#if:{{{native_name|{{{name1|}}}}}}|<br>''{{{native_name|{{{name1}}}}}}''|}}<br> | ||
|- | |- | ||
| colspan="2" style="text-align:center;background:#ffdf00;" | <big>'''[[Administrative divisions of Nouvelle Alexandrie|Region]] of {{team flag|Nouvelle Alexandrie}}'''</big> | | colspan="2" style="text-align:center;background:#ffdf00;" | <big>'''[[Administrative divisions of Nouvelle Alexandrie|{{#if:{{{status|}}}|{{{status}}}|Region}}]] of {{team flag|Nouvelle Alexandrie}}'''</big> | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
{| width=100% style="text-align:center; margin:0 auto; background:none;" | {| width=100% style="text-align:center; margin:0 auto; background:none;" | ||
| align=center style="width:50%; border:0; vertical-align:middle;" | [[File:{{{flag}}}|125px|Flag of | | align=center style="width:50%; border:0; vertical-align:middle;" | {{#if:{{{flag|}}}|[[File:{{{flag}}}|125px|Flag of {{{name|{{PAGENAME}}}}}|frameless]]<br><small>Flag</small>|}} | ||
| align=center style="width:50%; border:0; vertical-align:middle;" | [[File:{{{coa}}}|90px|Coat of arms of | | align=center style="width:50%; border:0; vertical-align:middle;" | {{#if:{{{coa|}}}|[[File:{{{coa}}}|90px|Coat of arms of {{{name|{{PAGENAME}}}}}|frameless]]<br><small>Coat of arms</small>|}} | ||
|} | |}{{#if:{{{motto|}}}|<tr class="mergedtoprow"><th>Motto</th><td>{{{motto}}}</td></tr>}}{{#if:{{{anthem|}}}|<tr class="mergedrow"><th>Anthem</th><td>{{{anthem}}}</td></tr>}}{{#if:{{{image|}}}|<tr><td align="center" colspan="2">[[File:{{{image}}}|border|250px|{{{image_caption|Location of {{{name|{{PAGENAME}}}}}}}}]]<br><small>{{{image_caption|Location of {{{name|{{PAGENAME}}}}}}}}</small></td></tr>}} | ||
| | |||
| align=center colspan=2 | |||
[[File:{{{image | |||
|- | |- | ||
! colspan="2" style="text-align:center; background:#e4e4e4;" | Geography | |||
|-class="mergedtoprow" | |-class="mergedtoprow" | ||
|'''[[Administrative divisions of Nouvelle Alexandrie|Status]]'''|| {{#if:{{{status|}}}|{{{status}}}|Region}} | |||
| | {{#if:{{{capital|}}}|<tr class="mergedrow"><th>Capital</th><td>{{{capital}}}</td></tr>}}{{#if:{{{largest_city|{{{largecity|}}}}}}|<tr class="mergedrow"><th>Largest city</th><td>{{{largest_city|{{{largecity}}}}}}</td></tr>}}{{#if:{{{other_cities|}}}|<tr class="mergedrow"><th>Other cities</th><td>{{{other_cities}}}</td></tr>}}{{#if:{{{neighbors|}}}|<tr class="mergedrow"><th>Borders</th><td>{{{neighbors}}}</td></tr>}}{{#if:{{{area|}}}|<tr class="mergedtoprow"><th>Area</th><td>{{{area}}}</td></tr>}}{{#if:{{{area_rank|{{{arearank|}}}}}}|<tr class="mergedrow"><th>• Ranked</th><td>{{{area_rank|{{{arearank}}}}}}</td></tr>}}{{#if:{{{water_area|}}}|<tr class="mergedrow"><th>• Water</th><td>{{{water_area}}}{{#if:{{{water_percent|}}}| ({{{water_percent}}}%)|}}</td></tr>}}{{#if:{{{elevation|}}}|<tr class="mergedrow"><th>Elevation</th><td>{{{elevation}}}</td></tr>}}{{#if:{{{highest_point|}}}|<tr class="mergedrow"><th>• Highest point</th><td>{{{highest_point}}}</td></tr>}}{{#if:{{{lowest_point|}}}|<tr class="mergedrow"><th>• Lowest point</th><td>{{{lowest_point}}}</td></tr>}}{{#if:{{{subdivisions|}}}|<tr class="mergedrow"><th>{{{subdivision_title|Subdivisions}}}</th><td>{{{subdivisions}}}</td></tr>}} | ||
| | {{#if:{{{population|}}}{{{pop|}}}{{{pop_rank|}}}{{{poprank|}}}{{{density|}}}{{{density_rank|}}}{{{demonym|}}}{{{ethnic_groups|}}}{{{languages|}}}{{{lang|}}}{{{religion|}}}|<tr><th colspan="2" style="text-align:center; background:#e4e4e4;">Demographics</th></tr>{{#if:{{{population|{{{pop|}}}}}}|<tr class="mergedtoprow"><th>Population {{#if:{{{pop_date|}}}|<small>({{{pop_date}}})</small>|}}</th><td>{{{population|{{{pop}}}}}}</td></tr>}}{{#if:{{{pop_rank|{{{poprank|}}}}}}|<tr class="mergedrow"><th>• Ranked</th><td>{{{pop_rank|{{{poprank}}}}}}</td></tr>}}{{#if:{{{density|}}}|<tr class="mergedrow"><th>• Density</th><td>{{{density}}}{{#if:{{{density_unit|}}}|{{{density_unit}}}|/km²}}</td></tr>}}{{#if:{{{density_rank|}}}|<tr class="mergedrow"><th>• Density rank</th><td>{{{density_rank}}}</td></tr>}}{{#if:{{{demonym|}}}|<tr class="mergedrow"><th>Demonym</th><td>{{{demonym}}}</td></tr>}}{{#if:{{{ethnic_groups|}}}|<tr class="mergedrow"><th>Ethnic groups</th><td>{{{ethnic_groups}}}</td></tr>}}{{#if:{{{languages|{{{lang|}}}}}}|<tr class="mergedrow"><th>Languages</th><td>{{{languages|{{{lang}}}}}}</td></tr>}}{{#if:{{{religion|}}}|<tr class="mergedrow"><th>Religion</th><td>{{{religion}}}</td></tr>}}}} | ||
|- | {{#if:{{{governor|}}}{{{viceroy|}}}{{{governor_party|}}}{{{lieutenant|}}}{{{gov|}}}{{{lieutenant_party|}}}{{{legislature|}}}{{{legislature_seats|}}}{{{regional_court|}}}{{{peers|}}}{{{deputies|}}}|<tr><th colspan="2" style="text-align:center; background:#e4e4e4;">Government</th></tr>{{#if:{{{governor|{{{viceroy|}}}}}}|<tr class="mergedtoprow"><th>Governor</th><td>{{{governor|{{{viceroy}}}}}}</td></tr>}}{{#if:{{{governor_party|}}}|<tr class="mergedrow"><th>• Party</th><td>{{{governor_party}}}</td></tr>}}{{#if:{{{lieutenant|{{{gov|}}}}}}|<tr class="mergedrow"><th>{{{head_of_govt_title|{{{headofgovt|Lieutenant Governor}}}}}}</th><td>{{{lieutenant|{{{gov}}}}}}</td></tr>}}{{#if:{{{lieutenant_party|}}}|<tr class="mergedrow"><th>• Party</th><td>{{{lieutenant_party}}}</td></tr>}}{{#if:{{{legislature|}}}|<tr class="mergedrow"><th>Legislature</th><td>{{{legislature}}}</td></tr>}}{{#if:{{{legislature_seats|}}}|<tr class="mergedrow"><th>• Total seats</th><td>{{{legislature_seats}}}</td></tr>}}{{#if:{{{regional_court|}}}|<tr class="mergedrow"><th>Regional court</th><td>{{{regional_court}}}</td></tr>}}{{#if:{{{peers|}}}{{{deputies|}}}|<tr class="mergedrow"><th>Federal representation</th><td>{{#if:{{{peers|}}}|<div>• [[Chamber of Peers]]: {{{peers}}}</div>|}}{{#if:{{{deputies|}}}|<div>• [[Federal Assembly]]: {{{deputies}}}</div>|}}</td></tr>}}}} | ||
| | {{#if:{{{gdp|}}}{{{gdp_rank|}}}{{{gdp_per_capita|}}}{{{hdi|}}}{{{currency|}}}{{{industries|}}}|<tr><th colspan="2" style="text-align:center; background:#e4e4e4;">Economy</th></tr>{{#if:{{{gdp|}}}|<tr class="mergedtoprow"><th>GDP {{#if:{{{gdp_year|}}}|<small>({{{gdp_year}}})</small>|}}</th><td>{{{gdp}}}</td></tr>}}{{#if:{{{gdp_rank|}}}|<tr class="mergedrow"><th>• Ranked</th><td>{{{gdp_rank}}}</td></tr>}}{{#if:{{{gdp_per_capita|}}}|<tr class="mergedrow"><th>• Per capita</th><td>{{{gdp_per_capita}}}</td></tr>}}{{#if:{{{hdi|}}}|<tr class="mergedrow"><th>HDI {{#if:{{{hdi_year|}}}|<small>({{{hdi_year}}})</small>|}}</th><td>{{{hdi}}} {{#if:{{{hdi_category|}}}|<small>({{{hdi_category}}})</small>|}}</td></tr>}}{{#if:{{{currency|}}}|<tr class="mergedrow"><th>Currency</th><td>{{{currency}}}</td></tr>}}{{#if:{{{industries|}}}|<tr class="mergedrow"><th>Main industries</th><td>{{{industries}}}</td></tr>}}}} | ||
| | {{#if:{{{established|}}}{{{est|}}}{{{admission|}}}{{{predecessor|}}}{{{abbreviation|}}}{{{abv|}}}{{{postal_code|}}}{{{calling_code|}}}{{{timezone|}}}{{{website|}}}|<tr><th colspan="2" style="text-align:center; background:#e4e4e4;">History & Other</th></tr>{{#if:{{{established|{{{est|}}}}}}|<tr class="mergedtoprow"><th>Established</th><td>{{{established|{{{est}}}}}}</td></tr>}}{{#if:{{{admission|}}}|<tr class="mergedrow"><th>Admitted to Federation</th><td>{{{admission}}}</td></tr>}}{{#if:{{{predecessor|}}}|<tr class="mergedrow"><th>Preceded by</th><td>{{{predecessor}}}</td></tr>}}{{#if:{{{abbreviation|{{{abv|}}}}}}|<tr class="mergedtoprow"><th>Abbreviation</th><td>{{{abbreviation|{{{abv}}}}}}</td></tr>}}{{#if:{{{postal_code|}}}|<tr class="mergedrow"><th>Postal codes</th><td>{{{postal_code}}}</td></tr>}}{{#if:{{{calling_code|}}}|<tr class="mergedrow"><th>Calling code</th><td>{{{calling_code}}}</td></tr>}}{{#if:{{{timezone|}}}|<tr class="mergedrow"><th>Time zone</th><td>{{{timezone}}}</td></tr>}}{{#if:{{{website|}}}|<tr class="mergedrow"><th>Website</th><td>{{{website}}}</td></tr>}}}} | ||
| | |||
|align= | |||
| | |||
| | |||
|- | |||
| | |||
|- | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
| align=center colspan=2 | | | align=center colspan=2 | | ||
| Line 56: | Line 24: | ||
|- | |- | ||
|} | |} | ||
<noinclude>[[Category:Nouvelle Alexandrie]][[Category:Nouvelle Alexandrie templates]]</noinclude> | <noinclude> | ||
{{Documentation | |||
|content = | |||
===Documentation=== | |||
* This template creates a standardized infobox for [[Administrative divisions of Nouvelle Alexandrie|Regions]] of [[Nouvelle Alexandrie]]. | |||
* Every optional data row and data section is conditional. A blank parameter does not create a placeholder row or an empty section. | |||
* The template accepts the current parameter names and the legacy names used by older NAX region pages. | |||
* The federation banner and section colors intentionally remain the established NAX design: yellow <code>#ffdf00</code> and gray <code>#e4e4e4</code>. | |||
===Blank template=== | |||
Copy and paste the following code to use this template. Leave fields blank when the information is not available. | |||
<pre> | |||
{{Nouvelle Alexandrie region | |||
| name = | |||
| native_name = | |||
| status = | |||
| flag = | |||
| coa = | |||
| motto = | |||
| anthem = | |||
| image = | |||
| image_caption = | |||
| capital = | |||
| largest_city = | |||
| other_cities = | |||
| neighbors = | |||
| subdivisions = | |||
| subdivision_title = | |||
| area = | |||
| area_rank = | |||
| water_area = | |||
| water_percent = | |||
| elevation = | |||
| highest_point = | |||
| lowest_point = | |||
| population = | |||
| pop_date = | |||
| pop_rank = | |||
| density = | |||
| density_unit = | |||
| density_rank = | |||
| demonym = | |||
| ethnic_groups = | |||
| languages = | |||
| religion = | |||
| governor = | |||
| governor_party = | |||
| head_of_govt_title = | |||
| lieutenant = | |||
| lieutenant_party = | |||
| legislature = | |||
| legislature_seats = | |||
| regional_court = | |||
| peers = | |||
| deputies = | |||
| gdp = | |||
| gdp_year = | |||
| gdp_rank = | |||
| gdp_per_capita = | |||
| hdi = | |||
| hdi_year = | |||
| hdi_category = | |||
| currency = | |||
| industries = | |||
| established = | |||
| admission = | |||
| predecessor = | |||
| abbreviation = | |||
| postal_code = | |||
| calling_code = | |||
| timezone = | |||
| website = | |||
}} | |||
</pre> | |||
===Parameters=== | |||
All parameters are optional. The template omits a row when its value is blank. | |||
'''Basic information:''' '''name''' (defaults to the page name), '''native_name''' (legacy alias: '''name1'''), '''status''' (banner and status value, defaults to Region), '''flag''', '''coa''', '''motto''', '''anthem''', and '''image''' / '''image_caption'''. | |||
'''Geography:''' '''capital''', '''largest_city''' (legacy alias: '''largecity'''), '''other_cities''', '''neighbors''', '''subdivisions''' / '''subdivision_title''', '''area''', '''area_rank''' (legacy alias: '''arearank'''), '''water_area''' / '''water_percent''', '''elevation''', '''highest_point''', and '''lowest_point'''. | |||
'''Demographics:''' '''population''' (legacy alias: '''pop'''), '''pop_date''', '''pop_rank''' (legacy alias: '''poprank'''), '''density''' / '''density_unit''', '''density_rank''', '''demonym''', '''ethnic_groups''', '''languages''' (legacy alias: '''lang'''), and '''religion'''. The default density unit is `/km²`. | |||
'''Government:''' '''governor''' (legacy alias: '''viceroy'''), '''governor_party''', '''lieutenant''' and '''lieutenant_party''', '''head_of_govt_title''' (legacy title override), '''legislature''', '''legislature_seats''', '''regional_court''', '''peers''', and '''deputies'''. Legacy pages may use '''gov''' for the second office holder and '''headofgovt''' for that office's title. | |||
'''Economy:''' '''gdp''', '''gdp_year''', '''gdp_rank''', '''gdp_per_capita''', '''hdi''', '''hdi_year''', '''hdi_category''', '''currency''', and '''industries'''. | |||
'''History and other:''' '''established''' (legacy alias: '''est'''), '''admission''', '''predecessor''', '''abbreviation''' (legacy alias: '''abv'''), '''postal_code''', '''calling_code''', '''timezone''', and '''website'''. | |||
===Rendering notes=== | |||
* The older aliases remain supported so existing NAX region pages do not need an immediate coordinated rewrite. | |||
* <code>governor</code> / <code>viceroy</code> is the first executive office. <code>lieutenant</code> is the current name for a second executive office; legacy <code>gov</code> plus <code>headofgovt</code> remains supported. | |||
* <code>peers</code> and <code>deputies</code> are grouped into one Federal representation row. <code>regional_court</code> is shown as its own Government row. | |||
* Do not use a placeholder to mean unknown. Leave the parameter blank and the row will be omitted. | |||
}} | |||
[[Category:Nouvelle Alexandrie]] | |||
[[Category:Nouvelle Alexandrie templates]] | |||
[[Category:Infobox templates]] | |||
</noinclude> | |||
Latest revision as of 21:48, 12 September 2026
| Nouvelle Alexandrie region | |||
| Region of | |||
|
| |||
| Geography | |||
|---|---|---|---|
| Status | Region
| ||
Documentation
- This template creates a standardized infobox for Regions of Nouvelle Alexandrie.
- Every optional data row and data section is conditional. A blank parameter does not create a placeholder row or an empty section.
- The template accepts the current parameter names and the legacy names used by older NAX region pages.
- The federation banner and section colors intentionally remain the established NAX design: yellow
#ffdf00and gray#e4e4e4.
Blank template
Copy and paste the following code to use this template. Leave fields blank when the information is not available.
{{Nouvelle Alexandrie region
| name =
| native_name =
| status =
| flag =
| coa =
| motto =
| anthem =
| image =
| image_caption =
| capital =
| largest_city =
| other_cities =
| neighbors =
| subdivisions =
| subdivision_title =
| area =
| area_rank =
| water_area =
| water_percent =
| elevation =
| highest_point =
| lowest_point =
| population =
| pop_date =
| pop_rank =
| density =
| density_unit =
| density_rank =
| demonym =
| ethnic_groups =
| languages =
| religion =
| governor =
| governor_party =
| head_of_govt_title =
| lieutenant =
| lieutenant_party =
| legislature =
| legislature_seats =
| regional_court =
| peers =
| deputies =
| gdp =
| gdp_year =
| gdp_rank =
| gdp_per_capita =
| hdi =
| hdi_year =
| hdi_category =
| currency =
| industries =
| established =
| admission =
| predecessor =
| abbreviation =
| postal_code =
| calling_code =
| timezone =
| website =
}}
Parameters
All parameters are optional. The template omits a row when its value is blank.
Basic information: name (defaults to the page name), native_name (legacy alias: name1), status (banner and status value, defaults to Region), flag, coa, motto, anthem, and image / image_caption.
Geography: capital, largest_city (legacy alias: largecity), other_cities, neighbors, subdivisions / subdivision_title, area, area_rank (legacy alias: arearank), water_area / water_percent, elevation, highest_point, and lowest_point.
Demographics: population (legacy alias: pop), pop_date, pop_rank (legacy alias: poprank), density / density_unit, density_rank, demonym, ethnic_groups, languages (legacy alias: lang), and religion. The default density unit is `/km²`.
Government: governor (legacy alias: viceroy), governor_party, lieutenant and lieutenant_party, head_of_govt_title (legacy title override), legislature, legislature_seats, regional_court, peers, and deputies. Legacy pages may use gov for the second office holder and headofgovt for that office's title.
Economy: gdp, gdp_year, gdp_rank, gdp_per_capita, hdi, hdi_year, hdi_category, currency, and industries.
History and other: established (legacy alias: est), admission, predecessor, abbreviation (legacy alias: abv), postal_code, calling_code, timezone, and website.
Rendering notes
- The older aliases remain supported so existing NAX region pages do not need an immediate coordinated rewrite.
governor/viceroyis the first executive office.lieutenantis the current name for a second executive office; legacygovplusheadofgovtremains supported.peersanddeputiesare grouped into one Federal representation row.regional_courtis shown as its own Government row.- Do not use a placeholder to mean unknown. Leave the parameter blank and the row will be omitted.
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |