Vorlage:News Source/uc?/doc

Aus skandinavien-wiki.net
Gnome-emblem-important.svg
Diese Vorlage wird auf over 15,600 Seiten verwendet
Um große Unterbrechungen und unnötige Serverauslastung zu vermeiden, solltest du Änderungen an anderer Stelle testen, indem du beispielsweise den Quellcode dieser Vorlage kopierst und in den Benutzerbereich oder in die Sandbox einfügst. Erwäge, deine Änderungen auf der Diskussionsseite vorzuschlagen, bevor du diese Vorlage bearbeitest.

This template checks a string to determine whether it is problematically all upper-case.

Usage

Pass as first unnamed parameter the string to be checked. Optionally, pass as second unnamed parameter a string officially designated as acceptable. Result is non-blank if a problem is detected, blank if no problem is detected.

Examples

code result comment
{{News Source/uc?}} string isn't all upper-case
{{News Source/uc?}} string is both upper- and lower-case
{{News Source/uc?}} string is officially designated as acceptable
{{News Source/uc?}} x string is problematic

Internals

This template is meant to apply to the author parameter to {{source}}, to determine whether it ought to be delegated to {{source/ucauthor}} for special attention. Any of three conditions mean there's no problem: if the string is altered by shifting it to all-upper case; if the string is not altered by shifting it to all-lower-case; or if the string is identical to the second unnamed parameter, which is meant to have been manually checked and determined to be appropriate.