Template:Pre/testcases
Appearance
| This is the template test cases page for the sandbox of Template:Pre. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
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.
...