Difference between revisions of "Template:Expand section/testcases"
Jump to navigation
Jump to search
imported>AqwQh31 (→Test cases, 12 June 2013: AqwQh31) |
imported>AqwQh31 (→Test cases, 2011-12-22: AqwQh31) |
||
| Line 24: | Line 24: | ||
==Test cases, 2011-12-22== | ==Test cases, 2011-12-22== | ||
{{testcase | {{testcase | ||
| − | |id= Parameter {{para|with}} equivalent to {{para|1}} | + | |id= Parameter {{para|with}} oi 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}} {{AqwQh31}}[[User:AqwQh31|AqwQh31]] ([[User talk:AqwQh31|talk]]) 12:15, 7 February 2019 (UTC) |
Revision as of 12:15, 7 February 2019
| 42px | 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). AqwQh31AqwQh31 (talk) 12:13, 7 February 2019 (UTC)
Test cases, 2011-12-22
OLD Testing
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Template:AqwQh31AqwQh31 (talk) 12:15, 7 February 2019 (UTC)