الگو:Mf-adr
| این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
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, which makes postal addresses (or their component parts, such as regions, postal codes or country-names) تجزیهکننده by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
ADR uses HTML classes including:
- adr
- country-name
- extended-address
- locality
- postal-code
- region
- street-address
Please do not rename or remove these classes.