Template:Rfd relisted/testcases
This is the template test cases page for the sandbox of Template:Rfd relisted. 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 generate a test for Template:Rfd relisted, copy the following, edit the test result section, replace the contents with a paste, and save the page.
This test run of [[Template:Rfd relisted]] performed at ~~~~~.<br /><br />
;Test 1—Missing subst
<code><nowiki>{{rfd relisted}}</nowiki></code><br />
{{rfd relisted}}
<br /><br />
;Test 2—No params
<code><nowiki>{{subst:rfd relisted}}</nowiki></code><br />
{{subst:rfd relisted}}
<br /><br />
;Test 3—Page and heading params
<code><nowiki>{{subst:rfd relisted|page=2012 May 7|heading=bar}}</nowiki></code><br />
{{subst:rfd relisted|page=2012 May 7|heading=bar}}
<br /><br />
;Test 4—Page param only
<code><nowiki>{{subst:rfd relisted|page=2012 May 7}}</nowiki></code><br />
{{subst:rfd relisted|page=2012 May 7}}
<br /><br />
;Test 5—Heading param only
<code><nowiki>{{subst:rfd relisted|heading=bar}}</nowiki></code><br />
{{subst:rfd relisted|heading=bar}}
<br /><br />
;Test 6—Heading only via first non-named param
<code><nowiki>{{subst:rfd relisted|bar}}</nowiki></code><br />
{{subst:rfd relisted|bar}}
Test results
[edit]This test run of Template:Rfd relisted performed at 07:51, 6 August 2012 (UTC).
- Test 1—Missing subst
{{rfd relisted}}
This template must be substituted.
- Test 2—No params
{{subst:rfd relisted}}
- Test 3—Page and heading params
{{subst:rfd relisted|page=2012 May 7|bar}}
- Test 4—Page param only
{{subst:rfd relisted|page=2012 May 7}}
- Test 5—Heading param only
{{subst:rfd relisted|bar}}
- Test 6—Heading only via first non-named param
{{subst:rfd relisted|bar}}