Template:Nation: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>PrestusHood
No edit summary
(Undo revision 238781 by 1199231492891619418 (talk))
Tag: Undo
 
(95 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<infobox>
{| 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"
  <title source="title1"/>
|-
  <image source="image1">
|<div>
    <caption source="caption1"/>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
  </image>
|-
  <group>
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{image1name|<font color="white">{{{title1}}}</font>}}}
    <header>Coat of arms</header>
|- style="text-align:center;"
    <image source="image2">
|- style="{{#if:{{{partOf|}}}| |display: none;}}"
      <caption source="caption2"/>
| colspan="2" style="text-align:center; color:#000000; background:#4DE4FF; font-size:90%;box-shadow:inset 0px 0px 0px 3px #00A4C2;padding:7px;" | '''{{{partOf}}}'''
    </image>
|-
    <data source="full_name">
{{#if:{{{image1<includeonly>|</includeonly>}}} |
      <label>Full name</label>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
    </data>
{{!}}-
    <data source="name_in_towny">
}}
      <label>Name in towny</label>
|- style="{{#if:{{{hidecoat|}}}|display: none;| |}}"
    </data>
! colspan="2" style="{{#if:{{{hidecoat|}}}|display: none;| |}} text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{image2name|<font color="white">Coat of Arms</font>}}}
    <data source="motto">
|- style="text-align:center;"
      <label>Motto</label>
|-
    </data>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
    <data source="/n_list_page">
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image2}}}
      <label>/n list page</label>
{{!}}-
    </data>
}}
    <data source="capital_city">
|-
      <label>Capital city</label>
! colspan="2" style="{{#if:{{{hideteritory|}}}|display: none;| |}} text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{image3name|<font color="white">Territory</font>}}}
    </data>
|- style="text-align:center;"
    <data source="largest_city">
|-
      <label>Largest city</label>
{{#if:{{{image1<includeonly>|</includeonly>}}} |
    </data>
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image3}}}
    <data source="oldest_city">
{{!}}-
      <label>Oldest city</label>
}}
    </data>
|-
    <data source="established">
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
      <label>Established</label>
|-
    </data>
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''National Information'''
    <data source="leader">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Leader</label>
| style="{{#if:{{{full_name|}}}| |display: none;}}width:35%;" valign="top" | '''Full Name'''
    </data>
| style="{{#if:{{{full_name|}}}| |display: none;}}width:65%;" class="infoboxcell" valign="top" | {{{full_name|}}}
    <data source="political_system">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Political system</label>
| style="{{#if:{{{towny|}}}| |display: none;}}" valign="top" | '''Towny Name'''
    </data>
| style="{{#if:{{{towny|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{towny|}}}
    <data source="economic_system">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Economic system</label>
| style="{{#if:{{{nlist|}}}| |display: none;}}" valign="top" | '''/n list'''
    </data>
| style="{{#if:{{{nlist|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nlist|}}}
    <data source="official_language">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Official language</label>
| style="{{#if:{{{formed|}}}| |display: none;}}" valign="top" | '''Formed'''
    </data>
| style="{{#if:{{{formed|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{formed|}}}
    <data source="largest_city">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Army Size</label>
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" valign="top" | '''National Anthem'''
    </data>
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{national_anthem|}}}
    <data source="dominions">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Dominions</label>
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto'''
    </data>
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{motto|}}}
    <data source="past_leaders">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Past leaders</label>
| style="{{#if:{{{population|}}}| |display: none;}}" valign="top" | '''Population'''
    </data>
| style="{{#if:{{{population|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{population|}}}
    <data source="past_capitals">
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
      <label>Past capitals</label>
| style="{{#if:{{{chunks|}}}| |display: none;}}" valign="top" | '''Chunks'''
    </data>
| style="{{#if:{{{chunks|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{chunks|}}}
  </group>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
