Template:WP: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
m (Fix bug with page names with space in them)
imported>J. Noel Chiappa
m (Fix display bug in previous bug fix)
Line 1: Line 1:
[http://en.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{BASEPAGENAMEE}}}} {{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{BASEPAGENAMEE}}}}}}]<noinclude>
[http://en.wikipedia.org/wiki/{{#if:{{{1|}}}|{{{1}}}|{{BASEPAGENAMEE}}}} {{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{BASEPAGENAME}}}}}}]<noinclude>


'''Usage'''
'''Usage'''

Revision as of 11:29, 1 March 2008

WP

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 in the page here