This page uses Creative Commons Licensed content from Wikipedia (view authors). |
Template documentation (for the above template, sometimes hidden or invisible)
{{w}} is a handly little shortcut that equates the following markup:
[[wikipedia:article name]] --> {{w|article name}}
Usage
{{w}} incorporates one kind of pipe trick. As long as the Wikipedia article is not disambiguated, then it will automatically get rid of the prepending "wikipedia:". Hence,
{{w|London}}
results in
This page uses Creative Commons Licensed content from Wikipedia (view authors). |
However, if the wikipedia title is disambiguated, you must type a little more. For instance,
{{w|London (band)}}
renders
This page uses Creative Commons Licensed content from Wikipedia (view authors). |
- but
{{w|London (band)|London}}
renders
This page uses Creative Commons Licensed content from Wikipedia (view authors). |
For those interested in technical details, when you type {{w|London}}
, our template is actually delivering the following code: [[wikipedia:London|London]]
.
In other iterations of this template around Wikia, it might instead be delivering this code: [[wikipedia:London|{{PAGENAME}}]]
, which is sometimes a very different thing.
Visit Template:W/doc to edit this text! (How does this work?)