Jump to content

Template:Rfd relisted/testcases

From Wikipedia, the free encyclopedia

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}}