User:Flutter/Help:Template modifiers
Jump to navigation
Jump to search
Usage | Explanation |
---|---|
{{:xyz}} | A bare colon is not a template modifier, it's the prefix for the main namespace. Test e.g. article {{:UTC}} vs. template {{UTC}}. Using this syntax you include the text of the main namespace article xyz in another article. |
{{int:xyz}} | Same as {{MediaWiki:xyz}}, except standard message translation is applied depending on subpages and content/user/uselang language. Another difference is: this doesn't appear under "Templates used on this page:". Rendered as ⧼xyz⧽ if MediaWiki:xyz doesn't exist. See also Help:System message. |
{{msg:xyz}} | Even if there is a magic word named "xyz", use template:xyz unless the template doesn't exist (equivalent to {{template:xyz}}). Normally, magic words have priority when there is a conflict. |
{{msgnw:xyz}} | The unevaluated wikitext is rendered. See msgnw. |
{{raw:xyz}} | [MW1.6+] Equivalent to {{msg:xyz}} above[1].
|
{{subst:xyz}} | In the wikitext, the tag is substituted by the content (single-level evaluation only), see Help:Substitution. |