Template:Infobox country
From CruisersWiki
(Difference between revisions)
Istioploos (Talk | contribs) (Test) |
Istioploos (Talk | contribs) (Test) |
||
Line 11: | Line 11: | ||
| chartletheight={{{chartletheight|}}} | | chartletheight={{{chartletheight|}}} | ||
}} | }} | ||
- | {{infobox image |{{{image|}}}|{{?|test={{{imagetext|}}}|{{{imagetext|}}}|Map}}|{{{imagewidth|}}}}} | + | {if | test={{{image|}}} |
+ | |then={{infobox image |{{{image|}}}|{{?|test={{{imagetext|}}}|{{{imagetext|}}}|Map}}|{{{imagewidth|}}}}} }} | ||
+ | | else= }}}} | ||
{{infobox image |{{{flag|}}}|Flag|100px}} | {{infobox image |{{{flag|}}}|Flag|100px}} | ||
{{infobox row|Capital|{{{capital}}}}} | {{infobox row|Capital|{{{capital}}}}} |
Revision as of 15:53, 10 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.