Jump to content

Template:About/testcases

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Andrybak (talk | contribs) at 16:16, 4 July 2020 (Examples with multiple and keywords: add |_title=). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Tests that sandbox version doesn't change documented functionality:

Examples without "section" parameter

[edit]
no topic
{{About}}

{{About}}

{{About/sandbox}}


</noinclude>

only topic
{{About|USE1}}

{{About}}

{{About/sandbox}}


</noinclude>

topic and one page
{{About|USE1||PAGE2}}

{{About}}

{{About/sandbox}}


</noinclude>

one other use
{{About|USE1|USE2|PAGE2}}

{{About}}

{{About/sandbox}}


</noinclude>

four other uses
{{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}

{{About}}

{{About/sandbox}}


</noinclude>

trailing use at end
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}}

{{About}}

{{About/sandbox}}


</noinclude>

Explicit "other uses"
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4}}

{{About}}

{{About/sandbox}}


</noinclude>

Many uses but no topic
{{About||USE2|PAGE2|USE3|PAGE3|other uses}}

{{About}}

{{About/sandbox}}


</noinclude>

One other use with "and" param
{{About|USE1|USE2|PAGE2|and|PAGE3}}

{{About}}

{{About/sandbox}}


</noinclude>

Two other uses with "and" param in middle
{{About|USE1|USE2|PAGE2|and|PAGE3|USE3|PAGE4}}

{{About}}

{{About/sandbox}}


</noinclude>

Two other uses with "and" param at end
{{About|USE1|USE2|PAGE2|USE3|PAGE3|and|PAGE4}}

{{About}}

{{About/sandbox}}


</noinclude>

Many uses with "and" param
{{About|USE1|USE2|PAGE2|and|PAGE3|USE4|PAGE4|and|PAGE5}}

{{About}}

{{About/sandbox}}


</noinclude>

with text
{{About|USE1|USE2|PAGE2|text=Lorem ipsum}}

{{About}}

{{About/sandbox}}


</noinclude>

Examples with "section" parameter

[edit]
no topic
{{About|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

only topic
{{About|USE1|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

topic and one page
{{About|USE1||PAGE2|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

one other use
{{About|USE1|USE2|PAGE2|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

four other uses
{{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

trailing use at end
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

Explicit "other uses"
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

Many uses but no topic
{{About||USE2|PAGE2|USE3|PAGE3|other uses|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

One other use with "and" param
{{About|USE1|USE2|PAGE2|and|PAGE3|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

Two other uses with "and" param in middle
{{About|USE1|USE2|PAGE2|and|PAGE3|USE3|PAGE4|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

Two other uses with "and" param at end
{{About|USE1|USE2|PAGE2|USE3|PAGE3|and|PAGE4|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

Many uses with "and" param
{{About|USE1|USE2|PAGE2|and|PAGE3|USE4|PAGE4|and|PAGE5|section=yes}}

{{About}}

{{About/sandbox}}


</noinclude>

with text
{{About|USE1|USE2|PAGE2|section=yes |text=Lorem ipsum}}

{{About}}

{{About/sandbox}}


</noinclude>

Examples with multiple "and" keywords

[edit]
three pages
{{About|USE1|USE2|PAGE2|and|PAGE3|and|PAGE4}}

{{About}}

{{About/sandbox}}


</noinclude>

four pages
{{About|USE1|USE2|PAGE2|and|PAGE3|and|PAGE4|USE3|PAGE5}}

{{About}}

{{About/sandbox}}


</noinclude>

five pages
{{About|USE1|USE2|PAGE2|and|PAGE3|and|PAGE4|USE3|PAGE5|and|PAGE6}}

{{About}}

{{About/sandbox}}


</noinclude>

six pages
{{About|USE1|USE2|PAGE2|and|PAGE3|and|PAGE4|USE3|PAGE5|and|PAGE6|and|PAGE7}}

{{About}}

{{About/sandbox}}


</noinclude>