Template:ASSTDOC
<not an assistant page>
This template returns the name of the main documentation page for the interactive assistant to which the page it's used on belongs, assuming certain naming conventions.
Usage
Simply place {{ASSTDOC}}
on a page to get the output.
Optionally specify an anchor within documentation page, as parameter anchor
.
Optionally specify a page as unnamed parameter to see the output for a different page than the current one; or the name of a global assistant, or parent and name of a local assistant (see parameter examples at {{ASST}}).
This template can be substituted (via subst:
) as well as transcluded.
Examples
page where called | result |
---|---|
Wikibooks:Assistant:Context |
|
Wikibooks:Assistant:Context/test |
|
Template:Assistant:Context |
|
Wikibooks:Reference desk/Assistant:Request/commit |
|
Template:Wikibooks:Reference desk/Assistant:Request/commit |
|
Category:Wikibooks:Reference desk/Assistant:Request/Templates |
|
Category:Wikibooks:Reference desk/Assistant:Request |
|
Category:Assistant:Context/Templates |
|
Category:Assistant:Context |
|
User:Pi zero/Assistant:Context/button |
|
User:Pi zero/Assistant:Context/button/doc |
|
User:Pi zero/Context/doc |
|
Internals
Calls {{ASST}} with ASSTDOC/t. Given an anchor
, anchorencode
s it.