Template:Infobox Country: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{flag|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{flag|}}}| | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{flag}}}}}| | <div class="infobox-image">[[File:{{PAGENAME:{{{flag}}}}}|200px]]</div>}} | ||
<div style="text-align: center">Flag</div>{{#if:{{{image|}}}| | <div style="text-align: center">Flag</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | ||
| Line 7: | Line 7: | ||
<th>Capital</th> | <th>Capital</th> | ||
<td>{{{capital}}}</td> | <td>{{{capital}}}</td> | ||
</tr>}}{{#if:{{{language|}}}|<tr> | |||
<th>Language</th> | |||
<td>{{{language}}}</td> | |||
</tr>}}{{#if:{{{formed|}}}|<tr> | </tr>}}{{#if:{{{formed|}}}|<tr> | ||
<th>Formed</th> | <th>Formed</th> | ||
| Line 21: | Line 24: | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"description": "The name of the country.", | |||
"example": "New Sweden", | |||
"required": true | |||
}, | |||
"flag": { | |||
"description": "The link to the flag of the country.", | |||
"example": "New Sweden Flag.png", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"description": "An additional image relating to the country.", | |||
"type": "wiki-file-name" | |||
}, | |||
"capital": { | |||
"description": "The capital of the country.", | |||
"example": "Stockholm" | |||
}, | |||
"language": { | |||
"description": "The national language(s) of the country.", | |||
"example": "English" | |||
}, | |||
"formed": { | |||
"description": "A date or year when the country was founded." | |||
}, | |||
"population": { | |||
"description": "The current population of the country.", | |||
"example": "5,145,642" | |||
}, | |||
"queen": { | |||
"description": "The current monarch of the country. Do not specify if not a monarchy.", | |||
"example": "John Doe" | |||
}, | |||
"president": { | |||
"description": "The current president of the country. Do not use if not a democracy.", | |||
"example": "Doe John" | |||
} | |||
}, | |||
"description": "Add this to countries to provide generic information." | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 05:29, 5 April 2025
Infobox Country
Flag
Add this to countries to provide generic information.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | The name of the country.
| Unknown | required |
| flag | flag | The link to the flag of the country.
| File | suggested |
| image | image | An additional image relating to the country. | File | optional |
| capital | capital | The capital of the country.
| Unknown | optional |
| language | language | The national language(s) of the country.
| Unknown | optional |
| formed | formed | A date or year when the country was founded. | Unknown | optional |
| population | population | The current population of the country.
| Unknown | optional |
| queen | queen | The current monarch of the country. Do not specify if not a monarchy.
| Unknown | optional |
| president | president | The current president of the country. Do not use if not a democracy.
| Unknown | optional |