Template:Ll/doc
From Iron Chariots Wiki
- Purpose
- This template simplifies the formatting of example links in "help" pages. It should never be used in regular articles.
- To be more precise, the template displays in a monospace font the "double-brackets" wikicode that would form an "internal" wikilink, as well as providing a live link (see examples below).
- Usage
- {{ll|Article title}}
- {{ll|Article title|link text}}
- Notes
- The one required parameter is the title of the article being linked to. If an optional second parameter is provided, it is used as the "link text" in a "piped link".
- If you don't want an actual live link on the article title, use Template:L instead. If you need a trailing pipe character with no link text following it, use Template:Llp (linked version) or Template:Lp (non-linked version).
- Examples
- {{ll|Reason}} → [[Reason]]
- {{ll|Reason|rational}} → [[Reason|rational]]
- {{ll|Wikipedia:Mathematics}} → [[Wikipedia:Mathematics]]
- {{ll|Wikipedia:Mathematics|mathematician}} → [[Wikipedia:Mathematics|mathematician]]
- Mnemonic
- Note that the name "ll" is short for "linked link".
- See also
- Template:L for links like: [[Reason]]
- Template:Lp for links like: [[Reason|]]
- Template:Llp for links like: [[Reason|]]