</infobox>
| style="{{#if:{{{towns|}}}| |display: none;}}" valign="top" | '''Towns'''
<noinclude>
| style="{{#if:{{{towns|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{towns|}}}
Example usage:<pre>
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
{{EnhancedNation
| 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:{{{region|}}}| |display: none;}}" valign="top" | '''Region'''
| style="{{#if:{{{region|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{region|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{language|}}}| |display: none;}}" valign="top" | '''Language(s)'''
| style="{{#if:{{{language|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{language|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{religion|}}}| |display: none;}}" valign="top" | '''Religion(s)'''
| style="{{#if:{{{religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{religion|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
|-
! 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:{{{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:{{{leader1name|}}}| |display: none;}}" valign="top" | '''{{{leader1name}}}'''
| style="{{#if:{{{leader1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader1|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{leader2name|}}}| |display: none;}}" valign="top" | '''{{{leader2name}}}'''
| style="{{#if:{{{leader2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader2|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{leader3name|}}}| |display: none;}}" valign="top" | '''{{{leader3name}}}'''
| style="{{#if:{{{leader3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader3|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{leader4name|}}}| |display: none;}}" valign="top" | '''{{{leader4name}}}'''
| style="{{#if:{{{leader4|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader4|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{leader5name|}}}| |display: none;}}" valign="top" | '''{{{leader5name}}}'''
| style="{{#if:{{{leader5|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader5|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{executive|}}}| |display: none;}}" valign="top" | '''Executive'''
| style="{{#if:{{{executive|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{executive|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{legislature|}}}| |display: none;}}" valign="top" | '''Legislature'''
| style="{{#if:{{{legislature|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{legislature|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{constitution|}}}| |display: none;}}" valign="top" | '''Constitution'''
| style="{{#if:{{{constitution|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{constitution|}}}
|- 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:{{{provinces|}}}| |display: none;}}" valign="top" | '''Provinces'''
| style="{{#if:{{{provinces|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{provinces|}}}
|- 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:{{{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;"
| colspan="2" style="{{#if:{{{formedfrom|}}}| |display: none;}}" text-align:center; valign="top" | '''{{{formedfrom|}}}'''
|-
| style="{{#if:{{{event1|}}}| |display: none;}} width:120%;" valign="top" | • {{{event1|}}}
| style="{{#if:{{{event1date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event1date|}}}
|-
| style="{{#if:{{{event2|}}}| |display: none;}} width:120%;" valign="top" | • {{{event2|}}}
| style="{{#if:{{{event2date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event2date|}}}
|-
| style="{{#if:{{{event3|}}}| |display: none;}} width:120%;" valign="top" | • {{{event3|}}}
| style="{{#if:{{{event3date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event3date|}}}
|-
| style="{{#if:{{{event4|}}}| |display: none;}} width:120%;" valign="top" | • {{{event4|}}}
| style="{{#if:{{{event4date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event4date|}}}
|-
| style="{{#if:{{{event5|}}}| |display: none;}} width:120%;" valign="top" | • {{{event5|}}}
| style="{{#if:{{{event5date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event5date|}}}
|-
| style="{{#if:{{{event6|}}}| |display: none;}} width:120%;" valign="top" | • {{{event6|}}}
| style="{{#if:{{{event6date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event6date|}}}
|}</div>
|}<includeonly></includeonly><noinclude>
Example Usage:<pre>
{{Nation
|color=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|title1=Example
|title1=Example
|partOf=Example
|image1=Example
|image1=Example
|caption1=Example
|image2=Example
|image2=Example
|caption2=Example
|image3=Example
|full_name=Example
|full_name=Example
|name_in_towny=Example
|formed=Example
|national_anthem=[[File:Example.ogg]]
|motto=Example
|motto=Example
|/n_list_page=Example
|population=Example
|chunks=Example
|towns=Example
|capital_city=Example
|capital_city=Example
|largest_city=Example
|largest_city=Example
|towny=Example
|oldest_city=Example
|oldest_city=Example
|established=Example
|nlist=Example
|leader=Example
|formed=Example
|region=Example
|political_system=Example
|political_system=Example
|leader1name=Example
|leader1=Example
|leader2name=Example
|leader2=Example
|leader3name=Example
|leader3=Example
|leader4name=Example
|leader4=Example
|leader5name=Example
|leader5=Example
|executive=Example
|legislature=Example
|economic_system=Example
|economic_system=Example
|official_language=Example
|language=Example
|religion=Example
|army_size=Example
|army_size=Example
|dominions=Example
|provinces=Example
|past_leaders=Example
|part_of=Example
|past_capitals=Example
|constitution=Example
|discord=Example
|formedfrom=Example
|event1=Example
|event1date=Example
|event2=Example
|event2date=Example
|event3=Example
|event3date=Example
|event4=Example
|event4date=Example
|event5=Example
|event5date=Example
|event6=Example
|event6date=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 21:58, 19 March 2024

{{{title1}}}
{{{partOf}}}
{{{image1}}}
Coat of Arms
{{{image2}}}
Territory
{{{image3}}}
National Information
Full Name
Towny Name
/n list
Formed
National Anthem
Motto
Population
Chunks
Towns
Capital City
Largest City
Oldest City
Region
Language(s)
Religion(s)
Discord
Government Information
Political System
{{{leader1name}}}
{{{leader2name}}}
{{{leader3name}}}
{{{leader4name}}}
{{{leader5name}}}
Executive
Legislature
Constitution
Economic System
Provinces
Army Size
Part of
Historical Information
'

Example Usage:

{{Nation
|color=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|title1=Example
|partOf=Example
|image1=Example
|image2=Example
|image3=Example
|full_name=Example
|formed=Example
|national_anthem=[[File:Example.ogg]]
|motto=Example
|population=Example
|chunks=Example
|towns=Example
|capital_city=Example
|largest_city=Example
|towny=Example
|oldest_city=Example
|nlist=Example
|formed=Example
|region=Example
|political_system=Example
|leader1name=Example
|leader1=Example
|leader2name=Example
|leader2=Example
|leader3name=Example
|leader3=Example
|leader4name=Example
|leader4=Example
|leader5name=Example
|leader5=Example
|executive=Example
|legislature=Example
|economic_system=Example
|language=Example
|religion=Example
|army_size=Example
|provinces=Example
|part_of=Example
|constitution=Example
|discord=Example
|formedfrom=Example
|event1=Example
|event1date=Example
|event2=Example
|event2date=Example
|event3=Example
|event3date=Example
|event4=Example
|event4date=Example
|event5=Example
|event5date=Example
|event6=Example
|event6date=Example
}}