Difference between revisions of "Template:Templink"
Jump to navigation
Jump to search
(Created this for ease of linking to templates.) |
(Added the possibility for a second parameter, which will be optional of course. Documtation will know.) |
||
Line 1: | Line 1: | ||
<nowiki>{{</nowiki>[[Template:{{ucfirst:{{{1|Templink}}}}}|{{lcfirst:{{{1|Templink}}}}}]]<nowiki>}}</nowiki><noinclude>{{documentation}}</noinclude> | <nowiki>{{</nowiki>[[{{{2|Template:{{ucfirst:{{{1|Templink}}}}}}}}|{{lcfirst:{{{1|Templink}}}}}]]<nowiki>}}</nowiki><noinclude>{{documentation}}</noinclude> |
Latest revision as of 16:58, 12 April 2008
{{templink}}
Documentation for {{templink}}
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.