Jump to content

ထႅမ်းပလဵတ်ႉ:ASST/find/doc

လုၵ်ႉတီႈ ဝီႇၶီႇပပ်ႉ မႃး

This subtemplate of {{ASST}} determines which field of a page name has prefix Assistant:. Meant to be used at option by other templates, not only by {{ASST}} and its subtemplates.

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

[မႄးထတ်း]

Specify the page name as unnamed parameter. If the parameter isn't a valid page name, returns blank. If no field of the page name starts with Assistant:, returns 0. Otherwise, returns the index of the first field that starts with Assistant:, starting with 1 for the first field.

This subtemplate is designed so it can be substituted (via subst:) as well as transcluded.

တူဝ်ယၢင်ႇ

[မႄးထတ်း]
page name result
fnord{}
Foo/bar/quux 0
Template:Assistant:Foo/bar/quux 1
Template:Aaa/Assistant:Bbb 2
Template:Aaa/bbb/Assistant:Ccc/ddd/Assistant:Eee/fff 3