Template:W/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "'''{{tl|w}}''' is a handly little shortcut that replaces the following: <pre>article name</pre> Note that it includes a [[pipe tric...")
 
No edit summary
Line 1: Line 1:
'''{{tl|w}}''' is a handly little shortcut that replaces the following:
'''{{tl|w}}''' is a handly little shortcut that equates the following markup:
<pre>[[wikipedia:article name (optional disambig)|article name]]</pre>
<pre>[[wikipedia:article name]] --> {{w|article name}}</pre>
Note that it includes a [[pipe trick]] by default, so it will get rid of pesky little [[dab|disambiguation]] terms.  Here are some examples:
Note that it can also handle a [[pipe trick]] by default, so it will get rid of pesky little [[dab|disambiguation]] terms.  Here are some examples:


* <code><nowiki>{{w|Life on Mars (TV series)}}</nowiki></code> renders {{w|Life on Mars (TV series)}}
* <code><nowiki>{{w|Life on Mars (TV series)}}</nowiki></code> renders {{w|Life on Mars (TV series)}}
* {{w|red}}
* {{w|red}}
*{{w|green}}
*{{w|green}}
* {{w|Lytton (Doctor Who)|Lytton}}

Revision as of 21:40, 12 January 2012

{{w}} is a handly little shortcut that equates the following markup:

[[wikipedia:article name]] --> {{w|article name}}

Note that it can also handle a pipe trick by default, so it will get rid of pesky little disambiguation terms. Here are some examples: