Template:Freeze/testcases
Jump to navigation
Jump to search
| icon | This is the template test cases page for the sandbox of Template:Freeze. 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: |
| To update the examples, copy and paste them from the "Before substitution" section into the editing textbox. Purging this page will not work because all the examples are substituted. |
Before substitution
[edit source]* Subject page: <nowiki>{{subst:freeze}}</nowiki>
** Main: {{subst:freeze}}
** Sandbox: {{subst:freeze/sandbox}}
* Subject page with anchor: <nowiki>{{subst:freeze|#Test anchor 1}}</nowiki>
** Main: {{subst:freeze|#Test anchor 1}}
** Sandbox: {{subst:freeze/sandbox|#Test anchor 1}}
* Different page: <nowiki>{{subst:freeze|Association football}}</nowiki>
** Main: {{subst:freeze|Association football}}
** Sandbox: {{subst:freeze/sandbox|Association football}}
* Different page with link text: <nowiki>{{subst:freeze|Ice hockey|my favorite sport}}</nowiki>
** Main: {{subst:freeze|Ice hockey|my favorite sport}}
** Sandbox: {{subst:freeze/sandbox|Ice hockey|my favorite sport}}
* Different page with anchor: <nowiki>{{subst:freeze|Bowling#History|history of bowling}}</nowiki>
** Main: {{subst:freeze|Bowling#History|history of bowling}}
** Sandbox: {{subst:freeze/sandbox|Bowling#History|history of bowling}}
* Different page with namespace alias and equals sign: <nowiki>{{subst:freeze|1=WP:=}}</nowiki>
* Same page: <nowiki>{{subst:freeze|{{subst:FULLPAGENAME}}}}</nowiki>
** Main: {{subst:freeze|{{subst:FULLPAGENAME}}}}
** Sandbox: {{subst:freeze/sandbox|{{subst:FULLPAGENAME}}}}
* Same page with link text: <nowiki>{{subst:freeze|{{subst:FULLPAGENAME}}|this very page}}</nowiki>
** Main: {{subst:freeze|{{subst:FULLPAGENAME}}|this very page}}
** Sandbox: {{subst:freeze/sandbox|{{subst:FULLPAGENAME}}|this very page}}
* Same page with anchor: <nowiki>{{subst:freeze|{{subst:FULLPAGENAME}}#Test anchor 2}}</nowiki>
** Main: {{subst:freeze|{{subst:FULLPAGENAME}}#Test anchor 2}}
** Sandbox: {{subst:freeze/sandbox|{{subst:FULLPAGENAME}}#Test anchor 2}}
* Missing page: <nowiki>{{subst:freeze|Test Page}}</nowiki>
** Main: {{subst:freeze|Test Page}}
** Sandbox: {{subst:freeze/sandbox|Test Page}}
* Title with ampersand: <nowiki>{{subst:freeze|A&W}}</nowiki>
** Main: {{subst:freeze|A&W}}
** Sandbox: {{subst:freeze/sandbox|A&W}}
After substitution
[edit source]- Subject page: {{subst:freeze}}
- Subject page with anchor: {{subst:freeze|#Test anchor 1}}
- Different page: {{subst:freeze|Association football}}
- Main: Association football (as of now)
- Sandbox: Association football (as of now)
- Different page with link text: {{subst:freeze|Ice hockey|my favorite sport}}
- Main: my favorite sport
- Sandbox: my favorite sport
- Different page with anchor: {{subst:freeze|Bowling#History|history of bowling}}
- Main: history of bowling
- Sandbox: history of bowling
- Different page with namespace alias and equals sign: {{subst:freeze|1=WP:=}}
- Same page: {{subst:freeze|{{subst:FULLPAGENAME}}}}
- Same page with link text: {{subst:freeze|{{subst:FULLPAGENAME}}|this very page}}
- Main: this very page
- Sandbox: this very page
- Same page with anchor: {{subst:freeze|{{subst:FULLPAGENAME}}#Test anchor 2}}
- Missing page: {{subst:freeze|Test Page}}
- Main: Test Page (as of now)
- Sandbox: Unable to get latest revision ID for "Test Page".
- Title with ampersand: {{subst:freeze|A&W}}
- Main: A&W (as of now)
- Sandbox: A&W (as of now)