Template:Almanacco/testcases
This is the template test cases page for the sandbox of Template:Almanacco. 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: |
Test data
[edit]Test with dmy
[edit]dmy=02-12-1840
{{Almanacco|dmy=02-12-1840}}
{{Almanacco}}
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
{{Almanacco|dmy=02-12-1840}}
{{Almanacco}}
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
dmy=02-12-1840 | label=What happened on 2nd December 1840
{{Almanacco|dmy=02-12-1840 |label=What happened on 2nd December 1840}}
{{Almanacco}}
Casaglia, Gherardo (2005). "What happened on 2nd December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "What happened on 2nd December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
dmy=02-12-1840 | match=La favorite
{{Almanacco|dmy=02-12-1840 |match=La favorite}}
{{Almanacco}}
Casaglia, Gherardo (2005). "La favorite, 2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "La favorite, 2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
dmy=02-12-1840 | match=La favorite | label=Details of La favorite's premiere
{{Almanacco|dmy=02-12-1840 |label=Details of La favorite's premiere |match=La favorite}}
{{Almanacco}}
Casaglia, Gherardo (2005). "Details of La favorite's premiere". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "Details of La favorite's premiere". L'Almanacco di Gherardo Casaglia (in Italian).
MOS approved date formats
[edit]dmy=2 December 1840
{{Almanacco|dmy=2 December 1840}}
{{Almanacco}}
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
dmy=December 2, 1840
{{Almanacco|dmy=December 2, 1840}}
{{Almanacco}}
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
dmy=1840-12-02
{{Almanacco|dmy=1840-12-02}}
{{Almanacco}}
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "2 December 1840". L'Almanacco di Gherardo Casaglia (in Italian).
Test no dmy
[edit]match=La favorite
{{Almanacco|match=La favorite}}
{{Almanacco}}
Casaglia, Gherardo (2005). "La favorite". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "La favorite". L'Almanacco di Gherardo Casaglia (in Italian).
match=La favorite | label=All entries for (any) La favorite
{{Almanacco|label=All entries for (any) La favorite |match=La favorite}}
{{Almanacco}}
Casaglia, Gherardo (2005). "All entries for (any) La favorite". L'Almanacco di Gherardo Casaglia (in Italian).
Casaglia, Gherardo (2005). "All entries for (any) La favorite". L'Almanacco di Gherardo Casaglia (in Italian).
Test linkonly
[edit]match=La favorite | linkonly=t
match=La favorite | label=All entries for (any) La favorite | linkonly=t
{{Almanacco|label=All entries for (any) La favorite |linkonly=t |match=La favorite}}
{{Almanacco}}
Test with no parameters
[edit]label=Invalid, neither required parameter supplied