Template:Offer dialog
From Guild Wars Wiki 中文站
(Redirected from Template:Offer dialogue)
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.
}}
{{ Offer dialog
| accept =
| accepticon = {{yes|yellow}}
| indent = :::
}}