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

From blackwiki
Jump to navigation Jump to search
blackwiki>Milker
m (16 revisions imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{High-risk|173,000+}}
 
{{High-risk|173,000+}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
  
 
== Usage ==
 
== Usage ==
Line 12: Line 12:
 
* [[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]]
</includeonly>
+
[[Category:Wikipedia utility templates]]
 +
}}</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