Difference between revisions of "Template:wpl/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m (→‎See also)
Line 17: Line 17:
 
* [[Template:Wpa]], for a handy way of including links to Wikipedia in footnotes.
 
* [[Template:Wpa]], for a handy way of including links to Wikipedia in footnotes.
 
* [[Template:Wp]]/[[Template:Wikipedia article]], for a box announcing that Wikipedia also has an article on X
 
* [[Template:Wp]]/[[Template:Wikipedia article]], for a box announcing that Wikipedia also has an article on X
−
* [[Template:Wplang]], an experimental template for non-English Wikipedia articles
 
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES HERE -->
 
<!-- ADD CATEGORIES HERE -->
 
[[Category:WikiPolitiks templates]]
 
[[Category:WikiPolitiks templates]]
 
</includeonly>
 
</includeonly>

Revision as of 07:02, 11 March 2018

Usage

This is a template for in-text linking to Wikipedia in articles, as using a piped link with the [[wp:]] prefix creates a link that is hard to distinguish from an internal link and may confuse the reader. It's not necessary to use the template on discussion pages, because there the wp: prefix doesn't have to be hidden.

Like the other Wikipedia templates, it's best to use this template sparingly.

If the name of the Wikipedia article is the same as the desired text of the link, use just

{{wpl|name of Wikipedia article}}

If you want to put some other text in the link or format it in some special way, you need to pass it as the second parameter:

{{wpl|name of Wikipedia article|''alternative'' text}}

To avoid leaving a large space before a punctuation sign, leave the second parameter blank and use the punctuation sign as a third parameter. For example:

{{wpl|Conservapedia||,}}

results in Conservapedia,Wikipedia-W.svg

See also