Template:Ll
(Difference between revisions)
(recat:Wikicode templates) |
(+ sortkey) |
||
| Line 26: | Line 26: | ||
* [[Template:Llp]] for links like: {{Llp|Reason}} | * [[Template:Llp]] for links like: {{Llp|Reason}} | ||
| − | [[Category:Wikicode templates]] | + | [[Category:Wikicode templates|Ll]] |
</noinclude> | </noinclude> | ||
Revision as of 18:39, 13 October 2007
[[[[{{{1}}}]]]]
Contents |
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).
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).
Usage
- {{ll|Article title}}
- {{ll|Article title|link text}}
Examples
- {{ll|Reason}} → [[Reason]]
- {{ll|Reason|rational}} → [[Reason|rational]]
- {{ll|Wikipedia:Mathematics}} → [[Wikipedia:Mathematics]]
- {{ll|Wikipedia:Mathematics|mathematician}} → [[Wikipedia:Mathematics|mathematician]]
See also
- Template:L for links like: [[Reason]]
- Template:Lp for links like: [[Reason|]]
- Template:Llp for links like: [[Reason|]]