Template:Text/doc: Difference between revisions
Appearance
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} This template will display the text that is passed in as the first unnamed parameter. It is useful to obfuscate patterns that would otherwise be rec..." |
Caleb Cooper (talk | contribs) |
||
| Line 12: | Line 12: | ||
==See also== |
==See also== |
||
For more detail see wikipedia page [[wikipedia:Template:Text]] |
|||
*{{tlx|Should be text}} (pertains to images) |
|||
*{{tlx|Not a typo}} |
|||
*{{Tlx|Proper name}} |
|||
*{{tlx|Sic|hide{{=}}y}} |
|||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
||
Latest revision as of 19:14, 24 October 2020
This template will display the text that is passed in as the first unnamed parameter. It is useful to obfuscate patterns that would otherwise be recognized by bots. As such, this template should obviously not be substituted or its purpose will be defeated.
- Example
- "
{{text|Foo}}" results in "Foo"
To further obscure patterns, this template also supports an optional second unnamed parameter. If present, both parameters will be concatenated.
- Example
- "
{{text|Fo|o}}" results in "Foo"
This effect could also be produced with "{{text|Fo}}o" or "{{text|Fo}}{{text|o}}" or several similar patterns, but placing the whole pattern in one template is somewhat more legible.
See also
For more detail see wikipedia page wikipedia:Template:Text