Template:Expand section/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Expand section. 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: |
![]() | This section needs expansion. You can help by adding to it. (June 2013) |
![]() | This section needs expansion with: June 2013. You can help by adding to it. |
![]() | This section needs expansion. You can help by adding to it. |
Test cases, 12 June 2013
{{Expand section}}
![]() | This section needs expansion with: {{Expand section|{{subst:DATE}}}}. You can help by adding to it. |
![]() | This section needs expansion with: {{Expand section|{{subst:DATE}}}}. You can help by adding to it. |
{{Expand section}}
![]() | This section needs expansion with: {{Expand section|1 January 2010}}. You can help by adding to it. |
![]() | This section needs expansion with: {{Expand section|1 January 2010}}. You can help by adding to it. |
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
{{Expand section}}
![]() | This section needs expansion with: {{Expand section/sandbox|with=Foo bar baz quux|{{subst:DATE}}}}. You can help by adding to it. |
![]() | This section needs expansion with: {{Expand section/sandbox|with=Foo bar baz quux|{{subst:DATE}}}}. You can help by adding to it. |
{{Expand section}}
![]() | This section needs expansion with:
{{Expand section/sandbox|1=
*Foo bar
*Baz quux
|{{subst:DATE}}
. You can help by adding to it. |
![]() | This section needs expansion with:
{{Expand section/sandbox|1=
*Foo bar
*Baz quux
|{{subst:DATE}}
. You can help by adding to it. |
{{Expand section}}
![]() | This section needs expansion with:
{{Expand section/sandbox|1=<nowiki />
*Foo bar
*Baz quux
|{{subst:DATE}}
. You can help by adding to it. |
![]() | This section needs expansion with:
{{Expand section/sandbox|1=<nowiki />
*Foo bar
*Baz quux
|{{subst:DATE}}
. You can help by adding to it. |
Variable width parameter
{{Expand section|date=June 2025 |small=left |variable-width=yes}}
{{Expand section}}
![]() | This section needs expansion. You can help by adding to it. (June 2025) |
![]() | This section needs expansion. You can help by adding to it. (June 2025) |
OLD Testing
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|