(changing documentation)
No edit summary
Line 1: Line 1:
<noinclude>
<div style="position:absolute; left:0px; top:0px; right:0px; bottom:0px; width:100%; height:100%; z-index:16; color:black; background-color:white; font-family:monospace; font-size:25pt">
:'''Note''': The {{tl|wp sup}} template is arguably better for this purpose as it avoids some problems with linking to articles with names different to the displayed text ("WP" doesn't allow piping); and it also fits in better with punctuation, e.g. it can go after a comma or period. Should we deprecate WP? Move "wp sup" to "wp"/"WP" and update all the old uses of "WP" to the new format?
<big><big>Page Viewing and Editing Disabled</big></big>
</noinclude>{{{2|{{{1}}}}}}<sup>[[Wikipedia:{{{1}}}|WP]]</sup><noinclude>


----
As you may know, Appropedia has been going slow recently. We are about to fix this, but editing pages must be disabled temporaily to complete this delicate operation.
==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.  
See [http://www.youareanidiot.org www.mediawiki.co.uk/techsupport/appropedia] for more information.


E.g.:
----
:<nowiki>{{WP|Jock Brandis}} developed the {{WP|Malian peanut sheller}}.</nowiki>
''The Appropedia Development team''
creates:
:{{WP|Jock Brandis}} developed the {{WP|Malian peanut sheller}}.
 
==Changing the display text==
 
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 optional second parameter: <nowiki>{{WP|Peter Newman (Australian)|Newman P}}</nowiki> will display as {{WP|Peter Newman (Australian)|Newman P}}.  [[Template:WP p]] is deprecated in favor of using the optional second parameter in this template. 
 
== 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.  Use the second parameter if you want the word to display differently than in the link.
*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)?
*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==
* {{tl|WP p}} - a piped version of {{tl|WP}}.
 
 
[[Category:Format templates]]
</noinclude>

Revision as of 18:18, 22 August 2008

Page Viewing and Editing Disabled

As you may know, Appropedia has been going slow recently. We are about to fix this, but editing pages must be disabled temporaily to complete this delicate operation.

See www.mediawiki.co.uk/techsupport/appropedia for more information.


The Appropedia Development team

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