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

From blackwiki
Jump to navigation Jump to search
blackwiki>Milker
blackwiki>Redrose64
(→‎See also: rm strange syntax)
Line 14: Line 14:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Add categories below this line, and interwikis at Wikidata -->
 
<!-- Add categories below this line, and interwikis at Wikidata -->
[[{{ns:Category}}:Text-specific formatting and function templates]]
+
[[Category:Text-specific formatting and function templates]]
[[{{ns:Category}}:Wikipedia utility templates]]
+
[[Category:Wikipedia utility templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 12:10, 10 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