Template:Infobox EAN country: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{Infobox country | conventional_long_name = {{{conventional_long_name|{{{common_name|{{PAGENAME}}}}}}}} | common_name = {{{common_name|{{PAGENAME}}}}} | image_map = {{{image_map|{{{common_name|{{PAGENAME}}}}} in the UK and Europe.svg}}} | map_caption = {{{map_caption|}}} | membership_type = {{unbulleted list|style=line-height:normal;white-space:nowrap;|item2_style=margin-top:3px;|{{{membership_type|Sovereign state}}}|{{#if:{{{legal_jurisdiction|}}}...") |
mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| image_map = {{{image_map|{{{common_name|{{PAGENAME}}}}} in the UK and Europe.svg}}} | | image_map = {{{image_map|{{{common_name|{{PAGENAME}}}}} in the UK and Europe.svg}}} | ||
| map_caption = {{{map_caption|}}} | | map_caption = {{{map_caption|}}} | ||
| membership_type = {{unbulleted list|style=line-height:normal;white-space:nowrap;|item2_style=margin-top:3px;|{{{membership_type| | | membership_type = {{unbulleted list|style=line-height:normal;white-space:nowrap;|item2_style=margin-top:3px;|{{{membership_type|Sovereign state}}}|{{#if:{{{legal_jurisdiction|}}}|Legal jurisdiction}}}} | ||
| membership = {{unbulleted list|style=line-height:normal;|item2_style=margin-top:3px;|{{{membership|[[ | | 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 = President | |||
| leader_title2 = | | leader_title2 = First Minister | ||
| leader_title3 = | | leader_title3 = Deputy First Minister | ||
<!-- 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. --> | ||
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|}}}}}}}}}<!-- | ||
-->{{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;white-space:nowrap;;padding-left:10px; | ||
| header1 = {{#if:{{{ | | header1 = {{#if:{{{minister_of_state|}}}{{{number_of_mps|}}}|Eulabian Parliament}} | ||
| rowclass2 = mergedrow | | rowclass2 = mergedrow | ||
| label2 = {{#if:{{{ | | label2 = {{#if:{{{minister_of_state|}}}|{{#if:{{{minister_type|}}}|{{{minister_type}}}|• Minister}} responsible|{{#if:{{{minister_type|}}}|{{{minister_type}}}|• Minister}} responsible}} | ||
| data2 = {{{ | | data2 = {{#invoke:list|unbulleted|item_style=text-indent: -1em; padding-left: 1em; | ||
| 1 = {{#if:{{{minister_of_state|}}}|{{{minister_of_state|}}}{{#if:{{{minister_pfo|}}}|, {{{minister_pfo}}}}}|{{#if:{{{minister_pfo|}}}|{{{minister_pfo}}}}}}}}} | |||
| rowclass3 = mergedrow | | rowclass3 = mergedrow | ||
| label3 = {{#if:{{{number_of_mps|}}}|• [[National Assembly (Eulabia)|National Assembly]]}} | | label3 = {{#if:{{{minister_of_state|}}}|• Councillors}} | ||
| | | data3 = {{{councillors|}}} | ||
| rowclass4 = mergedrow | |||
| label4 = {{#if:{{{number_of_mps|}}}|• [[National Assembly (Eulabia)|National 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>}} | ||
}} | |||
| currency = {{{currency|}}} | | currency = {{{currency|}}} | ||
Line 36: | Line 38: | ||
| time_zone_DST = {{{time_zone_DST|}}} | | time_zone_DST = {{{time_zone_DST|}}} | ||
| utc_offset_DST = {{{utc_offset_DST|+1}}} | | utc_offset_DST = {{{utc_offset_DST|+1}}} | ||
| date_format = {{{date_format| | | date_format = {{{date_format|}}} | ||
| drives_on = {{{drives_on|}}} | | drives_on = {{{drives_on|}}} | ||
| calling_code = {{{calling_code|}}} | | calling_code = {{{calling_code|}}} |
Latest revision as of 01:34, 29 November 2024
This template is a customized wrapper for {{Infobox country}}. Any field from {{Infobox country}} can work so long as it is added to this template first. |
This infobox template is used to generate an infobox for the righthand side of a EAN Country article.
PAGENAME | |
---|---|
|
|
Government | government_type |
• President | |
Eulabian Parliament | |
• National Assembly | (of 400 FPTP) |
• Summer (DST) | UTC+1 |
{{Infobox EAN country
| conventional_long_name = <!-- defaults to page name -->
| common_name = <!-- defaults to page name -->
| native_name =
| image_flag =
| flag_caption =
| image_coat =
| symbol_width =
| symbol_type =
| national_motto =
| englishmotto =
| national_anthem =
| image_map = <!-- defaults to "common_name in the UK and Europe.svg" -->
| map_caption = <!-- defaults to "Location of common_name (dark green) – in Europe (green & dark grey) – in the United Kingdom (green)" -->
| image_map2 = <!-- Another map -->
| status =
| capital =
| coordinates =
| largest_city =
| languages_type =
| languages =
| languages2_type =
| languages2 =
| languages2_sub =
| ethnic_groups =
| ethnic_groups_year =
| ethnic_groups_ref =
| religion =
| religion_year =
| religion_ref =
| demonym =
| type =
| membership_type = <!-- defaults to "Sovereign state" -->
| membership = <!-- defaults to "Commonwealth of Eulabia" -->
| legal_jurisdiction =
| government_type =
| leader_title1 = ''leader_title1'' <!--(for a country, usually the head of state's (wikilinked) title, e.g. "President", "Monarch")-->
| leader_name1 = ''leader_name1''
| leader_title2 = <!--(could be "Vice President", otherwise "Prime Minster", etc, etc)-->
| leader_name2 =
| leader_title3 =
| leader_name3 =
| secretary_of_state =
| number_of_mps =
| legislature =
| sovereignty_type =
| sovereignty_note =
| established_event1 =
| established_date1 =
| established_event2 =
| established_date2 =
| established_event3 =
| established_date3 =
| established_event4 =
| established_date4 =
| established_event5 =
| established_date5 =
| area_rank =
| area_magnitude =
| area_km2 =
| area_sq_mi =
| percent_water =
| population_estimate =
| population_estimate_rank =
| population_estimate_year =
| population_census =
| population_census_year =
| population_density_km2 =
| population_density_sq_mi =
| population_density_rank =
| pop_den_footnote =
| GVA =
| GVA_rank =
| GVA_year =
| GVA_per_capita =
| GVA_per_capita_rank =
| GDP_PPP =
| GDP_PPP_rank =
| GDP_PPP_year =
| GDP_PPP_per_capita =
| GDP_PPP_per_capita_rank =
| GDP_nominal =
| GDP_nominal_rank =
| GDP_nominal_year =
| GDP_nominal_per_capita =
| GDP_nominal_per_capita_rank =
| Gini_year =
| Gini_change =
| Gini =
| Gini_ref =
| Gini_rank =
| HDI_year =
| HDI_change =
| HDI =
| HDI_ref =
| HDI_rank =
| currency =
| currency_code =
| time_zone =
| utc_offset =
| time_zone_DST =
| utc_offset_DST =
| date_format =
| drives_on =
| calling_code =
| cctld =
| official_website =
| footnote_a =
| footnote_b =
| footnote_c =
| footnote_d =
| footnote_e =
| footnote_f =
}}