Template:Town: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Fixed some bugs.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|<div> | |<div> | ||
{| 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" | ||
|- | |- style="{{#if:{{{title1|}}}| |display: none;}}" | ||
! colspan="2" style="text-align:center; color:# | ! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:200%;" | {{{name|<font color="black">{{{title1}}}</font>}}} | ||
|- style="text-align:center;" | |- style="text-align:center;{{#if:{{{type|}}}| |display: none;}}" | ||
! colspan="2" style="text-align:center; color:#202122; background:#E6E6FA; font-size:100%;" | {{{type|<font color="black">{{{type}}}</font>}}} | |||
|- style="text-align:center;{{#if:{{{Full_name|}}}| |display: none;}}" | |||
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:100%;" | {{{Full_name|<font color="black">{{{Full_name}}}</font>}}} | |||
|- | |- | ||
{{#if:{{{image1<includeonly>|</includeonly>}}} | | {{#if:{{{image1<includeonly>|</includeonly>}}} | | ||
Line 25: | Line 28: | ||
|- | |- | ||
! 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:{{{Nation|}}}| |display: none;}}" valign="top" | '''Nation''' | | style="{{#if:{{{Nation|}}}| |display: none;}}" valign="top" | '''Nation''' | ||
Line 63: | Line 60: | ||
| style="{{#if:{{{official_religion|}}}| |display: none;}}" class="infoboxcell" 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="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|}}} | |||
|- | |- | ||
! 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''' | ||
|- 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="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| 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_title1||}}}| |display: none;}}" valign="top" | '''{{{otherleader_title1|}}}''' | |||
| style="{{#if:{{{otherleader_title1||}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{otherleader1|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{otherleader_title2||}}}| |display: none;}}" valign="top" | '''{{{otherleader_title2|}}}''' | |||
| style="{{#if:{{{otherleader_title2||}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{otherleader2|}}} | |||
|- 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''' | ||
| style="{{#if:{{{councillors|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{councillors|}}} | | style="{{#if:{{{councillors|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{councillors|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{representative_title1|}}}| |display: none;}}" valign="top" | '''{{{representative_title1}}}''' | | style="{{#if:{{{representative_title1|}}}| |display: none;}}" valign="top" | '''{{{representative_title1}}}''' | ||
Line 98: | Line 103: | ||
| 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> | ||
{{ | {{Town | ||
| | |color=Example | ||
| | |eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}} | ||
| | |title1=Example | ||
|type=Example | |||
| | |||
|Full_name=Example | |Full_name=Example | ||
|image1=Example | |||
|image2=Example | |||
|image3=Example | |||
|Motto=Example | |Motto=Example | ||
|Nation=Example | |Nation=Example | ||
Line 121: | Line 126: | ||
|official_religion=Example | |official_religion=Example | ||
|mayor=Example | |mayor=Example | ||
|otherleader1=Example | |||
|otherleader_title1=Example | |||
|otherleader2=Example | |||
|otherleader_title2=Example | |||
|councillors=Example | |councillors=Example | ||
|political_system=Example | |political_system=Example |
Latest revision as of 11:55, 1 March 2025
|
Example Usage:
{{Town |color=Example |eras={{Eras|beta|beginning|hype|decline|crepuscular|flooding}} |title1=Example |type=Example |Full_name=Example |image1=Example |image2=Example |image3=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 |otherleader1=Example |otherleader_title1=Example |otherleader2=Example |otherleader_title2=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 }}