Template:Llp

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

Revision as of 15:53, 15 October 2007

[[[[{{{1}}}]]|]]

Contents

Purpose

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 "double-brackets" wikicode that would form such a link, as well as actually providing a working link to the target article. See the 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" (but note that Template:Lp is more appropriate in that case).

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

Usage

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

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

Examples

See also

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox