User:DryHumour/Sandbox/Standard dialogue

From Guild Wars Wiki
Jump to navigationJump to search
{{{speaker}}}
"{{{text}}}"

Description[edit]

Boilerplate formatting for standard dialogues.

{{ Standard dialogue
| speaker = 
| text = 
| text2 = 
| text3 = 
| accept = 
| decline = 
| ask = 
| acceptopt = 
| declineopt = 
| askopt = 
| accepticon = 
| declineicon = 
| askicon = 
| accepttext = 
| declinetext = 
| asktext = 
| indent = 
}}

Parameters[edit]

speaker
The name of the speaker.
text
The first paragraph of the speaker's text.
textN
Optional. Subsequent paragraphs of the speaker's text.
accept
Optional. Text of accept option, possibly empty.
decline
Optional. Text of decline option, possibly empty.
ask
Optional. Text of information option, possibly empty.
acceptopt
Optional. Set non-empty to force accept option to appear.
declineopt
Optional. Set non-empty to force decline option to appear.
askopt
Optional. Set non-empty to force ask option to appear.
accepticon
Optional. Wiki markup for accept icon. (default: Yes)
declineicon
Optional. Wiki markup for decline icon. (default: No)
askicon
Optional. Wiki markup for information icon. (default: Ask)
accepttext
Optional. Non-empty text of accept option.
declinetext
Optional. Non-empty text of decline option.
asktext
Optional. Non-empty text of ask option.
indent
Optional. Wiki markup to be used for indentation of nested dialogues. (default: none)

Examples[edit]

{{ Standard dialogue
| speaker = A Fellow
| text = That's it.  That's all there is.  It's your only option.
| text2 = What do you say?  Have you decided?
| accept = Sure.
| decline = No way.
| ask = Take it or leave it.
}}
A Fellow
"That's it. That's all there is. It's your only option.
"What do you say? Have you decided?"
Yes Accept: "Sure."
No Decline: "No way."
Ask Ask: "Take it or leave it."


{{ Standard dialogue
| speaker = Another Fellow
| text = Will you do it?
| acceptopt = Y
| declineicon = {{no}}
| indent = :
}}
Another Fellow
"Will you do it?"
Yes Accept
No Decline