Template:Infobox border/doc

Usage编辑

Template:Generic template demo

{{Infobox border
 | name =
 | image =
 | alt =
 | caption =
 | territory1 =
 | territory2 =
 | length =
 | enclaves =
 | established =
 | establishedreason =
 | current =
 | currentreason =
 | disestablished =
 | disestablishedreason =
 | treaties =
 | notes =
}}

Example编辑

特征
实体 Template:CAN Template:USA
长度 8,891 kilometres (5,525 mi)
历史
创建于 September 3, 1783

Signing of the Treaty of Paris at the end of the American War of Independence
当前状况 April 11, 1908

Treaty of 1908 enacted to survey and delimit the boundary through the St. Lawrence River and Great Lakes
条约 Treaty of Paris, Jay Treaty, Treaty of 1818, Webster–Ashburton Treaty, Oregon Treaty
笔记 Current 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编辑

这是用于新版可视化编辑器及其他工具的模板数据文档。

Infobox border模板数据

JSON中含有语法错误。