This template identifies the interactive assistant to which the page it's used on belongs, assuming certain naming conventions.

Usage

edit

Simply place {{ASSTTEXT}} on a page to get the output.

Optional parameters:

  • unnamed — page name to use instead of the name of the transcluding page. Alternatively, name of a global assistant, or parent and name of a local assistant (cf. {{ASST}}).
  • bold — if non-blank, puts the assistant name (but not the parent) in boldface.
  • nolink — if non-blank, don't link the assistant name to the main documentation page for the assistant.
  • anchor — anchor when linking to the main documentation page for the assistant.
  • editintro — used for page-creation list if the main documentation page for the assistant does not exist.
  • preload — used for page-creation list if the main documentation page for the assistant does not exist.

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

Examples

edit
page where called result

Wikibooks:Assistant:Context

[[Wikibooks:Assistant:Context/doc|Context]]

Wikibooks:Assistant:Context/test

[[Wikibooks:Assistant:Context/doc#Wikibooks:Assistant:Context/test|Context]]

Template:Assistant:Context

[[Wikibooks:Assistant:Context/doc|Context]]

Wikibooks:Reference desk/Assistant:Request/commit

''Wikibooks:Reference desk'' ‍[[Wikibooks:Reference desk/Assistant:Request/doc#Wikibooks:Reference_desk/Assistant:Request/commit|Request]]

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

''Wikibooks:Reference desk'' ‍[[Wikibooks:Reference desk/Assistant:Request/doc#Template:Wikibooks:Reference_desk/Assistant:Request/commit|Request]]

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

''Wikibooks:Reference desk'' ‍[[Wikibooks:Reference desk/Assistant:Request/doc#Category:Wikibooks:Reference_desk/Assistant:Request/Templates|Request]]

Category:Wikibooks:Reference desk/Assistant:Request

''Wikibooks:Reference desk'' ‍[[Wikibooks:Reference desk/Assistant:Request/doc|Request]]

Category:Assistant:Context/Templates

[[Wikibooks:Assistant:Context/doc#Category:Assistant:Context/Templates|Context]]

Category:Assistant:Context

[[Wikibooks:Assistant:Context/doc|Context]]

User:Pi zero/Assistant:Context/button

''User:Pi zero'' ‍[[User:Pi zero/Assistant:Context/doc#User:Pi_zero/Assistant:Context/button|Context]]

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

''User:Pi zero'' ‍[[User:Pi zero/Assistant:Context/doc#User:Pi_zero/Assistant:Context/button/doc|Context]]

User:Pi zero/Context/doc

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

Wikibooks:Assistant:Context
anchor = whitelist
bold = x

'''[[Wikibooks:Assistant:Context/doc#whitelist|Context]]'''

Wikibooks:Assistant:Context
nolink = x
bold = x

'''Context'''

Wikibooks:Reference desk/Assistant:Request
bold = x
label = assistant

''Wikibooks:Reference desk'' ‍'''[[Wikibooks:Reference desk/Assistant:Request/doc|Request]]'''

Garthok/Assistant:Narful
preload = Template:Garthok/Assistant:Narful/preload
editintro = Template:Garthok/Assistant/Narful/editintro

''Garthok'' ‍<span class="plainlinks">[//en.wikibooks.org/w/index.php?title=Garthok/Assistant:Narful/doc&action=edit&editintro=Template:Garthok/Assistant/Narful/editintro&preload=Template:Garthok/Assistant:Narful/preload&summary=create create Narful]</span>

Internals

edit

Calls {{ASST}} with ASSTTEXT/t.

See also

edit