This high-risk template is indefinitely protected from editing to prevent vandalism.

Template:ASSTCATEGORY

From Wikibooks, open books for an open world
Jump to navigation Jump to search

<not an assistant page>

Template documentation[edit] [history] [purge]

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}}).

This template can be substituted (via subst:) as well as transcluded.

Examples

page where called result

Wikibooks:Assistant:Context

Category:Assistant:Context

Wikibooks:Assistant:Context/test

Category:Assistant:Context

Template:Assistant:Context

Category:Assistant:Context

Wikibooks:Reference desk/Assistant:Request/commit

Category:Wikibooks:Reference desk/Assistant:Request

Template:Wikibooks:Reference desk/Assistant:Request/commit

Category:Wikibooks:Reference desk/Assistant:Request

Category:Wikibooks:Reference desk/Assistant:Request/Templates

Category:Wikibooks:Reference desk/Assistant:Request

Category:Wikibooks:Reference desk/Assistant:Request

Category:Wikibooks:Reference desk/Assistant:Request

Category:Assistant:Context/Templates

Category:Assistant:Context

Category:Assistant:Context

Category:Assistant:Context

User:Pi zero/Assistant:Context/button

Category:Book:User:Pi zero/Assistant:Context

User:Pi zero/Assistant:Context/button/doc

Category:Book:User:Pi zero/Assistant:Context

User:Pi zero/Context/doc

<span style="color:red">'''<not an assistant page>'''</span>

Internals

Calls {{ASST}} with ASSTCATEGORY/t.