Template:Infobox EAN country: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
  | government_type = {{{government_type|}}}
  | government_type = {{{government_type|}}}


| leader_title1 = President
| leader_title1 = President
  | leader_title2 = First Minister
  | leader_title2 = First Minister
  | leader_title3 = Deputy First Minister
  | leader_title3 = Deputy First Minister
Line 17: Line 17:
  | {{#if:{{{deputy_first_minister|}}}|leader_name2|null2}} = {{#if:{{{deputy_first_minister|}}}|{{{first_minister|}}}}}
  | {{#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|}}}}}}}}}<!--
  | leader_name{{#if:{{{deputy_first_minister|}}}|3|{{#if:{{{first_minister|}}}|2|1}}}} = {{{deputy_first_minister|{{{first_minister|{{{president|}}}}}}}}}<!--
<!-- 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. -->
   -->{{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:{{{number_of_mps|}}}|•&nbsp;[[National Assembly (Eulabia)|National&nbsp;Assembly]]}}
   | data3 = {{#if:{{{number_of_mps|}}}|{{{number_of_mps|}}} MPs]] (of 800)}}
   | data3 = {{#if:{{{number_of_mps|}}}|{{{number_of_mps|}}} MPs (of 800)}}
   | 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>}}
}}
}}

Revision as of 18:48, 21 May 2024