Template:1x
Appearance
{{{1}}}
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:1x/doc" to edit its documentation if it is available. (How does this work?) |
Template:Documentation subpage
- REDIRECT Template:High-use
| This page is a redirect. The following categories are used to track and monitor this redirect:
Template:R with Wikidata item Template:R from merge
|
This template echoes its first argument through the rendering engine.
Usage
This is occasionally useful as a metatemplate. For example:
- To break up certain constructs that otherwise have special meaning in wikitext.
{{1x|~~}}{{1x|~~}}→ ~~~~
- To strip white space from a template parameter.
a{{{1| x }}}b→ a x ba{{1x|1= {{{1| x }}} }}b→ axb
- To conditionally hide or show some content by choosing which template takes a parameter.
{{ {{#if: {{{x}}} | 2x | 1x }} | hello }}→ hello hello{{ {{#if: {{{x}}} | void | 1x }} | hello }}→