Template:NationTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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" | {| 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" | ||
|- | |- | ||
Line 6: | Line 4: | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| 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%;" | {{{ | ! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{{title1}}}</font>}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
{{#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:#;{{#if:{{{image1|}}}||display:none;}}" {{!}}{{{image1}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- style="{{#if:{{{ | |- | ||
! colspan="2" style="{{#if:{{{image2|}}}||display:none;}}" "{{#if:{{{hidecoat|}}}|display: none;||}} text-align:center; color:"black"; background:"black"; font-size:140%;" | {{{name|<font color="black">{{#if:{{{hidecoat|}}}||Coat of Arms|}}</font>}}} | |||
|- style="text-align:center;" | |||
|- | |||
{{#if:{{{image2<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image2|}}}||display:none;}}" {{!}}{{{image2}}} | |||
{{!}}- | |||
}} | |||
|- | |||
! colspan="2" style="{{#if:{{{image3|}}}| |display: none;}}" "display: none; text-align:center; color:#FFFFFF; background:#212121; font-size:140%;" | | |||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{image3<includeonly>|</includeonly>}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{ | {{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image3|}}}||display:none;}}" {{!}}{{{image3}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- style="text-align:center;" | |||
|- | |- | ||
! colspan="2" style="{{#if:{{{ | {{#if:{{{image3<includeonly>|</includeonly>}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image4|}}}||display:none;}}" {{!}}{{{image4}}} | |||
{{!}}- | |||
}} | |||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{image3<includeonly>|</includeonly>}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;" {{!}}{{{ | {{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image5|}}}||display:none;}}" {{!}}{{{image5}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 36: | Line 44: | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''National Information''' | ! 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="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{full_name|}}}| |display: none;}} | | style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name''' | ||
| style="{{#if:{{{full_name|}}}| |display: none;}} | | 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:{{{towny|}}}| |display: none;}}" valign="top" | '''Towny Name''' | | style="{{#if:{{{towny|}}}| |display: none;}}" valign="top" | '''Towny Name''' | ||
Line 89: | Line 97: | ||
| 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:{{{leader1name|}}}| |display: none;}}" valign="top" | | | style="{{#if:{{{leader1name|}}}| |display: none;}}" valign="top" | {{{leader1name}}} | ||
| style="{{#if:{{{leader1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader1|}}} | | style="{{#if:{{{leader1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader1|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{leader2name|}}}| |display: none;}}" valign="top" | | | style="{{#if:{{{leader2name|}}}| |display: none;}}" valign="top" | {{{leader2name}}} | ||
| style="{{#if:{{{leader2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader2|}}} | | style="{{#if:{{{leader2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader2|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{leader3name|}}}| |display: none;}}" valign="top" | | | style="{{#if:{{{leader3name|}}}| |display: none;}}" valign="top" | {{{leader3name}}} | ||
| style="{{#if:{{{leader3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader3|}}} | | style="{{#if:{{{leader3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader3|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{leader4name|}}}| |display: none;}}" valign="top" | | | style="{{#if:{{{leader4name|}}}| |display: none;}}" valign="top" | {{{leader4name}}} | ||
| style="{{#if:{{{leader4|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader4|}}} | | style="{{#if:{{{leader4|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader4|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{leader5name|}}}| |display: none;}}" valign="top" | | | style="{{#if:{{{leader5name|}}}| |display: none;}}" valign="top" | {{{leader5name}}} | ||
| style="{{#if:{{{leader5|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader5|}}} | | style="{{#if:{{{leader5|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{leader5|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
Line 147: | Line 155: | ||
| style="{{#if:{{{event6date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event6date|}}} | | style="{{#if:{{{event6date|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{event6date|}}} | ||
|}</div> | |}</div> | ||
|} | |} | ||
<noinclude> | |||
Example Usage:<pre> | Example Usage:<pre> | ||
{{ | {{Nation_template_advanced | ||
|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=Example | |image1=Example | ||
|image2=Example | |image2=Example | ||
Line 207: | Line 215: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 18:53, 6 January 2024
|
Example Usage:
{{Nation_template_advanced |color=Example |eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}} |title1=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 }}