మూస:temp
స్వరూపం
(మూస:Tl నుండి దారిమార్పు చెందింది)
{{}}
- The following documentation is located at Template:temp/doc. [edit]
- Note: Please move the documentation subpage to Template:temp/documentation.
About
[<small>మార్చు</small>]This template is intended for use on talk pages and areas of Wiktionary that describe the markup language of wikitext. It simply displays the name of another template, linked for convenience. A simple example is coded below, followed by the resultant text:
{{ temp | checktrans }}
{{checktrans}}
Syntax
[<small>మార్చు</small>]{{ temp | name of template | optional argument | or arguments ... }}
{{ temp | =subst: | name of template }}
{{ temp | subst=subst: | name of template }}
{{ temp | =: | name space:page name }}
{{ temp | =project prefix: | name of template}}
{{ temp | prefix=project prefix: | name of template}}
- Only one parameter is required, the template name to display.
- Other informational parameters that don't use the equals sign
=
are also listed. - To display an equals sign, there are several work-arounds. See examples.
- Use
=
to code the character. - Wrap the parameter assignment in
<nowiki>
tags. - Make numeral assignments corresponding with numbered parameters starting from
2
.
- Use
- Use
=subst:
or
subst=...
to reflect the parser functionsubst:
for templates that must be substituted. - Examples of inclusion outside the “
Template:
” space use=:
as a parameter. - Links to templates in sister projects use a prefix such as
=w:
for Wikipedia, a language code such as=en:
for English, or a combination. These can also be specified with theprefix=...
parameter.
Examples
[<small>మార్చు</small>]
{{ temp | trad | it | [[it:Roma | Roma]] }}
{{ temp | trad- | | ''translation'' }}
{{trad|it|}}
{{trad-||translation}}
{{ temp | wikipedia | lang=it | Roma }}
{{ temp | wikipedia | <nowiki>lang=it</nowiki> | Roma }}
{{ temp | wikipedia | 2=lang=it | 3=Roma }}
{{wikipedia|lang=it|Roma}}
{{wikipedia|lang=it|Roma}}
{{wikipedia|lang=it|Roma}}
{{ temp | =subst: | notEnglish }}
{{ temp | subst=yes | nolang }}
{{subst:notEnglish}}
{{subst:nolang}}
{{ temp | =: | MediaWiki:Noexactmatch }}
{{ temp | subst=: | prefix=w: | afd }}
{{ temp | =w:en: | afd | 2=nosubst=yes }}
{{subst:afd}}
{{afd|nosubst=yes}}
{{ temp | =fr: | supprimer }} = [[:fr:Modèle:supprimer]]
{{ temp | =fr:w: | suppression }} = [[w:fr:Modèle:suppression]]
{{supprimer}} = fr:Modèle:supprimer
{{suppression}} = w:fr:Modèle:suppression
See also
[<small>మార్చు</small>]
- w:Template:tl on Wikipedia