User:42/NornResDialogueTest

From Guild Wars Wiki
Jump to navigationJump to search
 The purpose of this template is to format in a standardized way the dialogue used in the Norn NPC dialogue and make use of the icons used in the game to present the text in a way that matches accurately the format used in the game.
 
 This template will make use of the offer dialog template, so as to make work of use already done.  This template will attempt to pass parameters received by it to the offer dialogue template, so as to maintain consistent alignment within the template.

Steps and layers

Format used on the main page
template gets i-text, acc-text and dec-text from editor.
iI-text - the text that the NPC uses upon being talked to by the player
acc-texxt - the text displayed on the accept button
dec-text - the text displayed on the decline button

all of the above text appears on 2 locations on the finished page text visible as the end result

Ideal chain of events

Person uses template on NPC collector page

 Template for collectors returns Norn Init Dialogue text, no additional work needed
   
Person uses template on NPC collector page

 Template for res shrine Norn gets specific text info from editor, passes text down to offer dialogue box

  Template has format in place for full res shrine Norn dialogue heading section.

  Template calls for Norn Init Dialogue box and posts text

  Template shows text returned from two subcalls with properly adjusted text (non-default text and icon) back from offer dialogue template

  Template displays properly formatted dialogue section, with text entered by editor (in 2 locations in finished product)


Template front-end that would be used in Norn Bounty (NHP) givers pages

{{Norn Bounty dialogue
| i-text = 
| acc-text =
| dec-text =
}}

Parameters[edit]

i-text

The text that the Norn says after you defeat them, and when you talk to one while not under the NHP would be entered here.

acc-text

The Norn Hunting Party.jpg icon and text that is on the accept button would go here.

dec-text

The No icon and text that is on the decline button would go here.
  • For Norn Collectors

Usage:

{{Norn init dialogue}}
== Dialogue Example ==
'''Initial Dialogue'''

'''Before defeat:'''
:: ''Impress me in battle, then we talk!
{{ Offer dialog
| accept = Bring it!  (Fight!)
| decline = Maybe some other time.
| indent = :::
}}
  • For Norn Bounty givers

Usage:

{{Norn bounty dialogue}} - gotten from name
{{Norn init dialogue}}

'''After defeat:'''
: '''How can I be part of the hunt? '''
:: {{{i-text}}}
{{ Offer dialog
| accept =  {{{acc-text}}}
| decline = {{{dec-text}}}
| accepticon = [[File:Norn Hunting Party.jpg|31px]]
| indent = :::
}}
<!-- empty line -->
'''Secondary dialogue:'''
:: {{{i-text}}}
{{ Offer dialog
| accept =  {{{acc-text}}}
| decline = {{{dec-text}}}
| accepticon = [[File:Norn Hunting Party.jpg|31px]]
| indent = :::
}}
<!-- empty line -->
'''Under NHP with less than 25 kills'''
:: ''Hmm. (0..24) kills?  Come back when you've got a few more.''

Dialogue Example[edit]

Initial Dialogue

Before defeat:

Impress me in battle, then we talk!
Yes Accept: "Bring it! (Fight!)"
No Decline: "Maybe some other time."

Before defeat:

"Impress me in battle, then we talk!"
Yes Accept: "Bring it! (Fight.)"
No Decline: "Maybe some other time."


After defeat:

How can I be part of the hunt?
{{{i-text}}}
Norn Hunting Party.jpg Accept: "{{{acc-text}}}"
No Decline: "{{{dec-text}}}"

Secondary dialogue:

{{{i-text}}}
Norn Hunting Party.jpg Accept: "{{{acc-text}}}"
No Decline: "{{{dec-text}}}"

Under NHP with less than 25 kills

Hmm. (0..24) kills? Come back when you've got a few more.