Template:W/doc

Usage
This 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,
 * results in.

However, if the wikipedia title is disambiguated, you must type a little more. For instance,
 * renders
 * but
 * renders

Note for editors from other wikis
Other wikis use something similar to this template. Memory Alpha, for instance uses a template with exactly the same name. However, our w template is a bit different to memoryalpha:template:w, in that it defaults to the name of the page if you don't add your own variable name. In essence, Memory Alpha use w template to do not only what this one does, but also what the wikipediainfo template does. The default value of the second variable in this template is the value of first variable — not the name of the page on which you're working. That's why : renders.

For those interested in technical details, when you type, our template is actually delivering the following code:.

In other iterations of this template around Wikia, it might instead be delivering this code:, which is sometimes a very different thing.