Template:Text/doc

From The Sims Wiki, a collaborative database for The Sims series
This is the current revision of this page, as edited by K6ka (talk | contribs) at 13:22, 2 May 2019 (Created page with " ==Description== This template will display the text that is passed in as the first unnamed parameter. It is useful to obfuscate patterns that would otherwise b..."). The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description[edit source]

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.

Credits[edit source]

This template's code and documentation were taken from the English Wikipedia.