Template:Random subpage/testcases
This is the template test cases page for the sandbox of Template:Random subpage. 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 with these links: |
No parameters
- Main
{{random subpage|}}
Subpage 1
- Sandbox
{{random subpage/sandbox|}}
Template:Random subpage/sandbox
Start and end only
- Main
{{random subpage|start=3|end=6}}
Subpage 4
- Sandbox
{{random subpage/sandbox|start=3|end=6}}
Template:Random subpage/sandbox
Page only
- Main
{{random subpage|page=Portal:Foo}}
- Sandbox
{{random subpage/sandbox|page=Portal:Foo}}
Template:Random subpage/sandbox
All parameters
- Main
{{random subpage|page=Portal:Foo|start=1|end=5}}
- Sandbox
{{random subpage/sandbox|page=Portal:Foo|start=1|end=5}}
Template:Random subpage/sandbox
Backwards range
- Main
{{random subpage|page=Portal:Foo|start=5|end=1}}
- Sandbox
{{random subpage/sandbox|page=Portal:Foo|start=5|end=1}}
Template:Random subpage/sandbox
Start only
- Main
{{random subpage|page=Portal:Foo|start=6}}
- Sandbox
{{random subpage/sandbox|page=Portal:Foo|start=6}}
Template:Random subpage/sandbox
End only
- Main
{{random subpage|page=Portal:Foo|end=3}}
- Sandbox
{{random subpage/sandbox|page=Portal:Foo|end=3}}
Template:Random subpage/sandbox
Positional parameters
- Main
{{random subpage|Portal:Foo|1|5}}
- Sandbox
{{random subpage/sandbox|Portal:Foo|1|5}}
Template:Random subpage/sandbox
Same parameter
- Main
{{random subpage|Portal:Foo|start=1|end=100|same=yes}}
{{random subpage|Portal:Foo|start=1|end=100|same=yes}}
{{random subpage|Portal:Foo|start=1|end=100|same=yes}}
- Sandbox
{{random subpage/sandbox|Portal:Foo|start=1|end=100|same=yes}}
{{random subpage/sandbox|Portal:Foo|start=1|end=100|same=yes}}
{{random subpage/sandbox|Portal:Foo|start=1|end=100|same=yes}}
Template:Random subpage/sandbox
Template:Random subpage/sandbox
Template:Random subpage/sandbox
Without same parameter
- Main
{{random subpage|Portal:Foo|start=1|end=100}}
{{random subpage|Portal:Foo|start=1|end=100}}
{{random subpage|Portal:Foo|start=1|end=100}}
- Sandbox
{{random subpage/sandbox|Portal:Foo|start=1|end=100}}
{{random subpage/sandbox|Portal:Foo|start=1|end=100}}
{{random subpage/sandbox|Portal:Foo|start=1|end=100}}
Template:Random subpage/sandbox