Template:Offer dialog

From Guild Wars Wiki 中文站
Revision as of 11:01, 27 April 2026 by gww>Toeri
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Description

Boilerplate formatting for NPC offer dialogs.

{{ Offer dialog
| accept = 
| decline = 
| ask = 
| accepticon = 
| declineicon = 
| askicon = 
| indent = 
}}

Parameters

accept
Optional. Text of the accept option.
decline
Optional. Text of the decline option.
ask
Optional. Text of the information option.
accepticon
Optional. Wiki markup for the accept icon. (Default: {{yes}})
declineicon
Optional. Wiki markup for the decline icon. (Default: {{no|ingame}})
askicon
Optional. Wiki markup for the information icon. (Default: {{ask}})
indent
Optional. Wiki markup to be used for indentation. (Default: "::", two colons)

Note on Empty Parameters

If you define a parameter but leave it blank (e.g., | accept = ), the dialog will display only the bolded button name (Accept) without any quotation text. If you omit the parameter entirely, the row will not render at all.

Examples

{{ Offer dialog
| 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 dialog
| accept = 
| accepticon = {{yes|yellow}}
| indent = :::
}}
Yes Accept