Template:Infobox country: Difference between revisions

no edit summary
[checked revision][checked revision]
(Created page with "{{infobox |templatestyles = Template:Infobox country/styles.css | bodyclass = ib-country vcard | aboveclass = adr | above = {{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} | {{#if:{{{conventional_long_name|}}} |<div class="fn org country-name">{{{conventional_long_name|}}}</div> }}{{#if:{{{native_name|}}}{{{name|}}} |<div class="ib-country-names"><!-- -->{{br separated entries...")
 
No edit summary
Line 1: Line 1:
{{infobox
|templatestyles = Template:Infobox country/styles.css
| bodyclass = ib-country vcard
| aboveclass = adr
| above =
{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}}
    | {{#if:{{{conventional_long_name|}}}
              |<div class="fn org country-name">{{{conventional_long_name|}}}</div>
        }}{{#if:{{{native_name|}}}{{{name|}}}
              |<div class="ib-country-names"><!--
                -->{{br separated entries
                    |{{{native_name|}}}
                    |{{#if:{{{name|}}}
                      |<div class="ib-country-name-style fn org country-name">{{{name|}}}</div>
                }}}}</div>
              }}<!--
          -->{{#ifeq:{{{micronation|}}}|yes
              |<span class="fn org">[[Micronation]]</span>
        }}
    }}


| subheader = {{#if:{{{life_span|}}} | {{{life_span}}} | {{#if:{{{year_start|}}}|{{{year_start}}}{{#if:{{{year_end|}}}|–{{{year_end}}} }} }} }}
<noinclude>
 
<templatedata>
| 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=250|border={{yesno |{{{flag_border|}}}|yes=yes|blank=yes}}|alt={{{alt_flag|{{{flag_alt|}}}}}}|title=Flag of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}}}}}}}}}}}}}
    |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}} }}
    |image2  = {{#invoke:InfoboxImage|
</noinclude>
</noinclude>