Template:Alternatives

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Documentation for Template:Alternatives [view] [edit] [history] [purge] (How does this work?)
This template is a work-in-progress and should not be used except for testing. It should be used within {{Dialogue}} for forward-compatibility, but shouldn't be backfilled into any other places right now. Erin Umbreon (talk) 03:55, 18 February 2026 (UTC)
{{alternatives|foo|bar|...}}

Displays phrases from in-game text which can vary depending on some conditions - for example, gendered or race-specific terms referring to the player character.

If you know what condition causes various alternatives to display, you can use named parameters to display them:

(TODO: document)

Parameters

This template accepts an arbitrary number of unnamed parameters, each of which is one possible phrase that could appear in the same position in the surrounding text.


Examples

{{alternatives|foo|bar}}

foo/bar

{{alternatives|m=he|f=she}}

he/she

{{alternatives|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a|a}}

a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a (that's 50 a's)