Template:Infobox country
From CruisersWiki
(Difference between revisions)
Istioploos (Talk | contribs) m (Reverted edits by Istioploos (talk) to last revision by Vadim) |
(chartlet integration) |
||
(2 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
| maplat={{{maplat|}}}| maplon={{{maplon|}}} | | maplat={{{maplat|}}}| maplon={{{maplon|}}} | ||
| zoom={{{zoom|6}}} | | zoom={{{zoom|6}}} | ||
+ | | chartlet={{{chartlet|}}} | ||
+ | | chartletwidth={{{chartletwidth|}}} | ||
+ | | chartletheight={{{chartletheight|}}} | ||
}} | }} | ||
- | {{infobox image |{{{image|}}}|{{?|test={{{imagetext|}}}|{{{imagetext|}}}|Map}}|{{{imagewidth|}}}}} | + | {{ |
- | {{infobox image |{{{flag|}}}|Flag|100px}} | + | ? | test={{{image|}}} |
- | {{infobox row|Capital|{{{capital}}}}} | + | |{{infobox image |{{{image|}}}|{{?|test={{{imagetext|}}}|{{{imagetext|}}}|Map}}|{{{imagewidth|}}}}} |
+ | }}{{ | ||
+ | ? | test={{{flag|}}} | ||
+ | |{{infobox image |{{{flag|}}}|Flag|100px}} | ||
+ | }}{{infobox row|Capital|{{{capital}}}}} | ||
{{infobox row|Language|{{{language|}}}}} | {{infobox row|Language|{{{language|}}}}} | ||
{{infobox row|Currency|{{{currency|}}}}} | {{infobox row|Currency|{{{currency|}}}}} |
Latest revision as of 16:46, 13 March 2017
Italy
| |
Capital | Rome |
---|---|
Language | Italian |
Currency | Euro € |
Time zone | CET (UTC+1) , DST: CEST (UTC+2) |
Calling code | +39 |
Infobox country
| |
Capital | Rome |
---|---|
Language | Italian |
Currency | Euro € |
Time zone | CET (UTC+1) , DST: CEST (UTC+2) |
Calling code | +39 |
Some notes | |
Latest News | |
Some news |
This template was designed to create an infobox that is specific to an article about a country or an island country:
{{infobox country | lat= | lon= | zoom= | chartlet= | image= | imagewidth= | flag= | capital= | language= | currency= | timezone= | dsttimezone= | code= | notes= | news= }}
Example:
{{infobox country | lat=41 54.00 N | lon=012 29.00 E | inage= Italymap.gif | inagewidth= 330px | flag= Italyflag.gif | capital= Rome | language= Italian | currency= Euro € | timezone= CET (UTC + 1) | dsttimezone= CEST (UTC + 2 summer) | code= +39 | notes= Some notes | news= Some news }}
This expands to a table shown at the beginning of this section. As with the previous example the title of table is automatically created from this page title hence it renders here to something that is not quite useful.