Template:Wp: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
close ']' |
try plain link ver |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{plain link|http://en.wikipedia.org/wiki/{{{1|Main}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|Required Argument Missing in <nowiki>Template: {{Wp}}</nowiki>}}}}}}}</includeonly><noinclude> | ||
[[Category:Link and Navigation templates|{{PAGENAME}}]] | [[Category:Link and Navigation templates|{{PAGENAME}}]] | ||
{{Wp/doc}} | {{Wp/doc}} | ||
</noinclude> | </noinclude> | ||
Revision as of 10:20, 13 June 2013
- 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}} | pack Service pack |
| {{Wp|Graphical user interface|GUI}} | user interface GUI |
| {{Wp|Wikipedia:ParserFunctions|ParserFunctions How-To}} | ParserFunctions How-To |