| == Uporaba ==
Predložak:Generic template demo
{{Infookvir granica
| name =
| image =
| alt =
| caption =
| territory1 =
| territory2 =
| length =
| enclaves =
| established =
| establishedreason =
| current =
| currentreason =
| disestablished =
| disestablishedreason =
| treaties =
| notes =
}}
Example
{{Infobox border
| name =
| image =
| alt =
| caption = Canadian regions sharing a land or water border with the USA{{legend|#22b14c|Land border}}{{legend|#00b7ef|Water border}}
| territory1 = {{DZ+X|KAN}}
| territory2 = {{DZ+X|SAD}}
| length = 8891 km
| enclaves =
| established = 3. rujna 1783.
| establishedreason = Signing of the [[Treaty of Paris (1783)|Treaty of Paris]] at the end of the [[American War of Independence]]
| current = 11. travnja 1908.
| currentreason = [[Treaty of 1908]] enacted to survey and delimit the boundary through the St. Lawrence River and Great Lakes
| disestablished =
| disestablishedreason =
| treaties = [[Treaty of Paris (1783)|Treaty of Paris]], [[Jay Treaty]], [[Treaty of 1818]], [[Webster–Ashburton Treaty]], [[Oregon Treaty]]
| notes = [[List of areas disputed by Canada and the United States|Current disputes]]
}}
TemplateData
Predložak:TemplateData header
<templatedata>
{
"description": "An infobox for borders.",
"params": {
"name": {
"label": "name",
"description": "The person's name",
"type": "string"
},
"image": {
"label": "image",
"description": "Image of border or map",
"type": "string"
},
"caption": {
"label": "caption",
"description": "Image caption",
"type": "string"
},
"territory1": {
"label": "territory1",
"description": "First territory or entity",
"type": "string"
},
"territory2": {
"label": "territory2",
"description": "Second territory or entity",
"type": "string"
},
"length": {
"label": "length",
"description": "Length of the border",
"type": "string"
},
"enclaves": {
"label": "enclaves",
"description": "Any enclaves or enclaves of either territory",
"type": "string"
},
"established": {
"label": "established",
"description": "Date when the border was established",
"type": "string"
},
"establishedreason": {
"label": "establishedreason",
"description": "Reason why the border was established",
"type": "string"
},
"current": {
"label": "current",
"description": "The date when the current shape of the border came into effect.",
"type": "string"
},
"currentreason": {
"label": "currentreason",
"description": "The reason why the border changed.",
"type": "string"
},
"disestablished": {
"label": "disestablished",
"description": "Date when the border was disestablished",
"type": "string"
},
"disestablishedreason": {
"label": "disestablishedreason",
"description": "Reason why the border was disestablished",
"type": "string"
},
"treaties": {
"label": "treaties",
"description": "Any relevant treaties or agreements relating specifically to the border.",
"type": "string"
},
"notes": {
"label": "notes",
"description": "Notes on the border, such as sovereignty dispute or peculiarities.",
"type": "string"
}
}
}
</templatedata>
|