Template:1x/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Wikipedia import, documentation subpage of Template:1x)
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
<!-- Please add categories at the bottom of this page -->
<!-- Please add categories at the bottom of this page -->
{{Wikipedia port|documentation=1}}
{{Wikipedia port|documentation=1}}

Latest revision as of 02:27, 12 January 2024

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 (&lt; and &gt;).