|
|
| Line 1: |
Line 1: |
| <includeonly> | | <includeonly> |
| {| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:300px; font-size:90%; border:1px solid #aaa;" | | {| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:300px; font-size:90%;" |
| | ! colspan="2" style="text-align:center; background:#cee0f2; font-size:125%; padding:6px;" | {{#if:{{{title1|}}}|{{{title1}}}|{{PAGENAME}}}} |
| | {{#if:{{{image1|}}}| |
| |- | | |- |
| ! colspan="2" style="text-align:center; font-size:125%; padding:5px; background:#cee0f2;" | {{#if:{{{title1|}}}|{{{title1}}}|{{PAGENAME}}}}
| | | colspan="2" style="text-align:center;" | [[File:{{{image1}}}|280px]] |
| {{#if:{{{image1|}}}|
| |
| |- | | |- |
| | colspan="2" style="text-align:center; padding:5px;" | [[File:{{{image1}}}|280px]]{{#if:{{{caption-image1|}}}|<br/><small>{{{caption-image1}}}</small>|}} | | | colspan="2" style="text-align:center;" | {{{caption-image1|}}} |
| |}} | | |}} |
| {{#if:{{{image2|}}}| | | {{#if:{{{image2|}}}| |
| |- | | |- |
| | colspan="2" style="text-align:center; padding:5px;" | [[File:{{{image2}}}|280px]]{{#if:{{{caption-image2|}}}|<br/><small>{{{caption-image2}}}</small>|}} | | | colspan="2" style="text-align:center;" | [[File:{{{image2}}}|280px]] |
| | |- |
| | | colspan="2" style="text-align:center;" | {{{caption-image2|}}} |
| |}} | | |}} |
| {{#if:{{{national_anthem|}}}| | | {{#if:{{{national_anthem|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; width:40%; padding:4px;" | National Anthem
| | | style="background:#ddeeff; font-weight:bold;" | National Anthem |
| | style="padding:4px;" | {{{national_anthem}}}
| | | {{{national_anthem|}}} |
| |}} | | |}} |
| {{#if:{{{capital|}}}| | | {{#if:{{{capital|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Capital
| | | style="background:#ddeeff; font-weight:bold;" | Capital |
| | style="padding:4px;" | {{{capital}}}
| | | {{{capital|}}} |
| |}} | | |}} |
| {{#if:{{{largest_city|}}}| | | {{#if:{{{largest_city|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Largest City
| | | style="background:#ddeeff; font-weight:bold;" | Largest City |
| | style="padding:4px;" | {{{largest_city}}}
| | | {{{largest_city|}}} |
| |}} | | |}} |
| {{#if:{{{national_language|}}}| | | {{#if:{{{national_language|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | National Language
| | | style="background:#ddeeff; font-weight:bold;" | National Language |
| | style="padding:4px;" | {{{national_language}}}
| | | {{{national_language|}}} |
| |}} | | |}} |
| {{#if:{{{religion|}}}| | | {{#if:{{{religion|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Religion
| | | style="background:#ddeeff; font-weight:bold;" | Religion |
| | style="padding:4px;" | {{{religion}}}
| | | {{{religion|}}} |
| |}} | | |}} |
| {{#if:{{{demonym|}}}| | | {{#if:{{{demonym|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Demonym(s)
| | | style="background:#ddeeff; font-weight:bold;" | Demonym(s) |
| | style="padding:4px;" | {{{demonym}}}
| | | {{{demonym|}}} |
| |}} | | |}} |
| {{#if:{{{government|}}}| | | {{#if:{{{government|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Government
| | | style="background:#ddeeff; font-weight:bold;" | Government |
| | style="padding:4px;" | {{{government}}}
| | | {{{government|}}} |
| |}} | | |}} |
| {{#if:{{{total_area|}}}| | | {{#if:{{{total_area|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Total Area
| | | style="background:#ddeeff; font-weight:bold;" | Total Area |
| | style="padding:4px;" | {{{total_area}}}
| | | {{{total_area|}}} |
| |}} | | |}} |
| {{#if:{{{population|}}}| | | {{#if:{{{population|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Population
| | | style="background:#ddeeff; font-weight:bold;" | Population |
| | style="padding:4px;" | {{{population}}}
| | | {{{population|}}} |
| |}} | | |}} |
| {{#if:{{{currency|}}}| | | {{#if:{{{currency|}}}| |
| |- | | |- |
| ! style="text-align:left; background:#ddeeff; padding:4px;" | Currency
| | | style="background:#ddeeff; font-weight:bold;" | Currency |
| | style="padding:4px;" | {{{currency}}}
| | | {{{currency|}}} |
| |}} | | |}} |
| |} | | |} |
| Line 65: |
Line 68: |
| <noinclude> | | <noinclude> |
| == Usage == | | == 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> | | <pre> |
| {{Country_(FINAL) | | {{Country_(FINAL) |
| | title1 = The Enclave | | | title1 = The Enclave |
| | national_anthem = "The Star Spangled Banner-- Bezorian Mix" | | | national_anthem = "The Star Spangled Banner-- Bezorian Mix" |
| | capital = Bidenkeep, Exegar | | | capital = Bidenkeep, Exegar |
| | largest_city = Bidenkeep, Exegar | | | largest_city = Bidenkeep, Exegar |
| | religion = Mummyism | | | religion = Mummyism |
| | government = The Mummy | | | government = The Mummy |
| | population = between 1,000,000 and 100,000,000,000 | | | population = between 1,000,000 and 100,000,000,000 |
| | currency = Waifurian Dollar | | | currency = Waifurian Dollar |
| }} | | }} |
| </pre> | | </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> | | </noinclude> |
Usage
{{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
}}