Template:L/doc

From Iron Chariots Wiki
Revision as of 16:59, 11 August 2008 by Dcljr (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template:L
Purpose
This template simplifies the formatting of example links in "help" pages (that is, it displays the wikicode that would form a link, without actually creating a working link). It should never be used in regular articles.
Usage
  • {{L|Article title}}
  • {{L|Article title|link text}}
Notes
  1. The template has one required parameter, which is the title of the "article" (it doesn't have to 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" (see examples below).
  2. If you want an actual live link on the article title, use Template:Ll. If you need a trailing pipe character with no link text following it, use Template:Lp. Finally, if you need both a live link and a trailing pipe, use Template:Llp.
Examples
  • {{L|Reason}}[[Reason]]
  • {{L|Reason|rational}}[[Reason|rational]]
  • {{L|Wikipedia:Mathematics}}[[Wikipedia:Mathematics]]
  • {{L|Wikipedia:Mathematics|mathematician}}[[Wikipedia:Mathematics|mathematician]]
Mnemonic
The name "L" is short for "link". It has been capitalized in the examples above merely for clarity; you can also use a lowercase "l".
See also
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox