Template:Infobox country: Difference between revisions
m
Tried to fix Coat of Arms display issue + widened the flag parameter by 25px.
m (Removed red links for "upper house" and "lower house".) |
m (Tried to fix Coat of Arms display issue + widened the flag parameter by 25px.) |
||
(One intermediate revision by the same user 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=
|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}} }}
|image2 = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder={{main other||no}}|image={{if empty|{{{image_coat|}}}|{{{image_symbol|}}}}} |size={{{symbol_width|{{{coa_size|}}}}}}|sizedefault=85px|alt={{#if:{{{image_coat|}}}|{{{alt_coat|{{{coat_alt|}}}}}}|{{{alt_symbol|}}}}}|title={{{symbol_type|Coat of arms}}} of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}}}
|caption2= {{#ifexist:{{if empty |{{{symbol_type_article|}}} |{{{symbol|}}} |{{if empty |{{{symbol_type|}}} |Coat of arms}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} |[[{{if empty |{{{symbol_type_article|}}} |{{{symbol|}}} |{{if empty |{{{symbol_type|}}} |Coat of arms}} of {{if empty |{{{linking_name|}}} |{{{common_name|}}} |{{{name|}}} |{{PAGENAME}} }} }} | {{if empty |{{{symbol_type|}}} |Coat of arms}}]] |{{if empty |{{{symbol_type|}}} |Coat of arms}} }}
}} }}
Line 261 ⟶ 263:
| rowclass60 = mergedtoprow
| header60 = {{#if:{{{
| {{#if:{{{area_link|}}}
| [[{{{area_link}}}|Area {{#ifeq:{{{micronation|}}}|yes|claimed|}}]]
Line 270 ⟶ 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 281 ⟶ 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 294 ⟶ 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 317 ⟶ 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 342 ⟶ 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 349 ⟶ 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 407 ⟶ 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 502 ⟶ 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 513 ⟶ 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]]}}
|