Difference between revisions of "Template:Infobox border/doc"

From blackwiki
Jump to navigation Jump to search
imported>CommonsDelinker
(Removing "Canada-US_border_regions.png", it has been deleted from Commons by Sandstein because: per c:Commons:Deletion requests/File:Canada-US border regions.png.)
imported>Jdaloner
m ("{{TemplateDataHeader}}" --> "{{TemplateData header}}")
Line 84: Line 84:
  
 
==TemplateData==
 
==TemplateData==
{{TemplateDataHeader}}
+
{{TemplateData header}}
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 22:58, 13 August 2018

Usage

  1. redirect Template:Parameter names example
{{Infobox border
 | name =
 | image =
 | alt =
 | caption =
 | territory1 =
 | territory2 =
 | length =
 | enclaves =
 | established =
 | establishedreason =
 | current =
 | currentreason =
 | disestablished =
 | disestablishedreason =
 | treaties =
 | notes =
}}

Example

Characteristics
Entities Canada Template:USA
Length8,891 kilometres (5,525 mi)
History
EstablishedSeptember 3, 1783
Signing of the Treaty of Paris at the end of the American War of Independence
Current shapeApril 11, 1908
Treaty of 1908 enacted to survey and delimit the boundary through the St. Lawrence River and Great Lakes
TreatiesTreaty of Paris, Jay Treaty, Treaty of 1818, Webster–Ashburton Treaty, Oregon Treaty
NotesCurrent disputes
{{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 ={{CAN}}
 | territory2 ={{USA}}
 | length =8,891 kilometres (5,525 mi)
 | enclaves =
 | established = September 3, 1783
 | establishedreason = Signing of the [[Treaty of Paris (1783)|Treaty of Paris]] at the end of the [[American War of Independence]]
 | current = April 11, 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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox border

Syntax error in JSON.