Jump to content

Template:Pre/testcases

From Wikipedia, the free encyclopedia

Live template

[edit]

Below is a display of the current live template, with testing data. See section below for the current sandbox display.

{{Pre}}

First line, markup working: and HTML comment  hidden.

Second line, long text wrapping: all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.

Pipes separate parameters, so literal pipes cannot be included.
                              ^^^^^^^^^^^^^ Escape them as {{!}} and | it's | OK.
Similarly, = is the the parameter/value separator so a literal = must be escaped as {{=}}.
Or, between <nowiki>...</nowiki>, you can include | whatever = you || want.

Fourth      line,     multiples spaces collapsed into one as in HTML and wikitext.
Fifth line, stuck with the previous one if no blank line between them.

Last line, is actually standalone with or without a blank line.
...

{{Pre/sandbox}}

First line, markup working: and HTML comment  hidden.

Second line, long text wrapping: all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.

Pipes separate parameters, so literal pipes cannot be included.
                              ^^^^^^^^^^^^^ Escape them as {{!}} and | it's | OK.
Similarly, = is the the parameter/value separator so a literal = must be escaped as {{=}}.
Or, between <nowiki>...</nowiki>, you can include | whatever = you || want.

Fourth      line,     multiples spaces collapsed into one as in HTML and wikitext.
Fifth line, stuck with the previous one if no blank line between them.

Last line, is actually standalone with or without a blank line.
...