Template:NationInfobox: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 46: Line 46:
| style="{{#if:{{{population|}}}|'''Population'''
| style="{{#if:{{{population|}}}|'''Population'''
| style="{{#if:{{{population|}}}| "Enter Population"
| style="{{#if:{{{population|}}}| "Enter Population"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{religion|}}}|'''Religion'''
| style="{{#if:{{{religion|}}}| "Enter Official Religion"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{language|}}}|'''Language'''
| style="{{#if:{{{language|}}}| "Enter Official language"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{chunks|}}}|'''Chunks'''
| style="{{#if:{{{chunks|}}}|'''Chunks'''
Line 51: Line 57:
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{/n_list|}}}|'''/n list'''
| style="{{#if:{{{/n_list|}}}|'''/n list'''
| style="{{#if:{{{population|}}}| "Enter /n list"
| style="{{#if:{{{/n_list|}}}| "Enter /n list"
|-
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Government Information</font>}}}
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Government Information</font>}}}
Line 57: Line 63:
|-
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{leader|}}}| |display: none;}}" valign="top" | '''Leader'''
| style="{{#if:{{{/leader|}}}|'''Leader'''
| style="{{#if:{{{leader|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader|}}}
| style="{{#if:{{{leader|}}}| "Enter Leader"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{chancellors|}}}| |display: none;}}" valign="top" | '''Chancellors'''
| style="{{#if:{{{chancellors|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{chancellors|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{prime_minister|}}}| |display: none;}}" valign="top" | '''Prime Minister'''
| style="{{#if:{{{prime_minister|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{prime_minister|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{political_system|}}}| |display: none;}}" valign="top" | '''Political System'''
| style="{{#if:{{{political_system|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{political_system|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{economic_system|}}}| |display: none;}}" valign="top" | '''Economic System'''
| style="{{#if:{{{prime_minister|}}}|'''Prime Minister'''
| style="{{#if:{{{economic_system|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{economic_system|}}}
| style="{{#if:{{{prime_minister|}}}| "Enter Prime Minister"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_language|}}}| |display: none;}}" valign="top" | '''Official Language'''
| style="{{#if:{{{chancelor|}}}|'''Chancelor'''
| style="{{#if:{{{official_language|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_language|}}}
| style="{{#if:{{{chancelor|}}}| "Enter Chancelor"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_religion|}}}| |display: none;}}" valign="top" | '''Official Religion'''
| style="{{#if:{{{political_system|}}}|'''Political System'''
| style="{{#if:{{{official_religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_religion|}}}
| style="{{#if:{{{political_system|}}}| "Enter Political System"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{army_size|}}}| |display: none;}}" valign="top" | '''Army Size'''
| style="{{#if:{{{economic_system|}}}|'''Economic System'''
| style="{{#if:{{{army_size|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{army_size|}}}
| style="{{#if:{{{economic_system|}}}| "Enter Economic System"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{dominions|}}}| |display: none;}}" valign="top" | '''Dominions'''
| style="{{#if:{{{dominions|}}}|'''Dominions'''
| style="{{#if:{{{dominions|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{dominions|}}}
| style="{{#if:{{{dominions|}}}| "Enter Dominions"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{part_of|}}}| |display: none;}}" valign="top" | '''Part of'''
| style="{{#if:{{{part_of|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{part_of|}}}
|-
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Historical Information</font>}}}
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:100%;" | {{{name|<font color="white">Historical Information</font>}}}
Line 91: Line 86:
|-
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{past_leaders|}}}| |display: none;}}" valign="top" | '''Past Leaders'''
| style="{{#if:{{{past_leaders|}}}|'''Past Leaders'''
| style="{{#if:{{{past_leaders|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_leaders|}}}
| style="{{#if:{{{past_leaders|}}}| "Enter Past Leaders"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{past_capitals|}}}| |display: none;}}" valign="top" | '''Past Capitals'''
| style="{{#if:{{{past_capitals|}}}|'''Past Capitals'''
| style="{{#if:{{{past_capitals|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_capitals|}}}
| style="{{#if:{{{past_capitals|}}}| "Enter Past Capitals"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style='{{#if:{{{predecessor|}}}| |display: none;}}" valign="top" | '''Predecessor'''
| style="{{#if:{{{predecessor_nations|}}}|'''Predecessor Nations'''
| style='{{#if:{{{predecessor|}}}| |display:none;}}" class-infoboxcell' valign="top" | {{{predecessor|}}}
| style="{{#if:{{{predecessor_nations|}}}| "Enter Predecessor Nations"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}</div>
|}</div>

Revision as of 03:10, 12 May 2022

Enter Nation Name
Enter Official Name
"INSERT FLAG HERE"
Coat of Arms
"INSERT COAT OF ARMS HERE"
National information
Motto "Enter National Motto"
National Anthem "Enter National Anthem"
Founded "Enter Date Founded"
Disbanded "Enter Date Disbanded"
Capital City "Enter Capital City"
Oldest City "Enter Oldest City"
Largest City "Enter Largest City"
Population "Enter Population"
Religion "Enter Official Religion"
Language "Enter Official language"
Chunks "Enter Chunks"
/n list "Enter /n list"
Government Information
Leader "Enter Leader"
Prime Minister "Enter Prime Minister"
Chancelor "Enter Chancelor"
Political System "Enter Political System"
Economic System "Enter Economic System"
Dominions "Enter Dominions"
Historical Information
Past Leaders "Enter Past Leaders"
Past Capitals "Enter Past Capitals"
Predecessor Nations "Enter Predecessor Nations"

Example Usage:

{{EnhancedNation
|color=Example
|eras={{Eras|0|1}}
|title1=Example
|image1=Example
|image2=Example
|image3=Example
|full_name=Example
|national_anthem=[[File:Example.ogg]]
|name_in_towny=Example
|motto=Example
|population=Example
|chunks=Example
|/n_list_page=Example
|capital_city=Example
|largest_city=Example
|oldest_city=Example
|established=Example
|disbanded=Example
|leader=Example
|chancellors=Example
|prime_minister=Example
|political_system=Example
|economic_system=Example
|official_language=Example
|official_religion=Example
|army_size=Example
|dominions=Example
|part_of=Example
|past_leaders=Example
|past_capitals=Example
|predecessor=Example
|successor=Example
}}

<templatedata> { "params": { "color": {}, "name": {}, "title1": {}, "image1": {}, "hidecoat": {}, "image2": {}, "hideteritory": {}, "image3": {}, "eras": {}, "hideb": {}, "full_name": {}, "national_anthem": {}, "name_in_towny": {}, "motto": {}, "population": {}, "chunks": {}, "n_list_page": {}, "capital_city": {}, "largest_city": {}, "oldest_city": {}, "established": {}, "disbanded": {}, "leader": {}, "chancellors": {}, "prime_minister": {}, "political_system": {}, "economic_system": {}, "official_language": {}, "official_religion": {}, "army_size": {}, "dominions": {}, "part_of": {}, "past_leaders": {}, "past_capitals": {}, "predecessor": {}, "successor": {}, "populationdate": {} }, "format": "block" } </templatedata>