Jump to content

Template:ASSTTEXT/doc

From Wikinews, the free news source you can write!

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

Usage

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

page where called result

Wikinews:Assistant:Context

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

Wikinews:Assistant:Context/test

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

Template:Assistant:Context

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

Wikinews:Reference desk/Assistant:Request/commit

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

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

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

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

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

Category:Wikinews:Reference desk/Assistant:Request

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

Category:Assistant:Context/Templates

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

Category:Assistant:Context

[[Wikinews: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

'"`UNIQ--templatestyles-00000002-QINU`"'<span class="tmp-color" style="color:red">'''<not an assistant page>'''</span>

Wikinews:Assistant:Context
anchor = whitelist
bold = x

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

Wikinews:Assistant:Context
nolink = x
bold = x

'''Context'''

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

''Wikinews:Reference desk'' ‍'''[[Wikinews: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"><span style="color:#002bb8">[//en.wikinews.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></span>

Internals

Calls {{ASST}} with ASSTTEXT/t.

See also