Template:Town: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Ramencurry
No edit summary
No edit summary
 
(31 intermediate revisions by 8 users not shown)
Line 9: Line 9:
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image1}}}
{{!}}-
}}
|-
{{#if:{{{image2<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image2}}}
{{!}}-
}}
|-
{{#if:{{{image3<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image3}}}
{{!}}-
{{!}}-
}}
}}
Line 16: Line 26:
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Town Information'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Town Information'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- 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;}}" valign="top" | '''Full Name'''
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" 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:{{{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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{town_anthem|}}}| |display: none;}}" valign="top" | '''National Anthem'''
| style="{{#if:{{{Nation|}}}| |display: none;}}" valign="top" | '''Nation'''
| style="{{#if:{{{town_anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{town_anthem|}}}
| style="{{#if:{{{Nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Nation|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- 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:{{{Population|}}}| |display: none;}}" valign="top" | '''Population'''
| style="{{#if:{{{name_in_towny|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{name_in_towny|}}}
| style="{{#if:{{{Population|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Population|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto'''
| style="{{#if:{{{Chunks|}}}| |display: none;}}" valign="top" | '''Area'''
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{motto|}}}
| style="{{#if:{{{Chunks|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Chunks|}}} chunks
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{established|}}}| |display: none;}}" valign="top" | '''Established'''
| style="{{#if:{{{Coordinates|}}}| |display: none;}}" valign="top" | '''Coordinates'''
| style="{{#if:{{{established|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{established|}}}
| style="{{#if:{{{Coordinates|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Coordinates|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{disbanded|}}}| |display: none;}}" valign="top" | '''Disbanded'''
| style="{{#if:{{{Continent|}}}| |display: none;}}" valign="top" | '''Continent'''
| style="{{#if:{{{disbanded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{disbanded|}}}
| style="{{#if:{{{Continent|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Continent|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nation|}}}| |display: none;}}" valign="top" | '''Nation'''
| style="{{#if:{{{nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nation|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{population|}}}| |display: none;}}" valign="top" | '''Population'''
| style="{{#if:{{{region|}}}| |display: none;}}" valign="top" | '''Region'''
| style="{{#if:{{{population|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{population|}}}
| style="{{#if:{{{region|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{region|}}}
|- 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|}}}
|- 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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{chunks|}}}| |display: none;}}" valign="top" | '''Chunks'''
| style="{{#if:{{{official_religion|}}}| |display: none;}}" valign="top" | '''Official Religion'''
| style="{{#if:{{{chunks|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{chunks|}}}
| style="{{#if:{{{official_religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_religion|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{continent|}}}| |display: none;}}" valign="top" | '''Continent'''
| style="{{#if:{{{continent|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{continent|}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Government Information'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Government Information'''
Line 50: Line 68:
| style="{{#if:{{{mayor||}}}| |display: none;}}" valign="top" | '''Mayor'''
| style="{{#if:{{{mayor||}}}| |display: none;}}" valign="top" | '''Mayor'''
| style="{{#if:{{{mayor||}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{mayor|}}}
| style="{{#if:{{{mayor||}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{mayor|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{otherleader_title||}}}| |display: none;}}" valign="top" | '''{{{otherleader_title|}}}'''
| style="{{#if:{{{otherleader_title||}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{otherleader|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{councillors|}}}| |display: none;}}" valign="top" | '''Councillors'''
| style="{{#if:{{{councillors|}}}| |display: none;}}" valign="top" | '''Councillors'''
Line 57: Line 78:
| style="{{#if:{{{political_system|}}}| |display: none;}}" class="infoboxcell" 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:{{{representative_title1|}}}| |display: none;}}" valign="top" | '''{{{representative_title1}}}'''
| style="{{#if:{{{economic_system|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{economic_system|}}}
| style="{{#if:{{{representative_title1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{representative1|}}}
|- 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:{{{representative_title2|}}}| |display: none;}}" valign="top" | '''{{{representative_title2}}}'''
| style="{{#if:{{{official_language|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_language|}}}
| style="{{#if:{{{representative_title2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{representative2|}}}
|-
! 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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_religion|}}}| |display: none;}}" valign="top" | '''Official Religion'''
| style="{{#if:{{{Established|}}}| |display: none;}}" valign="top" | '''Established'''
| style="{{#if:{{{official_religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{official_religion|}}}
| style="{{#if:{{{Established|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Established|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Historical Information'''
| style="{{#if:{{{Disbanded|}}}| |display: none;}}" valign="top" | '''Disbanded'''
| style="{{#if:{{{Disbanded|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Disbanded|}}}
|- 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_nations|}}}| |display: none;}}" valign="top" | '''Past Nations'''
| style="{{#if:{{{past_nations|}}}| |display: none;}}" valign="top" | '''Past Nations'''
Line 77: Line 101:
| style="{{#if:{{{past_councillors|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_councillors|}}}
| style="{{#if:{{{past_councillors|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_councillors|}}}
|}</div>
|}</div>
|}
|}<noinclude>
<noinclude>
Example Usage:<pre>
Example Usage:<pre>
{{EnhancedTown
{{Town
|color=Example
|color=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|title1=Example
|title1=Example
|image1
|image1=Example
|image2
|image2=Example
|image3
|image3=Example
|full_name=Example
|Full_name=Example
|town_anthem=[[File:Example.ogg]]
|Motto=Example
|name_in_towny=Example
|Nation=Example
|motto=Example
|Population=Example
|/t_list_page=Example
|Chunks=Example
|established=Example
|Coordinates={{Coordinates|x=Example|z=Example}}
|disbanded=Example
|Continent=Example
|nation=Example
|region=Example
|population=Example
|Discord=Example
|chunks=Example
|economic_system=Example
|continent=Example
|official_language=Example
|official_religion=Example
|mayor=Example
|mayor=Example
|otherleader=Example
|otherleader_title=Example
|councillors=Example
|councillors=Example
|political_system=Example
|political_system=Example
|economic_system=Example
|representative_title1=Example
|official_language=Example
|representative1=Example
|official_religion=Example
|representative_title2=Example
|representative2=Example
|past_nations=Example
|past_nations=Example
|past_mayors=Example
|past_mayors=Example
|past_councillors=Example
|past_councillors=Example
|Established=Example
|Disbanded=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 23:54, 17 February 2024

{{{title1}}}
{{{image1}}}
{{{image2}}}
{{{image3}}}
Town Information
Full Name
Motto
Nation
Population
Area
Coordinates
Continent
Region
Discord
Economic System
Official Language
Official Religion
Government Information
Mayor
'
Councillors
Political System
{{{representative_title1}}}
{{{representative_title2}}}
Historical Information
Established
Disbanded
Past Nations
Past Mayors
Past Councillors

Example Usage:

{{Town
|color=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|title1=Example
|image1=Example
|image2=Example
|image3=Example
|Full_name=Example
|Motto=Example
|Nation=Example
|Population=Example
|Chunks=Example
|Coordinates={{Coordinates|x=Example|z=Example}}
|Continent=Example
|region=Example
|Discord=Example
|economic_system=Example
|official_language=Example
|official_religion=Example
|mayor=Example
|otherleader=Example
|otherleader_title=Example
|councillors=Example
|political_system=Example
|representative_title1=Example
|representative1=Example
|representative_title2=Example
|representative2=Example
|past_nations=Example
|past_mayors=Example
|past_councillors=Example
|Established=Example
|Disbanded=Example
}}