Template:ASST/find/doc

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

Usage
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, returns. Otherwise, returns the index of the first field that starts with, starting with   for the first field.

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