Template:BusinessInfoBox: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 15: Line 15:
{{!}}-
{{!}}-
}}
}}
|-
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image3}}}
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{image3}}}
Line 22: Line 23:
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
| colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Information'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''General 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" | '''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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" valign="top" | '''National Anthem'''
| style="{{#if:{{{leader_name|}}}| |display: none;}}" valign="top" | '''Owner'''
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{national_anthem|}}}
| style="{{#if:{{{leader_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader_name|}}}
|- 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:{{{commenced_operations|}}}| |display: none;}}" valign="top" | '''Commenced operations'''  
| style="{{#if:{{{name_in_towny|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{name_in_towny|}}}
| style="{{#if:{{{commenced_operations|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commenced_operations|}}}
|- 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:{{{headquarters|}}}| |display: none;}}" valign="top" | '''Headquarters'''
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{motto|}}}
| style="{{#if:{{{headquarters|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headquarters|}}}
|- 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:{{{population|}}}| |display: none;}}" valign="top" | '''Population'''
Line 45: Line 46:
| style="{{#if:{{{n_list_page|}}}| |display: none;}}" class="infoboxcell" 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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{capital_city|}}}| |display: none;}}" valign="top" | '''Based in'''
| style="{{#if:{{{capital_city|}}}| |display: none;}}" valign="top" | '''Capital City'''
| style="{{#if:{{{capital_city|}}}| |display: none;}}" class="infoboxcell" 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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
Line 62: Line 63:
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}}
| style="{{#if:{{{leader|}}}| |display: none;}}" valign="top" | '''Leader'''
|-
| style="{{#if:{{{leader|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader|}}}
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Industry 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:{{{chancellors|}}}| |display: none;}}" valign="top" | '''Chancellors'''
| style="{{#if:{{{industry|}}}| |display: none;}}" valign="top" | '''Industry'''
| style="{{#if:{{{chancellors|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{chancellors|}}}
| style="{{#if:{{{industry|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{industry|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{rank_in_industry|}}}| |display: none;}}" valign="top" | '''Rank in industry'''
| style="{{#if:{{{rank_in_industry|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{rank_in_industry|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- 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;}}" valign="top" | '''Prime Minister'''
Line 80: Line 84:
| style="{{#if:{{{economic_system|}}}| |display: none;}}" class="infoboxcell" 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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{official_language|}}}| |display: none;}}" valign="top" | '''Sports League'''
| style="{{#if:{{{official_language|}}}| |display: none;}}" valign="top" | '''Official Language'''
| style="{{#if:{{{official_language|}}}| |display: none;}}" class="infoboxcell" 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;"
Line 94: Line 98:
| style="{{#if:{{{part_of|}}}| |display: none;}}" valign="top" | '''Part of'''
| style="{{#if:{{{part_of|}}}| |display: none;}}" valign="top" | '''Part of'''
| style="{{#if:{{{part_of|}}}| |display: none;}}" class="infoboxcell" 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:{{{event1|}}}| |display: none;}}" valign="top" |{{{event1|}}}
| style="{{#if:{{{event1|}}}| |display: none;}}" valign="top" |{{{event1|}}}
| style="{{#if:{{{event1date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event1date|}}}
| style="{{#if:{{{event1date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event1date|}}}
Line 99: Line 106:
| style="{{#if:{{{past_leaders|}}}| |display: none;}}" class="infoboxcell" 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="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{past_capitals|}}}| |display: none;}}" valign="top" | '''Past Capitals'''
| style="{{#if:{{{past_headquarters|}}}| |display: none;}}" valign="top" | '''Past Headquarters'''
| style="{{#if:{{{past_capitals|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_capitals|}}}
| style="{{#if:{{{past_headquarters|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{past_headquarters|}}}
|}</div>
|}</div>
|}
|}
<noinclude>
<noinclude>
Example Usage:<pre>
Example Usage:<pre>
{{EnhancedNation
{{BusinessInfoBox
|color=Example
|color=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
Line 113: Line 120:
|image3=Example
|image3=Example
|full_name=Example
|full_name=Example
|national_anthem=[[File:Example.ogg]]
|leader_name=Example
|name_in_towny=Example
|commenced_operations=Example
|motto=Example
|headquarters=Example
|population=Example
|population=Example
|chunks=Example
|chunks=Example
Line 124: Line 131:
|established=Example
|established=Example
|disbanded=Example
|disbanded=Example
|leader=Example
|industry=Example
|chancellors=Example
|rank_in_industry=Example
|prime_minister=Example
|prime_minister=Example
|ministers=Example
|ministers=Example
Line 136: Line 143:
|part_of=Example
|part_of=Example
|past_leaders=Example
|past_leaders=Example
|past_capitals=Example
|past_headquarters=Example
|discord=Example
|discord=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 16:55, 9 May 2023

{{{title1}}}
{{{image1}}}
{{{image2}}}
{{{image3}}}
General Information
Name
Owner
Commenced operations
Headquarters
Population
Chunks
/n list page
Capital City
Largest City
Oldest City
Established
Disbanded
Discord
Industry Information
Industry
Rank in industry
Prime Minister
Ministers
Political System
Economic System
Official Language
Official Religion
Army Size
Dominions
Part of
Historical Information
Past Leaders
Past Headquarters

Example Usage:

{{BusinessInfoBox
|color=Example
|eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|King=God Emperor 32Otto_von_bismr
|image1=Example
|image2=Example
|image3=Example
|full_name=Example
|leader_name=Example
|commenced_operations=Example
|headquarters=Example
|population=Example
|chunks=Example
|/n_list_page=Example
|capital_city=Example
|largest_city=Example
|oldest_city=Example
|established=Example
|disbanded=Example
|industry=Example
|rank_in_industry=Example
|prime_minister=Example
|ministers=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_headquarters=Example
|discord=Example
}}