Template:CiteTemp: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 12: Line 12:
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}}
To have the link enclosed in curly braces <tt><nowiki>{{ ... }}</nowiki></tt>, add the optional parameter <nowiki>br=</nowiki>, as in {{CiteTemp|Language|Language template|br=}}
}}
}}
</noinclude>
</noinclude>

Revision as of 16:49, 11 November 2008

[[Template:{{{1}}}|{{{1}}}]]


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 template}}