Template:Mf-adr

Documentation icon Template documentation[view] [edit] [history] [purge]

Purpose

{{Mf-adr}} – An inline ADR microformat generator.

Usage

Copy a blank version to use. All fields are optional. However, this template will only produce non-visible markup if no values for the address fields are provided.

<syntaxhighlight lang="wikitext"> </syntaxhighlight>

Example

1255 Kingston Rd, Pickering, Ontario, L1V 1B5, Canada <syntaxhighlight lang="wikitext" style="overflow:auto;">1255 Kingston Rd, Pickering, Ontario, L1V 1B5, Canada</syntaxhighlight>

Microformat

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.