User:DryHumour/Sandbox/Offer dialogue

From Guild Wars Wiki
Jump to navigationJump to search

Description[edit]

Boilerplate formatting for offer dialogues.

{{ Offer dialogue
| accept = 
| decline = 
| ask = 
| acceptopt = 
| declineopt = 
| askopt = 
| accepticon = 
| declineicon = 
| askicon = 
| accepttext = 
| declinetext = 
| asktext = 
| indent = 
}}

Parameters[edit]

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.
declineopt
Optional. Set non-empty to force decline option.
askopt
Optional. Set non-empty to force ask option.
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 "::", two colons)

Examples[edit]

{{ Offer dialogue
| accept = Sure.
| decline = No way.
| ask = Take it or leave it.
}}

Yes Accept: "Sure."
No Decline: "No way."
Ask Ask: "Take it or leave it."
{{ Offer dialogue
| accepticon = {{yes|yellow}}
| indent = :::
}}

Yes Accept
{{ Offer dialogue
| accept = 
| declineopt = Y
| askicon = {{ask|bubble}}
}}

Yes Accept
No Decline
Ask Ask