模板: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 語法錯誤。