Template:Wn/shn/Source/fixauthor

From Wikimedia Incubator

{{{author}}}

[edit] ၽိုၼ်ၵႅမ်မိုဝ်း ထႅမ်းပလဵတ်ႉ

This template takes an author name that is presumed to be in ALL CAPS, but should be presented unchanged anyway, and returns it unchanged.

လွင်ႈၸႂ်ႉတိုဝ်း[edit source]

The one parameter is author, which is required.

Internals[edit source]

This template exists to enable tracking of pages that override {{Wn/shn/Source/ucauthor}} via parameter author. Technically, the tracking could be handled by a tracking category hardwired into {{Wn/shn/Source}} at the point where it uses parameter author to select between {{Wn/shn/Source/ucauthor}} and {{Wn/shn/Source/fixauthor}}; however, the modern incarnation of {{Wn/shn/Source}} avoids mixing layout with logic: if logic is used, the resultant clauses should be trivial, delegating anything nontrivial to a subtemplate. Therefore, injection of a tracking category would be delegated to a subtemplate. The existence of the subtemplate, though, obviates the need for a tracking category.

တူၺ်းပႃး[edit source]