Difference between revisions of "Template:Expand section/testcases"
Jump to navigation
Jump to search
imported>AqwQh31 (→Test cases, 2011-12-22: AqwQh31) |
imported>Moxy |
||
| Line 20: | Line 20: | ||
<s>OK, so there's special code in {{tl|Ambox}} that checks for <nowiki>{{subst:Date}}</nowiki>.</s> | <s>OK, so there's special code in {{tl|Ambox}} that checks for <nowiki>{{subst:Date}}</nowiki>.</s> | ||
| − | Once I look at this saved page, I see <nowiki>{{subst:DATE}}</nowiki> has actually been changed to "date=June 2013". (C.f. <nowiki>{{subst:CURRENTDATE}}</nowiki>:"03:01, Wednesday June 12, 2013 ([[UTC]])") Note also <nowiki>{{DATE}}</nowiki>:"{{DATE}}", <s>which will be identical when I save, but the difference is it</s> isn't substed <s>in the preview</s> until the template page is used (transcribed). | + | Once I look at this saved page, I see <nowiki>{{subst:DATE}}</nowiki> has actually been changed to "date=June 2013". (C.f. <nowiki>{{subst:CURRENTDATE}}</nowiki>:"03:01, Wednesday June 12, 2013 ([[UTC]])") Note also <nowiki>{{DATE}}</nowiki>:"{{DATE}}", <s>which will be identical when I save, but the difference is it</s> isn't substed <s>in the preview</s> until the template page is used (transcribed). |
==Test cases, 2011-12-22== | ==Test cases, 2011-12-22== | ||
{{testcase | {{testcase | ||
| − | |id= Parameter {{para|with}} | + | |id= Parameter {{para|with}} equivalent to {{para|1}} |
|1=<nowiki>{{Expand section/sandbox|with=Foo bar baz quux|{{subst:DATE}}}}</nowiki> | |1=<nowiki>{{Expand section/sandbox|with=Foo bar baz quux|{{subst:DATE}}}}</nowiki> | ||
|2=Old {{{1}}}: {{Expand section|1=Foo bar baz quux|date=December 2011}} | |2=Old {{{1}}}: {{Expand section|1=Foo bar baz quux|date=December 2011}} | ||
| Line 110: | Line 110: | ||
|} | |} | ||
| − | {{collapse bottom}} | + | {{collapse bottom}} |
Latest revision as of 11:57, 13 February 2019
| This is the template test cases page for the sandbox of Template:Expand section. Script error: No such module "Purge". 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: |
This section needs expansion. (June 2013) |
This section needs expansion with: June 2013. |
This section needs expansion. |
Test cases, 12 June 2013
OK, so there's special code in {{Ambox}} that checks for {{subst:Date}}.
Once I look at this saved page, I see {{subst:DATE}} has actually been changed to "date=June 2013". (C.f. {{subst:CURRENTDATE}}:"03:01, Wednesday June 12, 2013 (UTC)") Note also {{DATE}}:"date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", which will be identical when I save, but the difference is it isn't substed in the preview until the template page is used (transcribed).
Test cases, 2011-12-22
OLD Testing
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|