This subtemplate of {{SHELFNAME}} does the actual deduction of the associated shelf-page name, using data provided by the parent template.

လွင်ႈၸႂ်ႉတိုဝ်း

မႄးထတ်း

The two parameters expected are namespace and basename.

ၽၢႆႇၼႂ်း

မႄးထတ်း

If the basename has prefix Shelf:, nothing else is looked at. Otherwise, non-content pages lose their namespace prefix while content pages, consistent with the behavior of {{BOOKNAME}}, retain their namespace prefix.