(Experimental alternative to template:WP. I think it might end up merging and replacing template:WP.)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{{1}}}<sup>[[Wikipedia:{{{1}}}|WP]]</sup><noinclude>
<sup>[[Wikipedia:{{{1}}}|W]]</sup><noinclude>


----
==Usage==


Experimental alternative to {{tl|wp}} which allows words to be linked to an weak or nonexistent (redlinked) Appropedia page, while also giving a link to a useful Wikipedia page.
Use this template to create a link to a useful Wikipedia page, while displaying just a compact superscripted "W" as the link text. This is often useful to include alongside a link to a weak or nonexistent ([[red linked]]) Appropedia page, while also giving a link to a useful Wikipedia page.


==Usage==
Use this template to link text to Wikipedia (in a more elegant way than using the ''wikipedia:'' [[wikipedia:Help:Interwiki linking|interwiki link]] prefix).   
Use this template to link text to Wikipedia, in a more elegant way than using the ''wikipedia:'' prefix.   


It works in a similar way to a piped wikilink, but is placed after the text. Usually the text is wikilinked (to an Appropedia page) and followed immediately by this link.  
It works in a similar way to a piped wikilink, but is placed after the text. The main word where the link is placed may be wikilinked (to an Appropedia page) if appropriate.  


If there's no expectation that an Appropedia page should be created in the near future, the first wikilink is not necessary, as with "Jock Brandis" below.  
If there's no expectation that an Appropedia page should be created in the near future, the first wikilink is not necessary, as with "Jock Brandis" below.  


E.g.:
{| class="wikitable"
:<nowiki>Jock Brandis{{wp sup|Jock Brandis}} developed the [[Malian peanut sheller]]{{wp sup|Malian peanut sheller}}.</nowiki>
! Type this !! To get this
creates:
|-
:Jock Brandis{{wp sup|Jock Brandis}} developed the [[Malian peanut sheller]]{{wp sup|Malian peanut sheller}}.
| <tt><nowiki>Jock Brandis{{w|Jock Brandis}} developed the [[Malian peanut sheller]].{{w|Malian peanut sheller}}</nowiki></tt> || Jock Brandis{{w|Jock Brandis}} developed the [[Malian peanut sheller]].{{w|Malian peanut sheller}}
 
|-
 
|}
<!--
notes from the wp template page - adapt or delete:
 
==Usage==
Use this template to link text to Wikipedia, in a more elegant way than using the ''wikipedia:'' prefix. 
 
It works in a similar way to a piped wikilink.
 
E.g.:
:<nowiki>{{WP|Jock Brandis}} developed the {{WP|Malian peanut sheller}}.</nowiki>
creates:
:{{WP|Jock Brandis}} developed the {{WP|Malian peanut sheller}}.
 
==Changing the display text with {{tl|WP p}}==
 
If the Wikipedia article title is '''Peter Newman (Australian)''' but you want it to display as {{WP p|Peter Newman (Australian)|Newman P}}, then use the {{tl|WP p}} template instead.
 
== Bug(s) ==
 
*Unlike normal wiki linking, you cannot add letters at the end of the word, e.g. to make it plural. E.g. normally '''<nowiki>[[Blog]]s</nowiki>''' creates '''[[Blog]]s''', but '''<nowiki>{{WP|Blog}}s</nowiki>''' creates '''{{WP|Blog}}s''' i.e. a mess.
*Currently doesn't allow piping (but it should be doable to create another template to do this). 
 
== Unresolved questions ==


*should we use <nowiki><tt></nowiki> (teletype text?) to subtly mark the link text (making it clear whether it's the last word that's linked, or the last 2 or more words)?
'''Note''': an alternative is to place the Wikipedia link in an "Interwiki link" section" near the bottom of the article.
*should we use <nowiki><small></nowiki> for the "WP"? E.g. "<tt>Jock Brandis [[Wikipedia:Jock Brandis|<small>(WP)</small>]]</tt> developed..." If so, it seems a bit too small for some readers perhaps, and thus confusing; if left as normal size it's a little intrusive perhaps, but quite clear.  


== See also ==


-->
* [[Interwiki map]]
* {{Tl|Tlw}} - a version of this template specifically for linking to Template: pages on Wikipedia


==See also==
== External links ==
* {{tl|WP}}
* {{tl|WP p}} - a piped version of {{tl|WP}}.


* [[Wikipedia:Help:Interwiki linking]]


[[Category:Format templates]]
[[Category:Format templates]]
</noinclude>
</noinclude>

Revision as of 20:04, 16 April 2011

[[Wikipedia:{{{1}}}|W]]

Usage

Use this template to create a link to a useful Wikipedia page, while displaying just a compact superscripted "W" as the link text. This is often useful to include alongside a link to a weak or nonexistent (red linked) Appropedia page, while also giving a link to a useful Wikipedia page.

Use this template to link text to Wikipedia (in a more elegant way than using the wikipedia: interwiki link prefix).

It works in a similar way to a piped wikilink, but is placed after the text. The main word where the link is placed may be wikilinked (to an Appropedia page) if appropriate.

If there's no expectation that an Appropedia page should be created in the near future, the first wikilink is not necessary, as with "Jock Brandis" below.

Type this To get this
Jock Brandis{{w|Jock Brandis}} developed the [[Malian peanut sheller]].{{w|Malian peanut sheller}} Jock BrandisW developed the Malian peanut sheller.W

Note: an alternative is to place the Wikipedia link in an "Interwiki link" section" near the bottom of the article.

See also

  • Interwiki map
  • {{Tlw}} - a version of this template specifically for linking to Template: pages on Wikipedia

External links

Cookies help us deliver our services. By using our services, you agree to our use of cookies.