Template:ASST/parse/doc
Appearance
< Template:ASST | parse
| This is a documentation subpage for Template:ASST/parse It may contain usage information, categories and other content that is not part of the original template page. |
This subtemplate of {{ASST}} completes the parse after the page name has been identified and its assistant field located.
Usage
[edit source]Provide as first unnamed parameter the page name, and as second unnamed parameter the result of applying {{ASST/find}} to the page name.
This subtemplate is designed so it can be substituted (via subst:) as well as transcluded.
Examples
[edit source]| page name | result |
|---|---|
| fnord{} | <invalid page name> |
| Foo/bar/quux | <not an assistant page> |
| Template:Assistant:Foo/bar/quux | name: Assistant:Foospace: |
| Template:Aaa/Assistant:Bbb | name: Assistant:Bbbspace: |
| Template:Aaa/bbb/Assistant:Ccc/ddd/Assistant:Eee/fff | name: Assistant:Cccspace: |