Welcome to the Virtual Education Wiki ~ Open Education Wiki
Template:Country infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary Tag: Manual revert |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:officialname (label=Official name;property=Has official name)|capital (label=Capital city;property=Has capital)|popn (label=Population;property=Has population)|ccode (label=Country code (ISO 3166);property=Has country code)|natlang (label=National language(s);list;property=Has national language)|reglang (label=Regional languages;list;property=Has regional language)|partof (label=Is included in;list;property=Is part of)}} | {{#template_params:officialname (label=Official name;property=Has official name) | ||
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | |capital (label=Capital city;property=Has capital) | ||
|popn (label=Population;property=Has population) | |||
|ccode (label=Country code (ISO 3166);property=Has country code) | |||
|natlang (label=National language(s);list;property=Has national language) | |||
|reglang (label=Regional languages;list;property=Has regional language) | |||
|partof (label=Is included in;list;property=Is part of)}} | |||
</noinclude> | |||
<includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | |||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
Line 8: | Line 15: | ||
|- | |- | ||
! Capital city | ! Capital city | ||
| [[Has capital::{{{capital|}}}]] | | [[Has capital::{{{capital|}}}]] - [[{{BASEPAGENAME}}/OER]] says {{#show:{{BASEPAGENAME}}/OER|?Has capital}} | ||
|- | |- | ||
! Population | ! Population | ||
| [[Has population::{{{popn|}}}]] | | [[Has population::{{{popn|}}}]] - [[{{BASEPAGENAME}}/OER]] says {{#show:{{BASEPAGENAME}}/OER|?Has population}} | ||
|- | |- | ||
! Country code (ISO 3166) | ! Country code (ISO 3166) |
Latest revision as of 20:37, 15 May 2023
This is the "Country infobox" template.
It should be called in the following format:
{{Country infobox |officialname= |capital= |popn= |ccode= |natlang= |reglang= |partof= }}
Edit the page to see the template text.