Template:WP: Difference between revisions
Jump to navigation
Jump to search
imported>Andrew Turvey (del spaces) |
imported>J. Noel Chiappa (Add argument for displayed text) |
||
Line 1: | Line 1: | ||
[http://en.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}} {{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}]<noinclude> | [http://en.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}} {{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}}}]<noinclude> | ||
'''Usage''' | '''Usage''' | ||
<nowiki>{{WP|Name}}</nowiki> links to the wikipedia article called " | <nowiki>{{WP}}</nowiki> links to the wikipedia article with the same name as the page name | ||
<nowiki>{{WP|Name}}</nowiki> links to the wikipedia article called "Name" | |||
<nowiki>{{WP|Name|Text}}</nowiki> links to the wikipedia article called "Name", with the string "Text" being the hyperlink | |||
</noinclude> | </noinclude> |
Revision as of 10:12, 1 March 2008
Usage
{{WP}} links to the wikipedia article with the same name as the page name
{{WP|Name}} links to the wikipedia article called "Name"
{{WP|Name|Text}} links to the wikipedia article called "Name", with the string "Text" being the hyperlink