Template:Wp

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(recast as interwiki)
(+cat)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>[[Wikipedia:{{{1|Main}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|Required Argument Missing in <nowiki>Template: {{Wp}}</nowiki>}}}}}]]</includeonly><noinclude>
+
<includeonly>[[Wikipedia:{{{1|Trainz}}}|{{{2|{{{1|Required Argument(s) Missing in <nowiki>Template: {{Wp}}</nowiki>}}}}}}]]</includeonly><noinclude>{{Doc-page-head}}
[[Category:Link and Navigation templates|{{PAGENAME}}]]
+
[[category:Work around templates|{{PAGENAME}}]]
 +
;usage/purpose
 +
This template is a simple external link forming template to Wikimedia Foundation's '''Wikipedia''' project, the source site of Wiki organized knowledge world wide.
 +
[[category:External link templates|{{PAGENAME}}]]
 
{{Wp/doc}}
 
{{Wp/doc}}
 +
{{TypeTaid}}</div>
 
</noinclude>
 
</noinclude>

Latest revision as of 07:27, 26 July 2013

usage/purpose

This template is a simple external link forming template to Wikimedia Foundation's Wikipedia project, the source site of Wiki organized knowledge world wide.

usage

This {{Wp|1|2}} template links to the English Wikipedia page give as the first parameter {{{1}}}, and pretty-ups the link to the article's page by an alternative text name or phrase if and when given a second parameter {{{2}}}, else displays the full name given as the output phrase or word.

Examples
Calling syntax resulting link appears as:
{{Wp|Trainz}} Trainz
{{Wp|Service pack}} Service pack
{{Wp|Graphical user interface|GUI}} GUI
{{Wp|Wikipedia:ParserFunctions|ParserFunctions How-To}} ParserFunctions How-To
Personal tools