Template:Short description/lowercasecheck/testcases

Error cases – short description starts with lower-case letter

edit
{{Short description/lowercasecheck|foo}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED
{{Short description/lowercasecheck|foo bar}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED
{{Short description/lowercasecheck|  with leading whitespace  }}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED

Valid short descriptions

edit
{{Short description/lowercasecheck|1978 foo bar}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|Short description that is valid}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|Øéü éåIî}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|Élan starts with an accented capital letter}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|Leading whitespace}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}

Empty short description (this should throw an error in the main template)

edit
{{Short description/lowercasecheck}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}

Whitelisted words starting short description

edit
{{Short description/lowercasecheck|c. 1620 person}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|iMac software}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|none}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|iTunes version}}
Side by side comparison
{{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}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED
{{Short description/lowercasecheck|iMacsoftware (defunct)}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED
{{Short description/lowercasecheck|none of the above (should fail)}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
{{Short description/lowercasecheck|c.1620 person (needs a space)}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED
{{Short description/lowercasecheck|iphone app}}
Side by side comparison
{{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}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED
{{Short description/lowercasecheck|isnone of the above}}
Side by side comparison
{{Short description/lowercasecheck}}{{Short description/lowercasecheck/sandbox}}
CATEGORY APPLIED CATEGORY APPLIED