Template:URL/doc: Difference between revisions
Template page
More actions
Created page with "{{Documentation subpage}} {{lua|Module:URL}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template can be used to create a formatted external link. It formats the appearance of '''''displayed''''' URLs, while making them ''machine-readable'' as part of emitted microformat meta-data, inside templates such as infoboxes. If you wish to display text instead of the URL (e.g. "[http://example.com website]" instead of {{URL|e..." |
|||
| Line 74: | Line 74: | ||
== Microformat == | == Microformat == | ||
The template wraps the ''displayed'' URL with a <code>class="url"</code> so that it is included in any parent [[microformat]] which takes a URL parameter - see [[WP:UF|our microformats project]]. | The template wraps the ''displayed'' URL with a <code>class="url"</code> so that it is included in any parent [[w:Microformat|microformat]] which takes a URL parameter - see [[w:WP:UF|our microformats project]]. | ||
== TemplateData == | == TemplateData == | ||