Template:NationInfobox: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Blanked the page)
Tag: Blanking
No edit summary
Tag: Manual revert
Line 1: Line 1:
 
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
|-
|<div>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{{title1}}}</font>}}}
|- style="text-align:center;"
|-
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
{{!}}-
}}
|-
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
|-
! colspan="2" style="{{#if:{{{hidecoat|}}}|display: none;| |}}{{#if:{{{image2|}}}| |display: none;|}} text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">Coat of Arms</font>}}}
|- style="text-align:center;"
|-
{{#if:{{{image2<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image2}}}
{{!}}-
}}
|-
! colspan="2" style="{{#if:{{{hideteritory|}}}|display: none;| |}}{{#if:{{{image3|}}}| |display: none;|}} text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">Territory</font>}}}
|- style="text-align:center;"
|-
{{#if:{{{image3<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image3}}}
{{!}}-
}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''National Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name'''
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{full_name|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" valign="top" | '''National Anthem'''
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{national_anthem|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{name_in_towny|}}}| |display: none;}}" valign="top" | '''Name in Towny'''
| style="{{#if:{{{name_in_towny|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{name_in_towny|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto'''
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{motto|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{population|}}}| |display: none;}}" valign="top" | '''Population'''
| style="{{#if:{{{population|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{Population|Population={{{population}}}|Date={{{populationdate|}}}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{chunks|}}}| |display: none;}}" valign="top" | '''Chunks'''
| style="{{#if:{{{chunks|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{chunks|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{n_list_page|}}}| |display: none;}}" valign="top" | '''/n list page'''
| style="{{#if:{{{n_list_page|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{n_list_page|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{capital_city|}}}| |display: none;}}" valign="top" | '''Capital City'''
| style="{{#if:{{{capital_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{capital_city|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{largest_city|}}}| |display: none;}}" valign="top" | '''Largest City'''
| style="{{#if:{{{largest_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{largest_city|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{oldest_city|}}}| |display: none;}}" valign="top" | '''Oldest City'''
| style="{{#if:{{{oldest_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{oldest_city|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{established|}}}| |display: none;}}" valign="top" | '''Established'''
| style="{{#if:{{{established|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{established|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{disbanded|}}}| |display: none;}}" valign="top" | '''Disbanded'''
| style="{{#if:{{{disbanded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{disbanded|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Government Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{leader|}}}| |display: none;}}" valign="top" | '''Leader'''
| style="{{#if:{{{leader|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{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="{{#if:{{{economic_system|}}}| |display: none;}}" valign="top" | '''Economic System'''
| style="{{#if:{{{economic_system|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{economic_system|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_language|}}}| |display: none;}}" valign="top" | '''Official Language'''
| style="{{#if:{{{official_language|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_language|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_religion|}}}| |display: none;}}" valign="top" | '''Official Religion'''
| style="{{#if:{{{official_religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_religion|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{army_size|}}}| |display: none;}}" valign="top" | '''Army Size'''
| style="{{#if:{{{army_size|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{army_size|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{dominions|}}}| |display: none;}}" valign="top" | '''Dominions'''
| style="{{#if:{{{dominions|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{dominions|}}}
|- 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="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Historical Information'''
|- 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|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_leaders|}}}
|- 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|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_capitals|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style='{{#if:{{{predecessor|}}}| |display: none;}}" valign="top" | '''Predecessor'''
| style='{{#if:{{{predecessor|}}}| |display:none;}}" class-infoboxcell' valign="top" | {{{predecessor|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style='{{#if:{{{successor|}}}| |display:none;}}" valign="top" | '''Successor'''
| style='{{#if:{{{successor|}}}| |display:none;}}" class-infoboxcell' valign="top" | {{{successor|}}}
|}</div>
|}
<noinclude>
Example Usage:<pre>
{{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
}}
</pre>
<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></noinclude>

Revision as of 18:25, 11 May 2022

{{{title1}}}
{{{image1}}}
Coat of Arms
{{{image2}}}
Territory
{{{image3}}}
National Information
Full Name
National Anthem
Name in Towny
Motto
Population
Chunks
/n list page
Capital City
Largest City
Oldest City
Established
Disbanded
Government Information
Leader
Chancellors
Prime Minister
Political System
Economic System
Official Language
Official Religion
Army Size
Dominions
Part of
Historical Information
Past Leaders
Past Capitals
Predecessor
Successor

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>