|
|
| (One intermediate revision by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly>
| |
| {| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:300px; font-size:90%; border:1px solid #aaa;"
| |
| |-
| |
| ! colspan="2" style="text-align:center; font-size:125%; padding:5px; background:#cee0f2;" | {{#if:{{{title1|}}}|{{{title1}}}|{{PAGENAME}}}}
| |
| {{#if:{{{image1|}}}|
| |
| |-
| |
| | colspan="2" style="text-align:center; padding:5px;" | [[File:{{{image1}}}|280px]]{{#if:{{{caption-image1|}}}|<br/><small>{{{caption-image1}}}</small>|}}
| |
| |}}
| |
| {{#if:{{{image2|}}}|
| |
| |-
| |
| | colspan="2" style="text-align:center; padding:5px;" | [[File:{{{image2}}}|280px]]{{#if:{{{caption-image2|}}}|<br/><small>{{{caption-image2}}}</small>|}}
| |
| |}}
| |
| {{#if:{{{national_anthem|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; width:40%; padding:4px;" | National Anthem
| |
| | style="padding:4px;" | {{{national_anthem}}}
| |
| |}}
| |
| {{#if:{{{capital|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Capital
| |
| | style="padding:4px;" | {{{capital}}}
| |
| |}}
| |
| {{#if:{{{largest_city|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Largest City
| |
| | style="padding:4px;" | {{{largest_city}}}
| |
| |}}
| |
| {{#if:{{{national_language|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | National Language
| |
| | style="padding:4px;" | {{{national_language}}}
| |
| |}}
| |
| {{#if:{{{religion|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Religion
| |
| | style="padding:4px;" | {{{religion}}}
| |
| |}}
| |
| {{#if:{{{demonym|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Demonym(s)
| |
| | style="padding:4px;" | {{{demonym}}}
| |
| |}}
| |
| {{#if:{{{government|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Government
| |
| | style="padding:4px;" | {{{government}}}
| |
| |}}
| |
| {{#if:{{{total_area|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Total Area
| |
| | style="padding:4px;" | {{{total_area}}}
| |
| |}}
| |
| {{#if:{{{population|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Population
| |
| | style="padding:4px;" | {{{population}}}
| |
| |}}
| |
| {{#if:{{{currency|}}}|
| |
| |-
| |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Currency
| |
| | style="padding:4px;" | {{{currency}}}
| |
| |}}
| |
| |}
| |
| </includeonly>
| |
| <noinclude>
| |
| == Usage ==
| |
| Copy and paste the following to use this template:
| |
| <pre>
| |
| {{Country_(FINAL)
| |
| | title1 =
| |
| | image1 =
| |
| | caption-image1 =
| |
| | image2 =
| |
| | caption-image2 =
| |
| | national_anthem =
| |
| | capital =
| |
| | largest_city =
| |
| | national_language =
| |
| | religion =
| |
| | demonym =
| |
| | government =
| |
| | total_area =
| |
| | population =
| |
| | currency =
| |
| }}
| |
| </pre>
| |
|
| |
|
| == Example ==
| |
| <pre>
| |
| {{Country_(FINAL)
| |
| | title1 = The Enclave
| |
| | national_anthem = "The Star Spangled Banner-- Bezorian Mix"
| |
| | capital = Bidenkeep, Exegar
| |
| | largest_city = Bidenkeep, Exegar
| |
| | religion = Mummyism
| |
| | government = The Mummy
| |
| | population = between 1,000,000 and 100,000,000,000
| |
| | currency = Waifurian Dollar
| |
| }}
| |
| </pre>
| |
|
| |
| <templatedata>
| |
| {
| |
| "description": "Infobox for countries",
| |
| "params": {
| |
| "title1": {
| |
| "label": "Title",
| |
| "description": "Title of the infobox, defaults to page name if left empty",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "image1": {
| |
| "label": "Image 1",
| |
| "description": "First image filename e.g. Example.png",
| |
| "type": "wiki-file-name",
| |
| "suggested": true
| |
| },
| |
| "caption-image1": {
| |
| "label": "Caption for Image 1",
| |
| "description": "Caption displayed below the first image",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "image2": {
| |
| "label": "Image 2",
| |
| "description": "Second image filename e.g. Example.png",
| |
| "type": "wiki-file-name",
| |
| "suggested": true
| |
| },
| |
| "caption-image2": {
| |
| "label": "Caption for Image 2",
| |
| "description": "Caption displayed below the second image",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "national_anthem": {
| |
| "label": "National Anthem",
| |
| "description": "The national anthem of the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "capital": {
| |
| "label": "Capital",
| |
| "description": "The capital city of the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "largest_city": {
| |
| "label": "Largest City",
| |
| "description": "The largest city in the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "national_language": {
| |
| "label": "National Language",
| |
| "description": "The national language(s) of the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "religion": {
| |
| "label": "Religion",
| |
| "description": "The official or majority religion",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "demonym": {
| |
| "label": "Demonym(s)",
| |
| "description": "The demonym for people of this country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "government": {
| |
| "label": "Government",
| |
| "description": "The type or name of government",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "total_area": {
| |
| "label": "Total Area",
| |
| "description": "The total area of the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "population": {
| |
| "label": "Population",
| |
| "description": "The population of the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "currency": {
| |
| "label": "Currency",
| |
| "description": "The currency used in the country",
| |
| "type": "string",
| |
| "suggested": true
| |
| }
| |
| },
| |
| "sets": [],
| |
| "maps": {}
| |
| }
| |
| </templatedata>
| |
| </noinclude>
| |