Template:ASSTDOCHEADING/doc
This is a documentation subpage for Template:ASSTDOCHEADING (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template returns the content for a section heading for the current page, suitable for use on the main documentation page for the interactive assistant to which the page belongs, assuming certain naming conventions.
Usage
[edit]Simply place {{ASSTDOCHEADING}}
on a page to get the output. Intended primarily ()for use on the main documentation page of an assistant, between double-equals:
== {{ASSTDOCHEADING|...}} ==
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}}).
The generated section header includes an {{anchor}} to the full name of the linked page.
This template can be substituted (via subst:
) as well as transcluded.
Examples
[edit]page where called | result |
---|---|
Wikinews:Assistant:Context |
|
Wikinews:Assistant:Context/test |
|
Template:Assistant:Context |
|
Wikinews:Reference desk/Assistant:Request/commit |
|
Template:Wikinews:Reference desk/Assistant:Request/commit |
|
Category:Wikinews:Reference desk/Assistant:Request/Templates |
|
Category:Wikinews: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
[edit]Calls {{ASST}} with ASSTDOCHEADING/t.