Template:NAXCity: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
mNo edit summary
Edgard (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="toccolours" style="float:right; margin: 0 0 1em 1em; font-size: 85%; width: 27em; border:2px solid #F3BD51; background-color:#FFFFFF;"
{{Nouvelle Alexandrie Article}}
| align=center colspan=2 style="background-color:#C671A0;" |<center><big><big>'''{{{name}}}'''</big></big></center>
{{Infobox
|-
| bodystyle  = border: 2px solid #913a6a;
|colspan=2 |<center>{{#if:{{{image1|}}}|[[File:{{{image1|}}}|{{#if:{{{image2|}}}|130px|200px}}]]|}} {{#if:{{{image2|}}}|[[File:{{{image2|}}}|130px]]|}}</center>
| above      = {{{name|}}}
|-
| abovestyle  = background-color: #913a6a; color: #ffffff; font-weight: bold;
! style="background-color:#C671A0; color:black;" |'''Official name:'''  
| headerstyle = background-color: #f3bd51; color: #251817;
|{{{fullname|}}}
| belowstyle  = font-size:85%; text-align:center; border-top:2px solid #913a6a; padding-top:0.75em;
|-
| labelstyle  = white-space: nowrap; text-align:left; background-color: #f9e8ee;
! style="background-color:#C671A0; color:black;" |'''[[Administrative divisions of Nouvelle Alexandrie|Region]]:'''
| datastyle  =
|{{{region|}}}
| imagestyle  =
|-
| image      = {{#if:{{{image1|}}}|[[File:{{{image1}}}|{{#if:{{{image2|}}}|130px|200px}}]]}}{{#if:{{{image2|}}}|[[File:{{{image2}}}|130px]]|}|}
! style="background-color:#C671A0; color:black;" |'''Established:'''
| caption    = {{{caption|}|}|}
|{{{establisheddate|}}}
| header1    = [[File:NewAlexandriaCOA.png|25px]] '''[[:Category:Cities of Nouvelle Alexandrie|Cities of Nouvelle Alexandrie]]'''
|-
| label2      = Official Name
| align=center colspan=2 |
| data2      = {{{fullname|}}}
----
| label3      = Nickname(s)
|-
| data3      = {{{nickname|}}}
! style="background-color:#C671A0; color:black;" |'''Type of city government: '''
| label4      = [[Administrative divisions of Nouvelle Alexandrie|Region]]
|{{{governmenttype|}}}
| data4      = {{{region|}}}
|-
| label5      = Established
! style="background-color:#C671A0; color:black;" |'''Mayor: '''
| data5      = {{{establisheddate|}}}
|{{{mayor|}}}
| label6      = Founder(s)
|-
| data6      = {{{founder|}}}
! style="background-color:#C671A0; color:black;" |'''City Legislature: '''
| header10    = Government
|{{{citylegislature|}}}
| label11    = Type
|-
| data11      = {{{governmenttype|}}}
! style="background-color:#C671A0; color:black;" |'''City Attorney: '''
| label12    = Mayor
|{{{cityattorney|}}}
| data12      = {{{mayor|}}}
|-
| label13    = City Legislature
| align=center colspan=2 |
| data13      = {{{citylegislature|}}}
----
| label14    = City Attorney
|-
| data14      = {{{cityattorney|}}}
! style="background-color:#C671A0; color:black;" |'''Total population (''city proper''):'''
| header20    = Population
|{{{population|}}}  
| label21    = City Proper
|-
| data21      = {{{population|}}}
! style="background-color:#C671A0; color:black;" |'''Total population (''area metro''):'''
| label22    = Metro Area
|{{{areametropop|}}}
| data22      = {{{areametropop|}}}
|-
| label23    = Density
! style="background-color:#C671A0; color:black;" |'''Density:'''
| data23      = {{{density|}}}
|{{{density|}}}
| label24    = Demonym
|-
| data24      = {{{demonym|}}}
| align=center colspan=2 |
| header30    = Geography
----
| label31    = Area
|-
| data31      = {{{area|}}}
! style="background-color:#C671A0; color:black;" |'''Demonym:'''
| label32    = Elevation
|{{{demonym|}}}
| data32      = {{{elevation|}}}
|-
| label33    = Climate
! style="background-color:#C671A0; color:black;" |'''Principal roads:'''
| data33      = {{{climate|}}}
|{{{roads|}}}
| label34    = Coordinates
|-
| data34      = {{{coordinates|}}}
! style="background-color:#C671A0; color:black;" |'''Principal districts:'''
| header40    = Infrastructure
|{{{districts|}}}
| label41    = Principal Roads
|-
| data41      = {{{roads|}}}
! style="background-color:#C671A0; color:black;" |'''Public transport:'''
| label42    = Principal Districts
|{{{transport|}}}
| data42      = {{{districts|}}}
|-
| label43    = Public Transport
| align=center colspan=2 |
| data43      = {{{transport|}}}
----
| label44    = Airport(s)
|-
| data44      = {{{airport|}}}
{{#if:{{{image_map|}}}|[[Image:{{{image_map}}}|250px]]| }}</center>
| label45    = Port(s)
|-
| data45      = {{{port|}}}
! style="background-color:#C671A0; color:black;" |'''Map versions:'''
| header50    = Economy & Culture
|{{{maps|}}}
| label51    = Major Industries
|-
| data51      = {{{industries|}}}
| align=center colspan=2 |
| label52    = Notable Landmarks
[[File:NewAlexandriaCOA.png|40px|center]]
| data52      = {{{landmarks|}}}
<small><center>'''[[:Category:Cities of Nouvelle Alexandrie|Cities of Nouvelle Alexandrie]]'''</center></small>
| label53    = Universities
| data53      = {{{universities|}}}
| label54    = Sports Teams
| data54      = {{{sports|}}}
| header60    = {{#if:{{{image_map|}}}|Location}}
| data61      = {{#if:{{{image_map|}}}|[[File:{{{image_map}}}|250px]]}}
| label62    = Map Versions
| data62      = {{{maps|}}}
| below      = {{#if:{{{website|}}}|'''Website:''' {{{website}}}|}|}
|}
|}
[[Category:Cities of Nouvelle Alexandrie]]
[[Category:Cities of Nouvelle Alexandrie]]
[[Category:Cities]]
[[Category:Cities]]
{{Nouvelle Alexandrie Article}}
</includeonly><noinclude>
</includeonly>
{{Documentation
<noinclude>
|content =
== Usage ==
This template provides a standardized infobox for city articles within [[Nouvelle Alexandrie]]. It displays information about city governance, population, geography, infrastructure, and culture in a format consistent with other New Alexandrian templates.
 
== Blank Template ==
Copy and paste the following code to use this template:
<pre>
{{NAXCity
{{NAXCity
| name = Alexandria Nova
| name           =  
| image1 = AlexandriaNova.jpg
| image1         =  
| image2 = AlexandriaNovaSkyline.jpg
| image2         =
| fullname = The Grand City of Alexandria Nova
| caption        =  
| region = Central Nouvelle Alexandrie
| fullname       =
| establisheddate = January 1, 1800
| nickname        =  
| governmenttype = Mayor-Council
| region         =  
| mayor = John Doe
| establisheddate =  
| citylegislature = Alexandria Nova City Council
| founder        =
| cityattorney = Jane Smith
| governmenttype =  
| population = 1,200,000
| mayor           =  
| areametropop = 2,500,000
| citylegislature =  
| density = 1,800/km²
| cityattorney   =  
| demonym = Alexandrian
| population     =  
| roads = Main St, Central Ave, New Alexandria Blvd
| areametropop   =  
| districts = Old Town, Downtown, Waterfront
| density         =  
| transport = Metro, Bus, Bicycle Sharing
| demonym         =
| image_map = MapOfAlexandriaNova.png
| area            =
| maps = MCS Version X.XX
| elevation      =
| climate        =
| coordinates    =  
| roads           =  
| districts       =  
| transport       =
| airport        =
| port            =
| industries      =
| landmarks      =
| universities    =
| sports          =  
| image_map       =  
| maps           =
| website        =
|}|}
</pre>
 
== See Also ==
* [[Template:CitizenAW]] - Infobox for New Alexandrian citizens
* [[:Category:Cities of Nouvelle Alexandrie]]
* [[Administrative divisions of Nouvelle Alexandrie]]
}}
}}
This template is designed to provide a comprehensive infobox for cities within Nouvelle Alexandrie. It includes various fields to display detailed information about the city, such as its name, official name, region, establishment date, government details, population statistics, and more.
{{Template:NAXCity/doc}}
[[Category:Nouvelle Alexandrie templates]]
[[Category:Nouvelle Alexandrie templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 22:33, 16 December 2025

Template documentation

Usage

This template provides a standardized infobox for city articles within Nouvelle Alexandrie. It displays information about city governance, population, geography, infrastructure, and culture in a format consistent with other New Alexandrian templates.

Blank Template

Copy and paste the following code to use this template:

{{NAXCity
| name            = 
| image1          = 
| image2          = 
| caption         = 
| fullname        = 
| nickname        = 
| region          = 
| establisheddate = 
| founder         = 
| governmenttype  = 
| mayor           = 
| citylegislature = 
| cityattorney    = 
| population      = 
| areametropop    = 
| density         = 
| demonym         = 
| area            = 
| elevation       = 
| climate         = 
| coordinates     = 
| roads           = 
| districts       = 
| transport       = 
| airport         = 
| port            = 
| industries      = 
| landmarks       = 
| universities    = 
| sports          = 
| image_map       = 
| maps            = 
| website         = 
|}|}

See Also