Template:Xyzy/script/doc

This is a helper template for ; it takes the arguments sc=, lang=, and langprefix=, and returns the name of the script template that should use, according to these rules:


 * If sc= is non-blank, and not Xyzy, its value is returned.
 * Otherwise, if lang= has a template like or, then the value of that template is returned. (langprefix= is used in deciding where to look for that template.)
 * In particular, if lang= is blank, then None</tt> is returned. (This is controlled by </tt>.)
 * Otherwise, Eror</tt> is returned.