Template:Fdnw/doc

From Meta, a Wikimedia project coordination wiki

Usage[edit]

{{fdnw|p   q
''r''

[[s]]}}

gives:


<nowiki>p   q
''r''

[[s]]</nowiki>

gives p q ''r'' [[s]]


Limitations and special considerations[edit]

As usual, if the parameter contains "=", put "1=" in front.

The template shows before "gives" the expanded parameter in <nowiki> tags, and after "gives" the rendering of this, with the following consequences.

Wrong results[edit]

  • the <nowiki> tag does not prevent codes like "&rarr;" to be interpreted, so the template does not show, for example, that "&rarr;" gives "→"; if a wikitext is used that is displayed as "&rarr;", the template will wrongly show a result in which this is rendered unchanged

Limitation of wikitexts[edit]

  • the fact that <nowiki> tags prevent expansion is not demonstrated, what is shown inside <nowiki> tags is already expanded

See also[edit]