Difference between revisions of "Template:Quest NPC"
m |
m |
||
Line 41: | Line 41: | ||
}} | }} | ||
}} | }} | ||
− | |} | + | |- |
+ | {{#if: {{{title5|}}} | ||
+ | | {{#if: {{{details5|}}} | ||
+ | | {{#if: {{{reward5|}}} | ||
+ | | {{!}} style="border:1px solid #000000; padding:5px;" {{!}} [[{{{title5}}}]] | ||
+ | {{!}} style="border:1px solid #000000; padding:5px;" {{!}} {{{details5}}} | ||
+ | {{!}} style="border:1px solid #000000; padding:5px;" {{!}} {{{reward5}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
{{#if: {{{note1|}}} | {{#if: {{{note1|}}} | ||
| ==Notes== | | ==Notes== |
Revision as of 13:25, 30 May 2009
Template:Quest NPC is a template intended for use on any and all Quest NPC pages for automatic formatting.
Full Template
The following is the entirety of Template:Quest NPC.
{{Quest NPC |location= |title1= |details1= |reward1= |title2= |details2= |reward2= |title3= |details3= |reward3= |title4= |details4= |reward4= |note1= |note2= |note3= |note4= |image1= |caption1= |image2= |caption2= }}
Parameters
location
|location=
The location parameter displays the location at which the quest NPC can be found. It is displayed at the end of the introductory sentence. When supplying a value for this parameter, any string may be used. It is recommended that the exact name of the location be a link in the supplied string.
titleX
|title1= ... |title2= ... |title3= ... |title4=
The titleX parameters display the titles of the various quests that the quest NPC offers. They are displayed in the first column of the quest table. When supplying a value for these parameters, any string may be used. The supplied strings will be automatically converted to links. The title1 parameter is mandatory, but every one after that is optional. All titleX parameters after title1 only appear if the corresponding detailsX and rewardX parameters are supplied with values.
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.
Appearance
PAGENAME is an NPC quest giver that is located location=.
Quest Title | Details | Reward |
---|---|---|
title1= | details1= | reward1= |
title2= | details2= | reward2= |
title3= | details3= | reward3= |
title4= | details4= | reward4= |
Notes
- note1=
- note2=
- note3=
- note4=