Шаблон:ASSTCATEGORY
<not an assistant page>
This template returns the full name of the collective category for the interactive assistant to which the page it's used on belongs, assuming certain naming conventions.
Usage
Simply place {{ASSTCATEGORY}}
on a page to get the output.
Optionally specify a page as a 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}}).
Examples
page where called | result |
---|---|
Уикиновини:Assistant:Context |
|
Уикиновини:Assistant:Context/test |
|
Template:Assistant:Context |
|
Уикиновини:Reference desk/Assistant:Request/commit |
|
Template:Уикиновини:Reference desk/Assistant:Request/commit |
|
Category:Уикиновини:Reference desk/Assistant:Request/Templates |
|
Category:Уикиновини: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 ASSTCATEGORY/t.