Hello, you have come here looking for the meaning of the word
Template:temp/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Template:temp/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say
Template:temp/documentation in singular and plural. Everything you need to know about the word
Template:temp/documentation you have here. The definition of the word
Template:temp/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Template:temp/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
This template is intended for use on talk pages and areas of Wiktionary that describe the markup language of wikitext. It displays the name of another template or template-like parser construct, linked for convenience, and wrapped in <code>
tags.
Syntax
{{temp|subst:]:]name of template|...}}
{{temp|subst:]:]namespace:pagename|...}}
{{temp|subst:]:]#invoke:module name|...}}
{{temp|subst:]:]#parser function:...}}
{{temp|subst:]VARIABLE}}
- The template automatically detects non-template namespaces, substitutions, magic words and parser functions; the syntax is identical to the one accepted by the MediaWiki parser. For example, inclusion from mainspace uses the
:
prefix.
- Using the
{{#invoke:}}
parser function with a valid module name creates a link to the module. Likewise, using {{#tag:}}
with a valid parser extension tag links to the tag's documentation.
- If this template is given non-numeric named arguments, they will be displayed as arguments to the template; however, no particular order is guaranteed.
- To force a particular order, or to display an equals sign in an explicitly named numeric parameter, you may use the following methods:
- Use
=
(or =
) to code the equal sign.
- Wrap the parameter assignment (or just the
=
character) in <nowiki>
tags.
- Make explicit numeral assignments corresponding with numbered parameters starting from
2
.
- Previous versions of this template had an interwiki functionality; this feature has been dropped. Links to templates on sister wikis should be formatted manually.
Examples
{{temp|m|uk|при́клад|g=m}}
- Result:
{{m|uk|при́клад|g=m}}
{{temp|subst:wgping|tech}}
- Result:
{{subst:wgping|tech}}
{{temp|1=#ifexpr:2 + 2 = 4|2=ok|3=oh noes}}
- Result:
{{#ifexpr:2 + 2 = 4|ok|oh noes}}
{{temp|#invoke:debug|error|Help, I'm trapped in an example factory}}
- Result:
{{#invoke:debug|error|Help, I'm trapped in an example factory}}
{{temp|FULLPAGENAME:xyzzy}}
- Result:
{{FULLPAGENAME:xyzzy}}
{{temp|some<invalid>template name|foo}}
- Result:
{{some<invalid>template name|foo}}
See also
{{†temp}}
- display template markup with no link; generally useful for templates which have since been deleted
{{category}}
— display wiki markup for a category link.
{{para}}
, {{paramref}}
— for discussing template parameters or documenting parameter usage in template documentation.
{{wikitag}}
— display HTML-like wiki markup tags (like <nowiki>
).