Template:Expand section/testcases
| 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: |
OLD Testing
OLD Testing
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Legacy
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
Confirming example in description
{{Expand section|date=June 2013}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. (June 2013) |
This section needs expansion. You can help by adding to it. (June 2013) |
But is it really working: Trying an earlier date
{{Expand section|date=1 January 2010}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. (1 January 2010) |
This section needs expansion. You can help by adding to it. (1 January 2010) |
Test cases, 2011-12-22
Parameter |with equivalent to |1
{{Expand section|date=December 2011 |with=Foo bar baz quux}}
{{Expand section}}
This section needs expansion with: Foo bar baz quux. You can help by adding missing information. (December 2011) |
This section needs expansion with: Foo bar baz quux. You can help by adding to it. (December 2011) |
Line break in code fixes start-of-line display errors (lists, indents, etc.)
{{Expand section|*Foo bar
*Baz quux|date=December 2011}}
{{Expand section}}
This section needs expansion with: *Foo bar
*Baz quux. You can help by adding missing information. (December 2011) |
This section needs expansion with: *Foo bar
*Baz quux. You can help by adding to it. (December 2011) |
Line break in code -- current workaround
{{Expand section|*Foo bar
*Baz quux|date=December 2011}}
{{Expand section}}
This section needs expansion with: *Foo bar
*Baz quux. You can help by adding missing information. (December 2011) |
This section needs expansion with: *Foo bar
*Baz quux. You can help by adding to it. (December 2011) |
Variable width parameter
{{Expand section|date=August 2026 |small=left |width=variable}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. (August 2026) |
This section needs expansion. You can help by adding to it. (August 2026) |
Variable width parameter (no small; shouldn't work)
{{Expand section|date=August 2026 |small=no |width=variable}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. (August 2026) |
This section needs expansion. You can help by adding to it. (August 2026) |
Variable width parameter (parameter not equal to "variable"; shouldn't work)
{{Expand section|date=August 2026 |width=invalid}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. (August 2026) |
This section needs expansion. You can help by adding to it. (August 2026) |
Find-sources params 'find' and 'find2'
5a. Control: plain search ⟶ small box, no 'find sources' output
{{Expand section|date=August 2026}}
| {{Expand section}} | {{Expand section/sandbox}} | ||||
|---|---|---|---|---|---|
|
|
5b. small='left' ⟶ small box, no 'find sources'
{{Expand section|small=left}}
| {{Expand section}} | {{Expand section/sandbox}} | ||||
|---|---|---|---|---|---|
|
|
5c. small='no' ⟶ wide box, no 'find sources'
{{Expand section|small=no}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. |
This section needs expansion. You can help by adding to it. |
5d. small='yes' ⟶ wide box, no 'find sources' (any value for small other than 'left' generates wide box; so 'yes' = 'no' !)
{{Expand section|small=yes}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. |
This section needs expansion. You can help by adding to it. |
5e. Find param present with small = 'left' ⟶ small box, and 'find sources' output with find param value as quoted search keywords
{{Expand section|find=Liberation of France |small=left}}
| {{Expand section}} | {{Expand section/sandbox}} | ||||
|---|---|---|---|---|---|
|
|
5f. Find param present, no small ⟶ small box w 'find sources' with find param value as quoted search keywords
{{Expand section|find=Liberation of France}}
| {{Expand section}} | {{Expand section/sandbox}} | ||||
|---|---|---|---|---|---|
|
|
5g. Find param present with small ≠ 'left' ⟶ wide box w 'find sources' with find param value as quoted search keywords
{{Expand section|find=Merovingian dynasty |small=no}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. Find sources: "Merovingian dynasty" – news · newspapers · books · scholar · JSTOR |
This section needs expansion. You can help by adding to it. Find sources: "Merovingian dynasty" – news · newspapers · books · scholar · JSTOR |
5h. Find param present, no small ⟶ wide box w 'find sources' with find param value as quoted search keywords
{{Expand section|find=Merovingian dynasty}}
| {{Expand section}} | {{Expand section/sandbox}} | ||||
|---|---|---|---|---|---|
|
|
5i. Two find params present, small='no' ⟶ wide box w 'find sources' with quoted and unquoted search keywords
{{Expand section|find=World War I |find2=Eastern front |small=no}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. Find sources: "World War I" Eastern front – news · newspapers · books · scholar · JSTOR |
This section needs expansion. You can help by adding to it. Find sources: "World War I" Eastern front – news · newspapers · books · scholar · JSTOR |
5j. Any value for small other than 'left' is the same as 'no' ⟶ same as above (i.e., 'yes' = 'no'!)
{{Expand section|find=World War I |find2=Eastern front |small=yes}}
{{Expand section}}
This section needs expansion. You can help by adding missing information. Find sources: "World War I" Eastern front – news · newspapers · books · scholar · JSTOR |
This section needs expansion. You can help by adding to it. Find sources: "World War I" Eastern front – news · newspapers · books · scholar · JSTOR |
5k. Two find params present, no 'small' param ⟶ small box w 'find sources' with quoted and unquoted search keywords
{{Expand section|find=World War I |find2=Eastern front}}
| {{Expand section}} | {{Expand section/sandbox}} | ||||
|---|---|---|---|---|---|
|
|
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.