Template:Wp/doc

From Wikibooks, open books for an open world
Jump to: navigation, search
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
  • Note the template cannot verify the link target exists, so all such external links should be tested.