Template:1x/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== Usage == | == Usage == | ||
Echo the first argument to the template through the rendering engine. | Echo the first argument to the template through the rendering engine. | ||
* See how <code>{{{1}}}</code> behaves in a template. | * See how <code>{{{1}}}</code> behaves in a template. | ||
* As a metatemplate, for example, <code><nowiki>{{1x|<}}includeonly{{1x|>}}</nowiki></code> generates an | * As a metatemplate, for example, <code><nowiki>{{1x|<}}includeonly{{1x|>}}</nowiki></code> generates an {{tag|includeonly|o}} tag that will be evaluated when the resulting template is substituted, unlike such a tag made with XML/HTML entities (&lt; and &gt;). | ||
== See also == | == See also == | ||
* | * {{tl|3x}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other||{{testcases other|| | ||
<!-- | |||
[[Category: | <!-- Categories below this line, please --> | ||
}}</includeonly> | [[Category:Utility templates]] | ||
}}}}</includeonly> |
Latest revision as of 01:40, 20 August 2023
It contains usage information, categories and other content that is not part of the original template page.
|
Usage
Echo the first argument to the template through the rendering engine.
- See how
{{{1}}}
behaves in a template. - As a metatemplate, for example,
{{1x|<}}includeonly{{1x|>}}
generates an<includeonly>
tag that will be evaluated when the resulting template is substituted, unlike such a tag made with XML/HTML entities (< and >).
See also
- {{3x}}