• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Mf-adr

  • Language
  • Watch
  • View source

Template documentation[view] [edit] [history] [purge]
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.

Contents

  • 1 Purpose
  • 2 Usage
  • 3 Example
  • 4 Microformat

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.

{{mf-adr
|street = 
|city   = 
|region = 
|pocode = 
|nation = 
|inadr  = (for use inside a tag already marked class="adr", optional)
}}

Example

1255 Kingston Rd, Pickering, Ontario, L1V 1B5, Canada

{{mf-adr
|street = 1255 Kingston Rd
|city   = Pickering
|region = Ontario
|pocode = L1V 1B5
|nation = Canada
}}

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.
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.
The above documentation is transcluded from Template:Mf-adr/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Mf-adr&oldid=22067"
Last edited on 24 October 2025, at 14:25
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • Creative Commons Attribution-ShareAlike
      • Powered by MediaWiki
      • Monitored by WikiApiary
      • ipv6 ready
      • Powered by Semantic MediaWiki
      • This page was last modified on 24 October 2025, at 14:25. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement