Difference between revisions of "Template:Templink/doc"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(Created documentation.)
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


===Usage===
===Usage===
<pre>{{templink|template name}}</pre>
<pre>{{templink|template name[|own link]}}</pre>
The second parameter is of course optional.


===Example===
===Example===
Line 10: Line 11:
;Output:
;Output:
:{{templink|episode infobox}}
:{{templink|episode infobox}}
;Input:
:<pre>{{templink|episode infobox|#Example}}</pre>
;Output:
:{{templink|episode infobox|#Example}}
:Notice how it links to the "Example" section of this documentation, rather than the "episode infobox" template.

Latest revision as of 21:35, 17 March 2009

Use

This is to allow a specific link to a template, and make it appear like a template included in article, but without including it, just linking to it.

Usage

{{templink|template name[|own link]}}

The second parameter is of course optional.

Example

Input
{{templink|episode infobox}}
Output
{{episode infobox}}
Input
{{templink|episode infobox|#Example}}
Output
{{episode infobox}}
Notice how it links to the "Example" section of this documentation, rather than the "episode infobox" template.