Template:Infobox country: Difference between revisions
Jump to navigation
Jump to search
Harrystein (talk | contribs) m (error) |
Harrystein (talk | contribs) m (adding italic to mapnote (hope it works)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
! colspan="2" | {{{englishname|}}}<br><small>{{{nativename|}}}</small> | ! colspan="2" | {{{englishname|}}}<br><small>{{{nativename|}}}</small> | ||
|- | |- | ||
| colspan="2" |{{#if:{{{mapfile|}}}|[[File:{{{mapfile|}}}|300px|center|frameless]]|}}<br><div style="text-align:center">Map of {{{shortname|{{{englishname|}}}}}}</div> | | colspan="2" |{{#if:{{{mapfile|}}}|[[File:{{{mapfile|}}}|{{If empty|{{{mapsize|}}}|300px}}|center|frameless]]|}}<br> | ||
<div style="text-align:center">Map of {{if empty|{{{shortname|}}}|{{{englishname|}}}}} | |||
<div style="text-align:center; | |||
width: 295px; | |||
line-height: 1.2"> | |||
<small>''{{{mapnote| }}}''</small></div></div> | |||
|- | |- | ||
| style="width:50%; border:none; text-align:center; vertical-align:bottom; padding-top: 5px;" | {{#if:{{{flagfile|}}}|[[File:{{{flagfile|}}}|125x63px|frameless]]|}} | | style="width:50%; border:none; text-align:center; vertical-align:bottom; padding-top: 5px;" | {{#if:{{{flagfile|}}}|[[File:{{{flagfile|}}}|{{If empty|{{{flagsize|}}}|125x63px}}|frameless]]|}} | ||
| style="width:50%; border:none; text-align:center; vertical-align:bottom; padding-top: 5px;" | {{#if:{{{emblemfile|}}}|[[File:{{{emblemfile|}}}|85x88px|frameless]]|}} | | style="width:50%; border:none; text-align:center; vertical-align:bottom; padding-top: 5px;" | {{#if:{{{emblemfile|}}}|[[File:{{{emblemfile|}}}|{{If empty|{{{emblemsize|}}}|85x88px}}|frameless]]|}} | ||
|- | |- | ||
| style="width:50%; border:none; text-align:center;" | Flag | | style="width:50%; border:none; text-align:center;" | Flag | ||
| style="width:50%; border:none; text-align:center;" | State Emblem | | style="width:50%; border:none; text-align:center;" | State Emblem | ||
|} | |}<noinclude> | ||
<noinclude>Originally based on a table at [[special:Permalink/13967|USSR]]. NOT to be confused with [[:Wikipedia:Template:infobox country]], whose parameters could however be added here. | |||
Originally based on a table at [[special:Permalink/13967|USSR]]. NOT to be confused with [[:Wikipedia:Template:infobox country]], whose parameters could however be added here. | |||
Usage as follows ('''updated on 9/1/23'''): | Usage as follows ('''updated on 9/1/23'''): | ||
Line 16: | Line 22: | ||
{{Infobox country | {{Infobox country | ||
| englishname = Full English name of the country | | englishname = Full English name of the country | ||
| nativename = Full name of the country in its own language | | nativename = Full name of the country in its own language | ||
| shortname = Short/common English name | | shortname = Short/common English name (optional) | ||
| mapfile = Bare filename of map image | | mapfile = Bare filename of map image | ||
| flagfile = Bare filename of flag image | | mapnote = (Optional) description or clarification. Example: "Land controlled by the PRC shown in dark green." | ||
| emblemfile = Bare filename of emblem image | | mapsize = Map size (optional and probably unnecessary) | ||
| flagfile = Bare filename of flag image | |||
| flagsize = Flag size (optional and probably unnecessary) | |||
| emblemfile = Bare filename of emblem image | |||
| emblemsize = Emblem size (optional and probably unnecessary) | |||
}}</nowiki> | }}</nowiki> | ||
These have been modified to (hopefully) resize and align the images automatically. | These have been modified to (hopefully) resize and align the images automatically. |
Latest revision as of 18:32, 1 September 2023
Map of
| |
Flag | State Emblem |
Originally based on a table at USSR. NOT to be confused with Wikipedia:Template:infobox country, whose parameters could however be added here.
Usage as follows (updated on 9/1/23):
{{Infobox country | englishname = Full English name of the country | nativename = Full name of the country in its own language | shortname = Short/common English name (optional) | mapfile = Bare filename of map image | mapnote = (Optional) description or clarification. Example: "Land controlled by the PRC shown in dark green." | mapsize = Map size (optional and probably unnecessary) | flagfile = Bare filename of flag image | flagsize = Flag size (optional and probably unnecessary) | emblemfile = Bare filename of emblem image | emblemsize = Emblem size (optional and probably unnecessary) }}
These have been modified to (hopefully) resize and align the images automatically.
Usage example:
{{Infobox country | englishname = Democratic People's Republic of Korea | nativename = 조선민주주의인민공화국 | shortname = DPRK | mapfile = DPRK map.svg.png | flagfile = Flag of the DPRK.svg.png | emblemfile = Emblem of the DPRK.svg.png }}