Teamplaid:Tempn
Coltas
Lua error in package.lua at line 80: module `Module:Unsubst' not found.
The template {{Temp}}
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. This template is implemented in terms of Mòideal:template link.{{Tempn}}
functions identically to{{Temp}}
, except it does not wrap the output in <code>
tags; it may be used nested.
Co-chàradh - Syntax
[deasaich]Lua error in package.lua at line 80: module `Module:Unsubst' not found. Lua error in package.lua at line 80: module `Module:Unsubst' not found. Lua error in package.lua at line 80: module `Module:Unsubst' not found. Lua error in package.lua at line 80: module `Module:Unsubst' not found. Lua error in package.lua at line 80: module `Module:Unsubst' not found.
- 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
.
- Use
- Previous versions of this template had an interwiki functionality; this feature has been dropped. Links to templates on sister wikis should be formatted manually.
Eisimpleirean - Examples
[deasaich]{{Temp|Fir|uk|при́клад|g=m}}
- Result:
{{Fir|uk|при́клад|g=m}}
- Result:
{{Temp|subst:wgping|tech}}
{{Temp|1=#ifexpr:2 + 2 = 4|2=ok|3=oh noes}}
- Result:
{{#ifexpr:2 + 2 = 4|ok|oh noes}}
- Result:
{{Temp|#invoke:debug|error|Help, I'm trapped in an example factory}}
{{Temp|FULLPAGENAMEE:xyzzy}}
- Result:
{{FULLPAGENAMEE:xyzzy}}
- Result:
Faic cuideachd - Also see
{{Para}}
, {{Wikitag}}
- w:Template:tl on Wikipedia
The above documentation is transcluded from Teamplaid:Tempn/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |