Template:User Wikipedian for/testcases
This is the template test cases page for the sandbox of Template:User Wikipedian for. 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: |
Test case 1
[edit]- Sandbox
{{User Wikipedian for/sandbox}}
- Main template
{{User Wikipedian for}}
Test case 2
[edit]- Sandbox
{{User Wikipedian for/sandbox|year=2007}}
- Main template
{{User Wikipedian for|year=2007}}
Test case 3
[edit]- Sandbox
{{User Wikipedian for/sandbox|year=2007|month=03}}
- Main template
{{User Wikipedian for|year=2007|month=03}}
Test case 4
[edit]- Sandbox
{{User Wikipedian for/sandbox|year=2001|month=01|day=15}}
- Main template
{{User Wikipedian for|year=2001|month=01|day=15}}
Test case 5
[edit]- Sandbox
{{User Wikipedian for/sandbox|year=2001|month=01|day=15|link=true}}
- Main template
{{User Wikipedian for|year=2001|month=01|day=15|link=true}}
Test case 6
[edit]- Sandbox
{{User Wikipedian for/sandbox|year=2001|month=01|day=15|diff=http://en.wiki.x.io/w/index.php?title=Over_and_under_shotgun&diff=prev&oldid=337165067}}
- Main template
{{User Wikipedian for|year=2001|month=01|day=15|diff=http://en.wiki.x.io/w/index.php?title=Over_and_under_shotgun&diff=prev&oldid=337165067}}
Test case 7
[edit]- Sandbox
{{User Wikipedian for/sandbox|year={{CURRENTYEAR}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}
- Main template
{{User Wikipedian for|year={{CURRENTYEAR}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}
Test case 8
[edit]- Sandbox
{{User Wikipedian for/sandbox|year={{#expr:{{CURRENTYEAR}}-1}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}
- Main template
{{User Wikipedian for|year={{#expr:{{CURRENTYEAR}}-1}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}