Template:Infobox country: Difference between revisions
m
Tried to fix Coat of Arms display issue + widened the flag parameter by 25px.
No edit summary |
m (Tried to fix Coat of Arms display issue + widened the flag parameter by 25px.) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 28:
| image1 = {{#if:{{{image_coat|}}}{{{image_symbol|}}}{{{image_flag|}}}{{{image_flag2|}}}
|{{infobox country/imagetable
|image1a = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{{image_flag|}}}|sizedefault=125px|size={{{flag_width|{{{flag_size|}}}}}}|maxsize=
|image1b = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{{image_flag2|}}}|sizedefault=125px|size={{{flag_width|}}}|maxsize=250|border={{yesno |{{{flag2_border|}}}|yes=yes|blank=yes}}|alt={{{alt_flag2|{{{flag_alt2|}}}}}}}}
|caption1= {{#ifexist:{{if empty |{{{flag_type_article|}}} |{{{flag|}}} | {{if empty |{{{flag_type|}}} |Flag}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} |[[{{if empty |{{{flag_type_article|}}} |{{{flag|}}} |{{if empty |{{{flag_type|}}} |Flag}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }}|{{if empty |{{{flag_caption|}}} |{{{flag_type|}}} |Flag}}]] |{{if empty |{{{flag_caption|}}} |{{{flag_type|}}} |Flag}} }}
Line 169:
| data18 = {{{languages2|}}}
| label19 =
-->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}}
| data19 = {{{ethnic_groups|}}}
Line 177:
| data20 = {{{religion|}}}
| label21 =
| data21 = {{#if:{{{demonym|}}}
|{{#ifexist:{{{demonym}}} people
Line 233:
| data40 = {{{legislature|}}}
| rowclass41 = mergedrow
| label41 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{#if:{{{type_house1|}}}|{{{type_house1}}}|
| data41 = {{{upper_house|{{{house1|}}}}}}
| rowclass42 = mergedbottomrow
| label42 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{#if:{{{type_house2|}}}|{{{type_house2}}}|
| data42 = {{{lower_house|{{{house2|}}}}}}
Line 263:
| rowclass60 = mergedtoprow
| header60 = {{#if:{{{
| {{#if:{{{area_link|}}}
| [[{{{area_link}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]]
Line 272:
-->}} }}
| rowclass61 = {{#if:{{{
| label61 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{{area_label|Total}}}{{{FR_foot4|}}}</div>
| data61 = {{#if:{{{
|{{#if:{{{
|{{convinfobox|{{{
|{{#if:{{{area_ha|}}}{{{area_acre|}}}
|{{convinfobox|{{{area_ha|}}}|ha|{{{area_acre|}}}|acre|abbr=on}}
Line 283:
}}
| rowclass62 = {{#if:{{{
| label62 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Land</div>
| data62 = {{#if:{{{
|{{#if:{{{
|{{convinfobox|{{{
|{{#if:{{{area_land_ha|}}}{{{area_land_acre|}}}
|{{convinfobox|{{{area_land_ha|}}}|ha|{{{area_land_acre|}}}|acre|abbr=on}}
Line 296:
| rowclass63 = {{#if:{{{FR_metropole|}}}{{{area_label2|}}}{{{area_label3|}}}{{{percent_water|}}}{{{stat_area1|}}}{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label63 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Water</div>
| data63 = {{#if:{{{
|{{#if:{{{
|{{convinfobox|{{{
|{{#if:{{{area_water_ha|}}}{{{area_water_acre|}}}
|{{convinfobox|{{{area_water_ha|}}}|ha|{{{area_water_acre|}}}|acre|abbr=on}}
Line 319:
| rowclass67 = {{#if:{{{FR_metropole|}}}{{{stat_area2|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label67 = {{{stat_year1|}}}{{{ref_area1|}}}
| data67 = {{#if: {{{stat_area1|}}} | {{convinfobox|{{{stat_area1|}}}|
| rowclass68 = {{#if:{{{FR_metropole|}}}{{{stat_area3|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label68 = {{{stat_year2|}}}{{{ref_area2|}}}
| data68 = {{#if: {{{stat_area2|}}} | {{convinfobox|{{{stat_area2|}}}|
| rowclass69 = {{#if:{{{FR_metropole|}}}{{{stat_area4|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label69 = {{{stat_year3|}}}{{{ref_area3|}}}
| data69 = {{#if: {{{stat_area3|}}} | {{convinfobox|{{{stat_area3|}}}|
| rowclass70 = {{#if:{{{FR_metropole|}}}{{{stat_area5|}}}|mergedrow|mergedbottomrow}}
| label70 = {{{stat_year4|}}}{{{ref_area4|}}}
| data70 = {{#if: {{{stat_area4|}}} | {{convinfobox|{{{stat_area4|}}}|
| rowclass71 = {{#if:{{{FR_metropole|}}}|mergedrow|mergedbottomrow}}
| label71 = {{{stat_year5|}}}{{{ref_area5|}}}
| data71 = {{#if: {{{stat_area5|}}} | {{convinfobox|{{{stat_area5|}}}|
| rowclass72 = mergedrow
Line 344:
| label73 = <div style="text-indent:0.5em;margin-left:1em;font-weight:normal;">• [[Institut Géographique National|IGN]]{{{FR_foot2|}}}</div>
| data73 = {{#if:{{{FR_metropole|}}}
|{{#if:{{{
|{{convinfobox|{{{
}}
}}
Line 351:
| label89 = <div style="text-indent:0.5em;margin-left:1em;font-weight:normal;">• [[Cadastre]]{{{FR_foot3|}}}</div>
| data89 = {{#if:{{{FR_metropole|}}}
|{{#if:{{{
| {{convinfobox|{{{
}}
}}
Line 409:
| rowclass99 = mergedbottomrow
| label99= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Density{{{FR_foot5|}}}</div>
| data99= {{#if:{{{
| {{convinfobox|{{{
-->{{#if:{{{population_density_rank|}}} | ([[List of countries and dependencies by population density|{{{population_density_rank}}}]])}}
}}
Line 416:
| label100 = Membership
| data100= {{{nummembers|}}}
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
| data109= {{{currency|}}}
| rowclass119= {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |mergedtoprow}}
Line 611 ⟶ 504:
| belowclass = mergedtoprow noprint
| below = {{#if:{{{navbar|}}}| {{navbar|{{{navbar|}}}}} }}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox country with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox country]] with unknown parameter "_VALUE_"|ignoreblank=y| admin_center_type | admin_center | alt_coat | alt_flag | alt_flag2 | alt_map | alt_map2 | alt_map3 | alt_symbol | anthem | anthems | antipodes | area_acre | area_data2 | area_data3 | area_footnote | area_ha |
{{#if:{{both|{{{image_coat|}}}|{{{image_symbol|}}}}}|[[Category:Pages using infobox country with syntax problems|A]]
}}{{#if:{{both|{{{alt_coat|}}}|{{{alt_symbol|}}}}}|[[Category:Pages using infobox country with syntax problems|B]]
Line 622 ⟶ 515:
}}{{#if:{{both|{{{recognized_national_languages|}}}|{{{recognised_national_languages|}}}}}{{both|{{{recognized_regional_languages|}}}|{{{recognised_regional_languages|}}}}}|[[Category:Pages using infobox country with syntax problems|I]]
}}{{#if:{{{official_languages|}}}||{{#if:{{{recognized_languages|}}}{{{recognised_languages|}}}{{{recognized_national_languages|}}}{{{recognised_national_languages|}}}{{{recognized_regional_languages|}}}{{{recognised_regional_languages|}}}|[[Category:Pages using infobox country with syntax problems|J]]}}
}}{{#if:{{both|{{{
}}{{#if:{{both|{{{DST|}}}|{{{time_zone_DST|}}}}}|[[Category:Pages using infobox country with syntax problems|L]]
}}{{#if:{{{time_zone|}}}{{{utc_offset|}}}||{{#if:{{{time_zone_DST|}}}{{{utc_offset_DST|}}}|[[Category:Pages using infobox country with syntax problems|M]]}}
Line 639 ⟶ 532:
}}<!--End of former country tracking cats--><noinclude>
{{documentation}}
Example:
{{Infobox country|conventional_long_name=Republic of New Netherland|largest_city=[[New Amsterdam]]|lower_house=Lower Chamber|upper_house=Upper Chamber|legislature=States-General|religion=Calvinism </br> [[Catholic Church]] </br> Lutheranism </br> Anabaptism </br> Others|national_motto="Bewapen de Amerikaeners"|regional_languages=English (in [[New Anglia]])|official_languages=[[Amerikaens]]|capital=[[New Amsterdam]]|native_name=Republiek Nieuw-Nederlandt|currency_code=NND|currency=New Netherland daelder|established=1795|map_width=225px|flag_width=175px|image_map=Locator_NewNetherland.png|image_flag=Flag of New Netherland.svg|government_type=Republic}}
</noinclude>
|