(Difference between revisions)
Jump to: navigation, search
(Usage: tpyo)
(Usage: uh... no; correct mnemonic)
Line 14: Line 14:
* {{t|lp|''Article title''}}
* {{t|lp|''Article title''}}
* {{t|lp|''Article title''|''link text''}}
* {{t|lp|''Article title''|''link text''}}
Note that the name "lp" is short for "link with parameter".
Note that the name "lp" is short for "'''l'''ink with visible '''p'''ipe".

Revision as of 15:53, 15 October 2007




This template, which should only be used in non-article pages, simplifies the formatting of example links containing a trailing "pipe" character (|) with no following "link text". That is, it displays (in a monospace font) the wikicode that would form a link without actually creating a working link. See examples below.

The one required parameter is the title of the "article" (it doesn't have to actually exist on this wiki) to be shown between the double brackets. If an optional second parameter is provided, it is used as the "link text" in a "piped link" (but note that Template:L is more appropriate in that case).

If you want an actual live link on the article title, use Template:Llp. If you don't need a trailing pipe character (or, as mentioned, if you want to specify text to follow the pipe), use Template:L (non-linked version) or Template:Llp (linked version).


  • {{lp|Article title}}
  • {{lp|Article title|link text}}

Note that the name "lp" is short for "link with visible pipe".


  • {{lp|Reason}}[[Reason|]]
  • {{lp|Reason|rational}}[[Reason|rational]]
  • {{lp|Wikipedia:Mathematics}}[[Wikipedia:Mathematics|]]
  • {{lp|Wikipedia:Mathematics|mathematician}}[[Wikipedia:Mathematics|mathematician]]

See also

Personal tools
wiki navigation