Template:Infobox polity: Difference between revisions

From AlternateWiki
no edit summary
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{infobox
|templatestyles = Template:Infobox administrative unitpolity/styles.css
|bodyclass = ib-adminunit
|title =
Line 6:
|subheaderrowclass2 = ib-adminunit-type
|subheader2 = {{{type|}}}
|subheaderrowclass3 = ib-adminunit-type
|subheader3 = {{{life_span|}}}
|image = <!-- flag -->
{{#if: {{{flag|}}}
|{{#if: {{{logo|}}}|<div style="display:table;width:100%;position:relative;bottom:-0.3rem;"><div style="display: table-cell; padding-left: 5px; vertical-align: middle; width: 50%;">[[File:{{{flag}}}|{{{flag_border|border}}}|120px120x80px]]<br><p>{{{flag_type|Flag}}}</p></div><div style="display: table-cell; padding-right: 5px; vertical-align: middle; width: 50%;">[[File:{{{logo}}}|{{{logo_border|}}}|120px120x80px]]<br><p>{{{logo_type|Logo}}}</p></div></div>|[[File:{{{flag}}}|{{{flag_border|border}}}|120px120x80px]]<br><p>{{{flag_type|Flag}}}</p>}}
|{{#if: {{{logo|}}}|[[File:{{{logo}}}|{{{logo_border|}}}|120px120x80px]]<br><p>{{{logo_type|Logo}}}</p>|}}
}}
|image2 = {{#if: {{{image|}}}|[[File:{{{image|}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}}}]]|}}
|label3 = {{{members_type|Membership}}}
|caption2 = <div style="position: relative; top: 0.3rem">{{{image_caption|}}}</div>
|data3 = {{{members|}}}
|data1 = {{#if: {{{anthem|}}}|<b>{{{anthem_type|{{#if: {{{second_anthem|}}}|National anthem|Anthem}}}}}:</b> {{{anthem|}}}|}}
|label4 = {{{membership_type|Country}}}
|rowclass2 = mergedrow
|data4 = {{{membership|}}}
|data2 = {{#if: {{{second_anthem|}}}|<b>{{{second_anthem_type|Royal anthem}}}:</b> {{{second_anthem|}}}|}}
|data3 = {{#if: {{{motto|}}}|<b>{{{motto_type|Motto}}}</b>: {{{motto|}}}|}}
|label4 = Status
|data4 = {{{status|}}}
|rowclass5 = mergedrow
|label5 = {{{membership_join_typemembers_type|AdmisssionMembership}}}
|data5 = {{{membership_joinmembers|}}}
|label6 = {{{membership_type|Country}}}
|label6 = {{{capital_type|Capital}}}<br>{{#ifeq:{{{capital}}}|{{{largest}}}|<div style="font-weight: normal">and largest {{{largest_type|city}}}</div>|}}
|data6 = {{{capitalmembership|}}}
|rowclass7 = mergedrow
|label7 = Largest {{{largest_typemembership_type2|cityState}}}
|data7 = {{#ifeq:{{{capital|}}}|{{{largest|}}}||{{{largestmembership2|}}}}}
|rowclass8 = mergedrow
}}<noinclude>
|label8 = {{{membership_type3|}}}
=== Examples ===
|data8 = {{{membership3|}}}
==== Country ====
|label9 = {{{capital_type|Capital}}}<br>{{#ifeq:{{{capital}}}|{{{largest}}}|<div style="font-weight: normal">and largest {{{largest_type|city}}}</div>|}}
{{Infobox administrative unit
|data9 = {{{capital|}}}
|name = Commonwealth of Britain
|rowclass10 = mergedrow
|native_name = Reipublicae Britanniae (Latin)
|label10 = Largest {{{largest_type|city}}}
|type = Sovereign state
|data10 = {{#ifeq:{{{capital|}}}|{{{largest|}}}||{{{largest|}}}}}
|flag = Flag of Great Britain.svg
|label11 = {{nowrap|{{{language_type|Official language}}}}}
|members_type = Republics
|data11 = {{{language|}}}
|members = {{ubl|{{flagicon image|Flag of England.svg}} England
|rowclass12 = {{#if: {{{language|}}}|mergedrow|}}
|{{flagicon image|Flag of Scotland.svg}} Scotland
|label12 = {{nowrap|{{{languages_type|Common languages}}}}}
|{{flagicon image|Flag of Wales.svg}} Wales}}
|data12 = {{{languages|}}}
|capital = York
|largestlabel13 = LondonDemonyms
|data13 = {{{demonyms|}}}
|label14 = {{{religion_type|State religion}}}
|data14 = {{{religion|}}}
|label15 = {{#if:{{{government|}}}|{{{government_type|Government}}}|}}
|header15 = {{#if:{{{government|}}}||{{#if:{{{leader1|}}}{{{historical_leader1|}}}|{{{government_type|Government}}}}}}}
|data15 = {{{government|}}}
|label16 = <div style="font-weight: normal;text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{ideology_type|State ideology}}}</div>
|data16 = {{{ideology|}}}
|rowclass16 = mergedrow
|label17 = <div style="font-weight: normal;text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{party_type|Ruling party}}}</div>
|data17 = {{{party|}}}
|rowclass17 = mergedrow
|rowclass18 = mergedrow
|data18 = {{#if:{{{leader1|}}}|{{Infobox country/multirow|{{{title_leader1|}}} |{{{leader1|}}} |{{{title_leader2|}}} |{{{leader2|}}} |{{{title_leader3|}}} |{{{leader3|}}} |{{{title_leader4|}}} |{{{leader4|}}} |{{{title_leader5|}}} |{{{leader5|}}}|{{{title_leader6|}}} |{{{leader6|}}}|{{{title_leader7|}}} |{{{leader7|}}}|{{{title_leader8|}}} |{{{leader8|}}} }} }}
|rowclass19 = mergedrow
|header19 = {{{historical_title_leader|}}}
|rowclass20 = mergedrow
|data20 = {{#if:{{{historical_leader1|}}}|{{Infobox country/multirow|{{{historical_year1|}}} |{{{historical_leader1|}}} |{{{historical_year2|}}} |{{{historical_leader2|}}} |{{{historical_year3|}}} |{{{historical_leader3|}}} |{{{historical_year4|}}} |{{{historical_leader4|}}} |{{{historical_year5|}}} |{{{historical_leader5|}}}|{{{historical_year6|}}} |{{{historical_leader6|}}}|{{{historical_year7|}}} |{{{historical_leader7|}}}|{{{historical_year8|}}} |{{{historical_leader8|}}} }} }}
|rowclass21 = mergedrow
|header21 = {{{historical2_title_leader|}}}
|rowclass22 = mergedrow
|data22 = {{#if:{{{historical2_leader1|}}}|{{Infobox country/multirow|{{{historical2_year1|}}} |{{{historical2_leader1|}}} |{{{historical2_year2|}}} |{{{historical2_leader2|}}} |{{{historical2_year3|}}} |{{{historical2_leader3|}}} |{{{historical2_year4|}}} |{{{historical2_leader4|}}} |{{{historical2_year5|}}} |{{{historical2_leader5|}}}|{{{historical2_year6|}}} |{{{historical2_leader6|}}}|{{{historical2_year7|}}} |{{{historical2_leader7|}}}|{{{historical2_year8|}}} |{{{historical2_leader8|}}} }} }}
|rowclass23 = mergedrow
|header23 = {{{historical3_title_leader|}}}
|rowclass24 = mergedrow
|data24 = {{#if:{{{historical3_leader1|}}}|{{Infobox country/multirow|{{{historical3_year1|}}} |{{{historical3_leader1|}}} |{{{historical3_year2|}}} |{{{historical3_leader2|}}} |{{{historical3_year3|}}} |{{{historical3_leader3|}}} |{{{historical3_year4|}}} |{{{historical3_leader4|}}} |{{{historical3_year5|}}} |{{{historical3_leader5|}}}|{{{historical3_year6|}}} |{{{historical3_leader6|}}}|{{{historical3_year7|}}} |{{{historical3_leader7|}}}|{{{historical3_year8|}}} |{{{historical3_leader8|}}} }} }}
|rowclass25 = mergedrow
|header25 = {{{historical4_title_leader|}}}
|rowclass26 = mergedrow
|data26 = {{#if:{{{historical4_leader1|}}}|{{Infobox country/multirow|{{{historical4_year1|}}} |{{{historical4_leader1|}}} |{{{historical4_year2|}}} |{{{historical4_leader2|}}} |{{{historical4_year3|}}} |{{{historical4_leader3|}}} |{{{historical4_year4|}}} |{{{historical4_leader4|}}} |{{{historical4_year5|}}} |{{{historical4_leader5|}}}|{{{historical4_year6|}}} |{{{historical4_leader6|}}}|{{{historical4_year7|}}} |{{{historical4_leader7|}}}|{{{historical4_year8|}}} |{{{historical4_leader8|}}} }} }}
|header26 = {{#if:{{{upper_house|}}}{{{lower_house|}}}|{{#if:{{{legislature|}}}||{{{legislature_type|Legislature}}}}}|}}
|label27 = {{#if:{{{legislature|}}}|{{{legislature_type|Legislature}}}|}}
|data27 = {{{legislature|}}}
|rowclass28 = mergedrow
|label28 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{upper_house_type|Upper house}}}</div>
|data28 = {{{upper_house|}}}
|rowclass29 = mergedrow
|label29 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{lower_house_type|Lower house}}}</div>
|data29 = {{{lower_house|}}}
|label30 = Economy
|data30 = {{{economy|}}}
|header31 = {{#if: {{{history_year1|}}}|{{{history|History}}}|}}
|rowclass32 = mergedrow
|data32 = {{#if:{{{history_year1|}}}|{{Infobox country/multirow|{{{history_event1|}}} |{{{history_year1|}}} |{{{history_event2|}}} |{{{history_year2|}}} |{{{history_event3|}}} |{{{history_year3|}}} |{{{history_event4|}}} |{{{history_year4|}}} |{{{history_event5|}}} |{{{history_year5|}}}|{{{history_event6|}}} |{{{history_year6|}}}|{{{history_event7|}}} |{{{history_year7|}}}|{{{history_event8|}}} |{{{history_year8|}}} }} }}
|header33 = {{#if: {{{area_year|}}}||{{#if: {{{area_total|}}}|Area|}}}}
|label33 = {{#if: {{{area_year|}}}|{{#if: {{{area_total|}}}|Area|}}|}}
|data33 = {{{area_year|}}}
|rowclass34 = mergedrow
|label34 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Total</div>
|data34 = {{#if: {{{area_total|}}}|{{{area_total|}}} km<sup>2</sup>|}}
|rowclass35 = mergedrow
|label35 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Water </div>
|data35 = {{#if: {{{area_water|}}}|{{{area_water|}}} km<sup>2</sup>|}}
|header36 = {{#if: {{{population_estimate|}}}{{{population_census|}}}|Population|}}
|rowclass37 = mergedrow
|label37 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{population_estimate_year|}}} estimate</div>
|data37 = {{{population_estimate|}}}
|rowclass38 = mergedrow
|label38 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{population_census_year|}}} census</div>
|data38 = {{{population_census|}}}
|rowclass39 = mergedrow
|label39 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Density</div>
|data39 = {{{population_density|}}}
|header40 = {{#if: {{{gdp_ppp|}}}|GDP <div style="font-weight: normal;"> (PPP)</div>|}}
|rowclass41 = mergedrow
|label41 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Total</div>
|data41 = {{{gdp_ppp|}}}
|rowclass42 = mergedrow
|label42 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Per capita</div>
|data42 = {{{gdp_ppp_capita|}}}
|header43 = {{#if: {{{gdp_nominal|}}}|GDP <div style="font-weight: normal;"> (nominal)</div>|}}
|rowclass44 = mergedrow
|label44 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Total</div>
|data44 = {{{gdp_nominal|}}}
|rowclass45 = mergedrow
|label45 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Per capita</div>
|data45 = {{{gdp_nominal_capita|}}}
|label46 = Gini {{#if:{{{gini_year|}}}|({{{gini_year|}}})|}}
|data46 = {{{gini|}}}
|label47 = HDI {{#if:{{{hdi_year|}}}|({{{hdi_year|}}})|}}
|data47 = {{{hdi|}}}
|label48 = Currency
|data48 = {{{currency|}}} {{#if:{{{currency_symbol|}}}|({{{currency_symbol|}}})}} {{#if:{{{currency_code|}}}|({{{currency_code|}}})}}
|label49 = Time zone
|data49 = {{{time_zone|}}}
|rowclass50 = mergedrow
|label50 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer (DST)</div>
|data50 = {{{time_zone_dst|}}}
|label51 = Date format
|data51 = {{{date_format|}}}
|label52 = Driving side
|data52 = {{{driving_side|}}}
|label53 = Calling code
|data53 = {{{calling_code|}}}
|label54 = ISO 3166 code
|data54 = {{{iso_3166_code|}}}
|label55 = Internet TLD
|data55 = {{{internet_tld|}}}
|data80 = {{#if:{{{p1|}}}{{{s1|}}}
|{{Infobox country/formernext|flag_p1={{{flag_p1|}}}|image_p1={{{image_p1|}}}|p1={{{p1|}}}|border_p1={{{border_p1|}}}|flag_p2={{{flag_p2|}}}|image_p2={{{image_p2|}}}|p2={{{p2|}}}|border_p2={{{border_p2|}}}|flag_p3={{{flag_p3|}}}|image_p3={{{image_p3|}}}|p3={{{p3|}}}|border_p3={{{border_p3|}}}|flag_p4={{{flag_p4|}}}|image_p4={{{image_p4|}}}|p4={{{p4|}}}|border_p4={{{border_p4|}}}|flag_p5={{{flag_p5|}}}|image_p5={{{image_p5|}}}|p5={{{p5|}}}|border_p5={{{border_p5|}}}|flag_p6={{{flag_p6|}}}|image_p6={{{image_p6|}}}|p6={{{p6|}}}|border_p6={{{border_p6|}}}|flag_p7={{{flag_p7|}}}|image_p7={{{image_p7|}}}|p7={{{p7|}}}|border_p7={{{border_p7|}}}|flag_p8={{{flag_p8|}}}|image_p8={{{image_p8|}}}|p8={{{p8|}}}|border_p8={{{border_p8|}}}|flag_p9={{{flag_p9|}}}|image_p9={{{image_p9|}}}|p9={{{p9|}}}|border_p9={{{border_p9|}}}|flag_p10={{{flag_p10|}}}|image_p10={{{image_p10|}}}|p10={{{p10|}}}|border_p10={{{border_p10|}}}|flag_p11={{{flag_p11|}}}|image_p11={{{image_p11|}}}|p11={{{p11|}}}|border_p11={{{border_p11|}}}|flag_p12={{{flag_p12|}}}|image_p12={{{image_p12|}}}|p12={{{p12|}}}|border_p12={{{border_p12|}}}|flag_p13={{{flag_p13|}}}|image_p13={{{image_p13|}}}|p13={{{p13|}}}|border_p13={{{border_p13|}}}|flag_p14={{{flag_p14|}}}|image_p14={{{image_p14|}}}|p14={{{p14|}}}|border_p14={{{border_p14|}}}|flag_p15={{{flag_p15|}}}|image_p15={{{image_p15|}}}|p15={{{p15|}}}|border_p15={{{border_p15|}}}|flag_p16={{{flag_p16|}}}|image_p16={{{image_p16|}}}|p16={{{p16|}}}|border_p16={{{border_p16|}}}|flag_p17={{{flag_p17|}}}|image_p17={{{image_p17|}}}|p17={{{p17|}}}|border_p17={{{border_p17|}}}|flag_p18={{{flag_p18|}}}|image_p18={{{image_p18|}}}|p18={{{p18|}}}|border_p18={{{border_p18|}}}|flag_p19={{{flag_p19|}}}|image_p19={{{image_p19|}}}|p19={{{p19|}}}|border_p19={{{border_p19|}}}|flag_p20={{{flag_p20|}}}|image_p20={{{image_p20|}}}|p20={{{p20|}}}|border_p20={{{border_p20|}}}|flag_p21={{{flag_p21|}}}|image_p21={{{image_p21|}}}|p21={{{p21|}}}|border_p21={{{border_p21|}}}|flag_s1={{{flag_s1|}}}|image_s1={{{image_s1|}}}|s1={{{s1|}}}|border_s1={{{border_s1|}}}|flag_s2={{{flag_s2|}}}|image_s2={{{image_s2|}}}|s2={{{s2|}}}|border_s2={{{border_s2|}}}|flag_s3={{{flag_s3|}}}|image_s3={{{image_s3|}}}|s3={{{s3|}}}|border_s3={{{border_s3|}}}|flag_s4={{{flag_s4|}}}|image_s4={{{image_s4|}}}|s4={{{s4|}}}|border_s4={{{border_s4|}}}|flag_s5={{{flag_s5|}}}|image_s5={{{image_s5|}}}|s5={{{s5|}}}|border_s5={{{border_s5|}}}|flag_s6={{{flag_s6|}}}|image_s6={{{image_s6|}}}|s6={{{s6|}}}|border_s6={{{border_s6|}}}|flag_s7={{{flag_s7|}}}|image_s7={{{image_s7|}}}|s7={{{s7|}}}|border_s7={{{border_s7|}}}|flag_s8={{{flag_s8|}}}|image_s8={{{image_s8|}}}|s8={{{s8|}}}|border_s8={{{border_s8|}}}|flag_s9={{{flag_s9|}}}|image_s9={{{image_s9|}}}|s9={{{s9|}}}|border_s9={{{border_s9|}}}|flag_s10={{{flag_s10|}}}|image_s10={{{image_s10|}}}|s10={{{s10|}}}|border_s10={{{border_s10|}}}|flag_s11={{{flag_s11|}}}|image_s11={{{image_s11|}}}|s11={{{s11|}}}|border_s11={{{border_s11|}}}|flag_s12={{{flag_s12|}}}|image_s12={{{image_s12|}}}|s12={{{s12|}}}|border_s12={{{border_s12|}}}|flag_s13={{{flag_s13|}}}|image_s13={{{image_s13|}}}|s13={{{s13|}}}|border_s13={{{border_s13|}}}|flag_s14={{{flag_s14|}}}|image_s14={{{image_s14|}}}|s14={{{s14|}}}|border_s14={{{border_s14|}}}|flag_s15={{{flag_s15|}}}|image_s15={{{image_s15|}}}|s15={{{s15|}}}|border_s15={{{border_s15|}}}|flag_s16={{{flag_s16|}}}|image_s16={{{image_s16|}}}|s16={{{s16|}}}|border_s16={{{border_s16|}}}|flag_s17={{{flag_s17|}}}|image_s17={{{image_s17|}}}|s17={{{s17|}}}|border_s17={{{border_s17|}}}|flag_s18={{{flag_s18|}}}|image_s18={{{image_s18|}}}|s18={{{s18|}}}|border_s18={{{border_s18|}}}|flag_s19={{{flag_s19|}}}|image_s19={{{image_s19|}}}|s19={{{s19|}}}|border_s19={{{border_s19|}}}|flag_s20={{{flag_s20|}}}|image_s20={{{image_s20|}}}|s20={{{s20|}}}|border_s20={{{border_s20|}}}|flag_s21={{{flag_s21|}}}|image_s21={{{image_s21|}}}|s21={{{s21|}}}|border_s21={{{border_s21|}}}}}
}}
| data100 = {{#if:{{{footnote1|}}}{{{footnote2|}}}{{{footnote3|}}}{{{footnote4|}}}{{{footnote5|}}}{{{footnote6|}}}{{{footnote7|}}}{{{footnote8|}}}
{{Infobox administrative unit
|<div class="ib-country-fn"><ol class="ib-country-fn-num">
|name = English Republic
{{#if:{{{footnote1|}}}|<li value=1>{{{footnote1|}}}</li>
|native_name = Respublica Anglica (Latin)
}}{{#if:{{{footnote2|}}}|<li value=2>{{{footnote2|}}}</li>
|type = Republic of the Commonwealth of Britain
}}{{#if:{{{footnote3|}}}|<li value=3>{{{footnote3|}}}</li>
|flag = Flag of England.svg
}}{{#if:{{{footnote4|}}}|<li value=4>{{{footnote4|}}}</li>
|membership = Commonwealth of Britain
}}{{#if:{{{footnote5|}}}|<li value=5>{{{footnote5|}}}</li>
|membership_join_type = Creation
}}{{#if:{{{footnote6|}}}|<li value=6>{{{footnote6|}}}</li>
|membership_join = 1 June 2032
}}{{#if:{{{footnote7|}}}|<li value=7>{{{footnote7|}}}</li>
|capital = London
}}{{#if:{{{footnote8|}}}|<li value=8>{{{footnote8|}}}</li>}}
|largest = London
</ol></div>}}
}}</noinclude>
| data101 = {{#if:{{{footnotes|}}}|<div class="ib-country-fn">{{{footnotes}}}{{#if:{{{footnotes2|}}}|<br>{{{footnotes2}}}}}</div>}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.