Difference between revisions of "Template:Templink/doc"
Jump to navigation
Jump to search
(→Usage) |
m (Template:Documentation/Templink moved to Template:Templink/doc) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | 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.