Template:Text/doc

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history

This template was copied from Wikipedia and 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.
  • An additional use is to awt the colour of text.
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.

Color example

Classes with text colors adjusted corrected for both dark and light skins are named:

  • red
  • blue
  • green
  • gray

{{text|class=green|A message in green}}
: A message in green

See also[edit source]