Template:Dialogue/doc
- This is the documentation subpage of Template:Dialogue. It contains usage information that is not part of the underlying template page.
This template formats quest or NPC dialogue in a presentable manner.
General Usage
Dialogue can be copy and pasted directly from the in-game chat log with no additional formatting, as long as the dialogue block is enclosed by {{Dialogue| and }}
{{Dialogue|
Speaker A: Lorem
Speaker B: Ipsum
etc.
}}
In addition, there is special syntax unique to this template for various functions. See the below sections.
Dialogue Options
Use > to denote potential answers to questions. The responses (if present) to each answer will be shown in collapsible boxes that are collapsed by default. Once the entire section with optional responses ends, use --- in its own line to denote the end of the section.
Example:
What will you say? > Option A Alphinaud: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. > Option B Alphinaud: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. > Option C (this does not have a unique response) ---
Output:
Optional Dialogue
Use -optional start in its own line to denote optional dialogue. When the optional dialogue concludes, write -optional end in its own line.
Example:
Alphinaud: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Alphinaud: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Alphinaud: Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. -optional start Alphinaud: Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -optional end Alisaie: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Output:
Cutscenes
Use -cutscene start in its own line to denote the start of a cutscene. Use -cutscene end in its own line to denote the end of a cutscene.
Example:
Alphinaud: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -cutscene start Alphinaud: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Alphinaud: Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Alisaie: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -cutscene end Alphinaud: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Output:
Links to speakers
By default, each speaker name will be linked to its wiki page. If you want to change the target of the link, or not have it link, use the following
- Change target of the link:
Target of link@Speaker name in game - No link:
x@Speaker name in game.
Example:
Alphinaud@Smart Elezen Teenager: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. x@Imposing Sign: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Output:
Quest Complete
Put -quest complete in its own line in the appropriate section of the dialogue to display a "Quest Complete" image.
Example:
Alphinaud: Good work. As in tradition, your next quest will begin with speaking to Wuk Lamat. -quest complete
Output: