Template:Infobox country/status text: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(starting - still need to tweak) |
m (1 revision imported) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{status_text|}}} |{{{status_text}}} |{{#switch:{{ucfirst:{{{status|}}}}} |
|||
|{{!}}colspan="3" style="vertical-align:middle; text-align:center; font-size:115%;"{{!}} |
|||
|{{#switch:{{ucfirst:{{{status|}}}}} |
|||
<!----Values for "status" given in the first line of this #switch will not display the status bar IF nothing is given for "status_text" OR "empire":----> |
|||
|Empire |Federation |Federal |Confederation |State union |State Union |Union |City-state |City state |City State |City= |
|||
|#default={{!}}colspan="3" style="vertical-align:middle; text-align:center; font-size:115%;"{{!}} <!-- |
|||
-->}}<!-- |
|||
-->}}<!-- |
|||
Display contents of status bar. Values placed in the first line of the above switch should have their values commented out (within the status_text check): |
|||
-->{{#if:{{{status_text|}}} |{{{status_text}}} |{{#switch:{{ucfirst:{{{status|}}}}} |
|||
|Empire=<!--Empire--> |
|Empire=<!--Empire--> |
||
|Nomadic empire|Nomadic Empire=[[Nomadic empire]] |
|Nomadic empire|Nomadic Empire=[[Nomadic empire]] |
||
Line 20: | Line 11: | ||
|City-state |City-State |City state |City State |
|City-state |City-State |City state |City State |
||
|City={{#if:{{{empire|}}} |
|City={{#if:{{{empire|}}} |
||
| {{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[Free Imperial City]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<br/ |
| {{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[Free Imperial City]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|<br/>(until 1806)}}|}} |#default=City-state {{#if:{{{empire|}}}|of [[{{{empire}}}]]|}} }} |
||
|<!--City-state--> |
|<!--City-state--> |
||
}} |
}} |
||
Line 45: | Line 36: | ||
| Puppet state ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}} |
| Puppet state ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}} |
||
}} |
}} |
||
|Vassal={{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[States of the Holy Roman Empire|State]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806| |
|Vassal={{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[States of the Holy Roman Empire|State]] of the [[Holy Roman Empire]] {{#if:{{{year_end|}}}|{{#ifexpr:{{{year_end}}}>1806|(until 1806)}}|}} |#default=Vassal{{#if:{{{empire|}}}| of {{{empire}}}| ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |
||
|Fief={{#switch:{{{empire|}}} |#default=Fief{{#if:{{{empire|}}}| of {{{empire}}}| ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |
|Fief={{#switch:{{{empire|}}} |#default=Fief{{#if:{{{empire|}}}| of {{{empire}}}| ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |
||
|Abbey={{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[Imperial Abbey]] of the [[Holy Roman Empire]] {{Main other|[[Category:Imperial abbeys|{{{common_name}}}]]}} |#default=Abbey{{#if:{{{empire|}}}| of {{{empire}}}| ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |
|Abbey={{#switch:{{{empire|}}} |Holy Roman Empire |HRE=[[Imperial Abbey]] of the [[Holy Roman Empire]] {{Main other|[[Category:Imperial abbeys|{{{common_name}}}]]}} |#default=Abbey{{#if:{{{empire|}}}| of {{{empire}}}| ''of whom?'' {{#if:{{{_noautocat|<noinclude>yes</noinclude>}}}||[[Category:Former country articles requiring maintenance|S]]}}}} }} |
||
Line 75: | Line 66: | ||
}} |
}} |
||
|#default={{{status}}} |
|#default={{{status}}} |
||
}} |
|||
}} }}{{#if:{{{status_text|}}}|{{#ifeq:{{ucfirst:{{{status|}}}}}|Colony|{{main other|[[Category:Former country articles using status text with Colony or Exile]]}}|{{#ifeq:{{ucfirst:{{{status|}}}}}|Exile|{{main other|[[Category:Former country articles using status text with Colony or Exile]]}}}}}}}} |
|||
}}<noinclude> |
|||
{{documentation|content= |
|||
This subtemplate is used to simplify the code of {{tl|infobox country}}. It should not be used directly. |
|||
}}</noinclude> |
Latest revision as of 21:02, 25 April 2020
{{{status}}}
Template documentation
This subtemplate is used to simplify the code of {{infobox country}}. It should not be used directly.