Template:Infobox EAN country: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
  | membership = {{unbulleted list|style=line-height:normal;|item2_style=margin-top:3px;|{{{membership|[[Eulabia]]}}}|{{{legal_jurisdiction|}}}}}
  | membership = {{unbulleted list|style=line-height:normal;|item2_style=margin-top:3px;|{{{membership|[[Eulabia]]}}}|{{{legal_jurisdiction|}}}}}
  | government_type = {{{government_type|}}}
  | government_type = {{{government_type|}}}
 
|leader_title1 =   <!--(for a country, usually the head of state's (wikilinked) title, e.g. "President", "Monarch")-->
| leader_title1 = President
|leader_name1 =
| leader_title2 = First Minister
|leader_title2 =     <!--(could be "Vice President", otherwise "Prime Minster", etc, etc)-->
| leader_title3 = Deputy First Minister
|leader_name2 =
|leader_title3 =  
|leader_name3 =


<!-- NOTE: The IF statements below ensure the child infobox (intended to create a separate section for leaders under "Parliament of the United Kingdom") goes in the last transcluded "leader_name" field. For example on [[England]], only the monarch is shown, so the first two lines below are nullified (null1 and null2 being invalid field names). In the case of [[Northern Ireland]], all of the fields are used, so none of the lines are nullified. -->
<!-- NOTE: The IF statements below ensure the child infobox (intended to create a separate section for leaders under "Parliament of the United Kingdom") goes in the last transcluded "leader_name" field. For example on [[England]], only the monarch is shown, so the first two lines below are nullified (null1 and null2 being invalid field names). In the case of [[Northern Ireland]], all of the fields are used, so none of the lines are nullified. -->
| {{#if:{{{first_minister|}}}{{{deputy_first_minister|}}}|leader_name1|null1}} = {{#if:{{{first_minister|}}}{{{deputy_first_minister|}}}|{{{president|}}}}}
| {{#if:{{{deputy_first_minister|}}}|leader_name2|null2}} = {{#if:{{{deputy_first_minister|}}}|{{{first_minister|}}}}}
| leader_name{{#if:{{{deputy_first_minister|}}}|3|{{#if:{{{first_minister|}}}|2|1}}}} = {{{deputy_first_minister|{{{first_minister|{{{president|}}}}}}}}}<!--
   -->{{infobox|child=yes|headerstyle=text-align:left;|labelstyle=font-weight:normal;padding-left:10px;
   -->{{infobox|child=yes|headerstyle=text-align:left;|labelstyle=font-weight:normal;padding-left:10px;
   | header1 = {{#if:{{{secretary_of_state|}}}{{{number_of_mps|}}}|Eulabian Parliament}}
   | header1 = {{#if:{{{minister_of_state|}}}{{{number_of_mps|}}}|Eulabian Parliament}}
   | rowclass2 = mergedrow
   | rowclass2 = mergedrow
   | label2 = {{#if:{{{secretary_of_state|}}}|•&nbsp;Minister&nbsp;of&nbsp;State]]}}
   | label2 = {{#if:{{{minister_of_state|}}}|•&nbsp;Minister&nbsp;of&nbsp;State}}
   | data2 = {{{secretary_of_state|}}}
   | data2 = {{{minister_of_state|}}}
   | rowclass3 = mergedrow
   | rowclass3 = mergedrow
   | label3 = {{#if:{{{number_of_mps|}}}|•&nbsp;[[National Assembly (Eulabia)|National&nbsp;Assembly]]}}
   | label3 = {{#if:{{{minister_of_state|}}}|•&nbsp;Councillors}}
   | data3 = {{#if:{{{number_of_mps|}}}|{{{number_of_mps|}}} MPs]] (of 800)}}
  | data3 = {{{councillors|}}}
  | rowclass4 = mergedrow
  | label4 = {{#if:{{{number_of_mps|}}}|•&nbsp;[[National Assembly (Eulabia)|National&nbsp;Assembly]]}}
   | data4 = {{#if:{{{number_of_mps|}}}|{{{number_of_mps|}}} MPs<br>(of 400 FPTP)}}
   | subheader = {{#if:{{both|{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}{{#ifeq:{{yesno|{{{embed|}}}}}|yes|1}}|{{{settlement_type|{{{type|}}}}}}}}|<div class="category">{{{settlement_type|{{{type}}}}}}</div>}}
   | subheader = {{#if:{{both|{{if empty|{{{name|}}}|{{{official_name|}}}|{{PAGENAMEBASE}}}}{{#ifeq:{{yesno|{{{embed|}}}}}|yes|1}}|{{{settlement_type|{{{type|}}}}}}}}|<div class="category">{{{settlement_type|{{{type}}}}}}</div>}}
}}
}}

Latest revision as of 21:11, 21 May 2024