Template:CiteTemp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch: br | | {{#switch: br | <tt><nowiki>{{</nowiki></tt>|}}[[Template:{{{1}}}|{{{2|{{{1}}}}}}]]{{#switch: br | <tt><nowiki>}}</nowiki></tt>|}}<noinclude>[[Category:Templates|{{PAGENAME}}]] | ||
{{prot-temp}} | {{prot-temp}} | ||
Line 10: | Line 10: | ||
as in {{CiteTemp|Language}}, or | as in {{CiteTemp|Language}}, or | ||
<pre>{{CiteTemp|<template name>|<alternate text>}}</pre> | <pre>{{CiteTemp|<template name>|<alternate text>}}</pre> | ||
as in {{CiteTemp|Language|language template}} | as in {{CiteTemp|Language|language template}}. | ||
To have the link enclosed in curly braces <tt><nowiki>{{ ... }}</nowiki></tt>, add the optional parameter <nowiki>br=</nowiki>, as in {{CiteTemp|Language|br=}} | |||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 16:42, 11 November 2008
[[Template:{{{1}}}|{{{1}}}]]
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
This template is used to cite a template, ie. to provide a link to a template without having to type something like {{[[Template:Long template name|Long template name]]}}.
Usage:
{{CiteTemp|<template name>}}
as in Language, or
{{CiteTemp|<template name>|<alternate text>}}
as in language template.
To have the link enclosed in curly braces {{ ... }}, add the optional parameter br=, as in Language