Template:L

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(hmm... nevermind)
(doc moved to subpage)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<tt><nowiki>[[</nowiki>{{{1}}}{{if|
 
<tt><nowiki>[[</nowiki>{{{1}}}{{if|
  test={{{2|}}}|then=&#124;{{{2}}}|else=}}<nowiki>]]</nowiki></tt>
+
  test={{{2|}}}|then=&#124;{{{2}}}|else=}}<nowiki>]]</nowiki></tt><noinclude>{{doc}}
 +
 
 +
[[Category:Wikicode templates|L]]
 +
</noinclude>

Latest revision as of 16:57, 11 August 2008

[[{{{1}}}]]

The documentation for this template is transcluded from Template:L/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.
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
http://wiki.ironchariots.org/index.php?title=Template:L&diff=9198&oldid=7484
wiki.ironchariots.org
crawl=CC-MAIN-2015-06
19049
application/http; msgtype=response
sha1:OLDBAT6B3OEYTHSNJAYPHJ47VT77K6OV
<urn:uuid:54ba030e-ab05-45b4-8331-81c63ac93933>
2015-02-01T05:59:48Z
97.74.144.83
sha1:HJ65CCYW5ZMETIT5APN7MHO754KGVWDU
<urn:uuid:7aacc72c-61d1-40d9-8dd7-2764bb210f10>
http://wiki.ironchariots.org/index.php?title=Template:L&diff=9198&oldid=7484
length
response
<urn:uuid:ab258f06-bc9f-4fb7-ab97-0b79cf2a9c65>
robots: classic
hostname: ip-10-180-212-252.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-06
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for January 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf