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

From blackwiki
Jump to navigation Jump to search
blackwiki>Meters
m (Reverted edits by 66.87.64.69 (talk) to last version by Eyesnore)
m (16 revisions imported)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
 
{{High-risk|173,000+}}
 
{{High-risk|173,000+}}
 +
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
 +
 
== 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.
* As a metatemplate, for example, <code><nowiki>{{1x|<}}includeonly{{1x|>}}</nowiki></code> generates an <code>&lt;includeonly&gt;</code> tag that will be evaluated when the resulting template is substituted, unlike such a tag made with XML/HTML entities (&lt; and &gt;).
+
* As a metatemplate, for example, <code><nowiki>{{1x|<}}includeonly{{1x|>}}</nowiki></code> generates an <code>&lt;includeonly&gt;</code> tag that will be evaluated when the resulting template is substituted, unlike such a tag made with XML/HTML entities (&amp;lt; and &amp;gt;).
  
 
== See also ==
 
== See also ==
*[[Template:2x]]
+
* [[Template:2x]]
*[[Template:3x]]
+
* [[Template:3x]]
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- Categories and interwikis go here: -->
+
<!-- Add categories below this line, and interwikis at Wikidata -->
 
[[Category:Text-specific formatting and function templates]]
 
[[Category:Text-specific formatting and function templates]]
 
+
[[Category:Wikipedia utility templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 07:42, 4 October 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