Template:InfoboxLocation: Difference between revisions

Ptfitb (talk | contribs)
No edit summary
Ptfitb (talk | contribs)
No edit summary
Line 33: Line 33:


<noinclude>
<noinclude>
== Usage ==
Paste the following into any article to display the infobox:
<pre>
{{InfoboxLocation
| title = Example Title
| image = Example.jpg
| start_date = January 1, 1776
| end_date = Present
| field1 = Capital: Example City
| field2 = Population: 10 million
| field3 = HDI: 0.920
}}
</pre>


[[Category:Infobox templates]]
[[Category:Infobox templates]]
Line 53: Line 38:
{
{
"params": {
"params": {
"title": {},
"image": {
"image": {},
"label": "Image"
"start_date": {},
},
"end_date": {},
"duration": {
"field1": {},
"label": "Duration"
"field2": {},
},
"field3": {}
"citiesVisited": {
}
"label": "Cities Visited"
},
"wikipediaLink": {
"label": "Wikipedia",
"type": "url"
},
"country": {
"label": "Country"
}
},
"paramOrder": [
"country",
"image",
"duration",
"citiesVisited",
"wikipediaLink"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>