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

Template:ASSTDOCHEADING

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 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

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

page where called result

Wikibooks:Assistant:Context

<span id="Wikibooks:Assistant:Context"></span>[[Wikibooks:Assistant:Context|Assistant:Context]]

Wikibooks:Assistant:Context/test

<span id="Wikibooks:Assistant:Context/test"></span>[[Wikibooks:Assistant:Context/test|test]]

Template:Assistant:Context

<span id="Template:Assistant:Context"></span>[[Template:Assistant:Context|Assistant:Context [Template]]]

Wikibooks:Reference desk/Assistant:Request/commit

<span id="Wikibooks:Reference_desk/Assistant:Request/commit"></span>[[Wikibooks:Reference desk/Assistant:Request/commit|commit]]

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

<span id="Template:Wikibooks:Reference_desk/Assistant:Request/commit"></span>[[Template:Wikibooks:Reference desk/Assistant:Request/commit|commit [Template]]]

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

<span id="Category:Wikibooks:Reference_desk/Assistant:Request/Templates"></span>[[Category:Wikibooks:Reference desk/Assistant:Request/Templates|Templates [Category]]]

Category:Wikibooks:Reference desk/Assistant:Request

<span id="Category:Wikibooks:Reference_desk/Assistant:Request"></span>[[Category:Wikibooks:Reference desk/Assistant:Request|Wikibooks:Reference desk/Assistant:Request [Category]]]

Category:Assistant:Context/Templates

<span id="Category:Assistant:Context/Templates"></span>[[Category:Assistant:Context/Templates|Templates [Category]]]

Category:Assistant:Context

<span id="Category:Assistant:Context"></span>[[Category:Assistant:Context|Assistant:Context [Category]]]

User:Pi zero/Assistant:Context/button

<span id="User:Pi_zero/Assistant:Context/button"></span>[[User:Pi zero/Assistant:Context/button|button]]

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

<span id="User:Pi_zero/Assistant:Context/button/doc"></span>[[User:Pi zero/Assistant:Context/button/doc|button/doc]]

User:Pi zero/Context/doc

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

Internals

Calls {{ASST}} with ASSTDOCHEADING/t.

Template:ASSTDOCHEADING/t