From Iron Chariots Wiki
Revision as of 17:47, 11 August 2008 by Dcljr (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The documentation for this template is transcluded from Template:Lp/doc. Please edit that page if you want to change something in the documentation. Do not edit this page unless you know what you're doing.
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.
{{lp|Article title}}
{{lp|Article title|link text}}
  1. 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).
  2. 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|Reason}}[[Reason|]]
  • {{lp|Reason|rational}}[[Reason|rational]]
  • {{lp|Wikipedia:Mathematics}}[[Wikipedia:Mathematics|]]
  • {{lp|Wikipedia:Mathematics|mathematician}}[[Wikipedia:Mathematics|mathematician]]
The name "lp" is short for "link with visible pipe".
See also
Personal tools
wiki navigation