Difference between revisions of "Template:Expand section/testcases"

From blackwiki
Jump to navigation Jump to search
imported>AqwQh31
imported>Moxy
m (Reverted edits by AqwQh31 (talk) to last version by MSGJ)
 
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). AqwQh31[[User:AqwQh31|AqwQh31]] ([[User talk:AqwQh31|talk]]) 12:13, 7 February 2019 (UTC)
+
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}} oi equivalent to {{para|1}}
+
|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}} {{AqwQh31}}[[User:AqwQh31|AqwQh31]] ([[User talk:AqwQh31|talk]]) 12:15, 7 February 2019 (UTC)
+
{{collapse bottom}}

Latest revision as of 11:57, 13 February 2019

Test cases, 12 June 2013

Template:Testcase

Template:Testcase

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

Template:Testcase


Template:Testcase

Template:Testcase


OLD Testing
  Current Sandbox
{{expand section}}
{{expand section|category=}}
{{expand section|examples and additional citations}}
{{expand section|talksection=Example}}
{{expand section|talksection=Example|small=no}}
{{expand section|examples and additional citations|talksection=Example}}
{{expand section|catanyway=|date=March 2009}}