Template:Short description/lowercasecheck/testcases
![]() | This is the template test cases page for the sandbox of Template:Short description/lowercasecheck. 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: |
Error cases – short description starts with lower-case letter
edit{{Short description/lowercasecheck|foo}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
{{Short description/lowercasecheck|foo bar}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
{{Short description/lowercasecheck| with leading whitespace }}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
Valid short descriptions
edit{{Short description/lowercasecheck|1978 foo bar}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|Short description that is valid}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|Øéü éåIî}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|Élan starts with an accented capital letter}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|Leading whitespace}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
Empty short description (this should throw an error in the main template)
edit{{Short description/lowercasecheck}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
Whitelisted words starting short description
edit{{Short description/lowercasecheck|c. 1620 person}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|iMac software}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|none}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|iTunes version}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
Whitelisted words that should fail the check (template should check for whitelist word and then a space)
edit{{Short description/lowercasecheck|iMacsoftware}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
{{Short description/lowercasecheck|iMacsoftware (defunct)}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
{{Short description/lowercasecheck|none of the above (should fail)}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
{{Short description/lowercasecheck|c.1620 person (needs a space)}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
{{Short description/lowercasecheck|iphone app}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
Lower-case first letter, contains whitelisted word but not on its own at the start (should be an error)
edit{{Short description/lowercasecheck|is none of the above}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |
{{Short description/lowercasecheck|isnone of the above}}
{{Short description/lowercasecheck}} | {{Short description/lowercasecheck/sandbox}} |
---|---|
CATEGORY APPLIED | CATEGORY APPLIED |