Template:Quest NPC
Template:Quest NPC is designed for use on Quest NPC pages to standardize their look and feel and to make them easier to create.
Template
{{Quest NPC |location= |hail= |title1= |details1= |reward1= |title2= |details2= |reward2= |title3= |details3= |reward3= |title4= |details4= |reward4= |title5= |details5= |reward5= |title6= |details6= |reward6= |note1= |note2= |note3= |note4= |image1= |caption1= |image2= |caption2= }}
Parameters
location
- Usage: Mandatory
- Description: The location parameter takes a string or strings denoting the location at which the quest NPC can be found. This is used to generate the end of the introductory sentence. The location is displayed as a link to the location's corresponding page.
- Valid Value(s): Any string or strings that correspond to a location in the game.
hail
- Usage: Optional
- Description: The hail parameter takes a string or strings denoting the text that the Quest NPC hails you with upon approach. This is used to generate the "Hail" section.
- Valid Value(s): Any string or strings.
title1
- Usage: Mandatory
- Description: The title1 parameter takes a string or strings denoting a quest that the quest NPC offers. This is used to generate the first cell in the first row of the quest table. If no value is supplied for title1, no rows beyond the first will be displayed in the quest table.
- Valid Value(s): Any string or strings that correspond to a valid quest.
details1
- Usage: Mandatory
- Description: The details1 parameter takes a string or strings denoting the most basic details associated with the first quest listed in the quest table. This is used to generate the second cell in the first row of the quest table.
- Valid Value(s): Any string or strings.
reward1
- Usage: Mandatory
- Description: The reward1 parameter takes a string or strings denoting the rewards received from the first quest listed in the quest table. This is used to generate the third cell in the first row of the quest table.
- Valid Value(s): Any string or strings.
title2
- Usage: Optional
- Description: The title2 parameter takes a string or strings denoting a quest that the quest NPC offers. This is used to generate the first cell in the second row of the quest table. If no value is supplied for details2 or reward2, title2 will not display.
- Valid Value(s): Any string or strings that correspond to a valid quest.
title3
- Usage: Optional
- Description: The title3 parameter takes a string or strings denoting a quest that the quest NPC offers. This is used to generate the first cell in the third row of the quest table. If no value is supplied for details3 or reward3, title3 will not display.
- Valid Value(s): Any string or strings that correspond to a valid quest.
title4
- Usage: Optional
- Description: The title4 parameter takes a string or strings denoting a quest that the quest NPC offers. This is used to generate the first cell in the fourth row of the quest table. If no value is supplied for details4 or reward4, title4 will not display.
- Valid Value(s): Any string or strings that correspond to a valid quest.
detailsX
|details1= ... |details2= ... |details3= ... |details4=
The detailsX parameters display the most basic details associated with the various quests that the quest NPC offers. They are displayed in the second column of the quest table. When supplying a value for these parameters, any string may be used. The details1 parameter is mandatory, but every one after that is optional. All detailsX parameters after detail1 only appear if the corresponding titleX and rewardX parameters are supplied with values.
rewardX
|reward1= ... |reward2= ... |reward3= ... |reward4=
The rewardX parameters display the rewards received from the various quests that the quest NPC offers. They are displayed in the third column of the quest table. When supplying a value for these parameters, any string may be used. The reward1 parameter is mandatory, but every one after that is optional. All rewardX parameters after reward1 only appear if the corresponding titleX and detailsX parameters are supplied with values.
noteX
|note1= |note2= |note3= |note4=
The noteX parameters display any additional notes on the quest NPC and their associated quests. They are displayed as bullet points under a "Notes" header below the quest table. When supplying a value for these parameters, any string may be used. The "Notes" header itself is included when use is made of the note1 parameter. All of the noteX parameters are sequentially conditional; I.e. if a value is supplied for notes2, but no value is supplied for notes1 before it, notes2 will not appear.
imageX
|image1= ... |image2=
The imageX parameters display any available images of the quest NPC and their associated quests. They are displayed in centered frames below the quest table, or below the noteX bullet points, if any exist. When entering a value for these parameters, any valid image name may be used. All of the imageX parameters are sequentially conditional; I.e. if a value is supplied for image2, but no value is supplied for image1 before it, image2 will not appear.
|caption1= ... |caption2=
The captionX parameters display optional captions that correspond to the images in the imageX parameters. When supplying a value for these parameters, any string may be used. All of the captionX parameters are dependant on their corresponding imageX parameters; I.e. if a value is supplied for caption1, but no value is supplied for image1, caption1 will not appear.