Template:Trandom/doc

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:52, 17 October 2024 (Created page with "{{Documentation}} The '''Transcript Random''' dialogue template is used on transcript mw.pages to indicate the following spoken dialogues are randomised, whilst keeping the wording consistent across mw.pages. ==Usage== Typical usage is to place the template at the start of a section where each time dialogue is started the npc's response is random. <pre> * {{trandom}} * {{topt|Dialogue 1}} ** Example text ** {{tact|end}} * {{topt|Dialogue 2}} ** Example text ** {{tact|..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Trandom.
It contains usage information, categories, and other content that is not part of the original template page.

The Transcript Random dialogue template is used on transcript mw.pages to indicate the following spoken dialogues are randomised, whilst keeping the wording consistent across mw.pages.

Usage

Typical usage is to place the template at the start of a section where each time dialogue is started the npc's response is random.

* {{trandom}}
* {{topt|Dialogue 1}}
** Example text
** {{tact|end}}
* {{topt|Dialogue 2}}
** Example text
** {{tact|end}}

This would result in:

  • A random dialogue is selected from the following:
  • Dialogue 1
    • Example text
    • (End of dialogue)
  • Dialogue 2
    • Example text
    • (End of dialogue)