Template:Tselect

Revision as of 13:22, 7 November 2024 by BlackHawk (talk | contribs) (Created page with "{{#if:{{{anchor|}}}|{{Anchor|{{{anchor}}}}}}}'''{{{1}}}'''<noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Template documentation
This documentation is transcluded from Template:Tselect/doc. [edit] [history] [purge]

Transcript select is used on transcript pages to record the "Select an option" text that comes before dialogue options. Following a usage of tselect, the dialogue options should be listed on individual lines using {{Topt}}.

Usage

* {{Tselect|Select an Option}}
** {{Topt|First option text}}
*** Example text
** {{Topt|Second option text}}
*** Example text

Results in:

  • Select an Option
    • First option text
      • Example text
    • Second option text
      • Example text

Parameters

1

The (typically) "Select an Option" title text.

anchor

(Optional.) If given, uses {{Anchor}} to add an anchor to this transcript entry (e.g. for use in {{Tact}}). The value must be an ID that is unique throughout the entire transcript (including section names).

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to display

Example
Select an Option
Stringrequired
Anchor tag idanchor

The tag to apply as an anchor prior to this text. Used for linking back to this in other parts of the dialogue.

Lineoptional