Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:URL/doc: Difference between revisions

Template page
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 ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.