Template:Infobox bilateral relations/doc

From Simple English Wikipedia, the free encyclopedia

Optional parameters in italics.

Usage[change source]

Canada–United States relations
Map indicating locations of Canada and USA

Canada

United States
  1. First, create the article that you need this template for. Let's use Canada – United States relations as an example.
  2. Create a map using the following name: Image:<first country name> <second country name> Locator png. (example:Image:Canada USA Locator.png) (differently named maps can be used by specifying a "map="parameter)
  3. Parameter 1 is the full name of the article (example:Canada – United States relations) - or use {{subst:PAGENAME}}, which will retrieve the name for you, as in the example below.
  4. Parameter 2 is the first governing entity of the article (in this case, Canada)
  5. Parameter 3 is the second governing entity of the article (in this case, USA)

Code[change source]

{{Infobox Bilateral relations |{{subst:PAGENAME}} |country1 |country2}}

Microformat[change source]

The HTML mark-up produced by this template includes an adr microformat that makes postal addresses or their component parts (regions, postal codes, country names, etc) readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject on English Wikipedia.

Classes used

The HTML classes of this microformat include:

  • adr
  • country-name
  • extended-address
  • locality
  • postal-code
  • region
  • street-address
Please do not rename or remove these classes.