Template:Wn/si/මූලාශ්රය/ucauthor
This template takes an author name presumed to be problematically in ALL CAPS, and checks it against a list of recognized initialisms and acronyms. If it is on the list, it is returned as-is, otherwise all but the first letter are converted to lower case.
Note this is not, in the long term, expected to be high-use; it is used far less than its parent template {{Wn/si/මූලාශ්රය}}, and unlike its parent template, the number of pages that use it should subside over time. So adding initialisms/acronyms to the list will not cause nearly as much server load as would edits to the parent.
භාවිතය
[edit source]The one parameter is {{{Wn/si/author}}}, which is required.
Avoiding this template
[edit source]Although newbies needn't be trouted for causing {{Wn/si/මූලාශ්රය}} to call this template, most or all such calls should eventually be eliminated.
- A personal name in all caps can simply be corrected to mixed case.
- An initialism or acronym can usually appropriately be wikilinked. Wikilinking with {{Wn/si/w}} will prevent it from being sent here. Wikilinking with wiki markup using a mixed-case target will also prevent it from being sent here.
මේවාත් බලන්න
[edit source]- {{Wn/si/මූලාශ්රය/uc?}}
- Pages that use ucauthor: here.
- Pages that use fixauthor: here.
ඉහත දැක්වෙන උපදෙස්, Template:Wn/si/මූලාශ්රය/ucauthor/උපදෙස් වෙතින් ගෙනැවිත් ඇත. (සංස්කරණය | ඉතිහාසය) සංස්කාරක වරුන් හට මෙම සැකිල්ලේ වැලිපිල්ල (නිර්මාණය | mirror) සහ testcases (නිර්මාණය) පිටු තුළ අත්හදා බැලීම් සිදු කළ හැකිය. කරුණාකර /උපදෙස් උප පිටුව තුළට ප්රවර්ග එක් කරන්න. මෙම සැකිල්ලේ උප පිටු. |