మూస:template/doc

విక్షనరీ నుండి
Documentation for మూస:template. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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.
    1. Use &#61; to code the character.
    2. Wrap the parameter assignment in <nowiki> tags.
    3. Make numeral assignments corresponding with numbered parameters starting from 2.
  • Use =subst: or subst=... to reflect the parser function subst: 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 the prefix=... parameter.

Examples[<small>మార్చు</small>]

{{ temp | trad | it | [[it:Roma | Roma]] }}

{{ temp | trad- | | ''translation'' }}

{{trad|it|}}

{{trad-||translation}}

{{ temp | wikipedia | lang&#61;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 }}

{{: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 }} = [[ fr:w:Modèle:suppression ]]

{{supprimer}} =

{{suppression}} =

See also[<small>మార్చు</small>]


"https://te.wiktionary.org/w/index.php?title=మూస:template/doc&oldid=283042" నుండి వెలికితీశారు