Template:Tcond/doc

From RuneRealm Wiki

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:49, 17 October 2024 (Created page with "{{Documentation}} '''Transcript condition''' is used on transcript mw.pages to record dialogue that changes based on arbitrary conditions. Following a usage of tcond, dialogue that occurs in that branch should have an additional level of indent. ==Usage== <pre> * {{tcond|If the player has 100 coins:}} ** Example text * {{tcond|If the player does not have 100 coins:}} ** Example text </pre> Results in: {{Transcript example| * {{tcond|If the player has 100 coins:}} ** E..."). 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)
Jump to navigation Jump to search
This is a documentation subpage for Template:Tcond.
It contains usage information, categories, and other content that is not part of the original template page.

Transcript condition is used on transcript mw.pages to record dialogue that changes based on arbitrary conditions. Following a usage of tcond, dialogue that occurs in that branch should have an additional level of indent.

Usage

* {{tcond|If the player has 100 coins:}}
** Example text
* {{tcond|If the player does not have 100 coins:}}
** Example text

Results in:

  • If the player has 100 coins:
    • Example text
  • If the player does not have 100 coins:
    • Example text

Parameters

1

The condition text.