Difference between revisions of "Template:1x/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andrybak
(clarify HTML entities)
blackwiki>Milker
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{High-risk|173,000+}}
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
{{High-risk|173,000+}}
+
 
 
== 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 {{param|1}} behaves in a template.
 
* See how {{param|1}} behaves in a template.
Line 9: Line 9:
  
 
== See also ==
 
== See also ==
*[[Template:2x]]
+
* [[Template:2x]]
*[[Template:3x]]
+
* [[Template:3x]]
  
 
<includeonly>
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Text-specific formatting and function templates]]
 
[[Category:Text-specific formatting and function templates]]
 
 
</includeonly>
 
</includeonly>

Revision as of 13:06, 6 January 2020

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;).

See also