תבנית:Temp
{{}}
- The following documentation is located at Template:Temp/doc. [edit]
About
עריכה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
עריכה{{ 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 =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
עריכה{{ 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 }} = [[ fr:w:Modèle:suppression ]]
{{supprimer}} =
{{suppression}} =