Template:BWQuest/doc

Usage:

See also: Template:Daily Quest, Template:Public Quest, Template:Regional Quest, Template:Triad

This template replaces the older: Template:Quest


 * questid
 * (optional) Internal ID# used by the game to identify this quest in it's own database. This number is also used by some web resources such as the RoM-Welten db to absolutely identify records that may share names with other records.


 * youtubeid, youtubenote
 * (optional) YouTube ID of a video walkthrough of this quest. When you look at a YouTube URL like https://www.youtube.com/watch?v=IbAiE1-hAoM the youtubeid is the part following the "?v=", so "|youtubeid=IbAiE1-hAoM" for this example. Presently, this only works for videos hosted at YouTube.com.
 * youtubenote will be displayed to the right of the embedded video, but ONLY if youtubeid is not blank.


 * sectiondisplay
 * (Triad Quests only) This is used by Template:Triad to tell this template what section to display. Options are common or rewards. This switch is of NO use to users.


 * questname
 * (optional) Used only when the proper name of the quest is not the same as the PAGENAME, such as quest names that contain a colon or question mark (?).


 * series
 * will override startzone for the series name link. startzone is still used for the quests by zone link.


 * hub
 * provides a sublink target to the subsection of the series page. This no longer adds a Quests by POI link. See relpois


 * questtype
 * (optional) Values may be Daily, Guild Daily, Event Daily, Regional, Public, Crafting, Event, Lore or Epic. Default (blank) is simply a "normal" quest. See Category:Quest Types
 * IF questtype=Crafting, series should also be Crafting and you need to put the Profession in hub. minlevel should be the skill level required.


 * hidden
 * (optional) IF not blank, add this quest to Category:Hidden (Quest Type) and display the HIDDEN keyword.


 * level
 * The quest level as displayed in the Quest Journal. This is the level the quest is designed to be doable at for most players.


 * minlevel, minturninlevel
 * (computed) The minimum level required to receive this quest (normally 2 levels below the quest level) and the minimum level required to turn in this quest (usually, about 10 levels below the quest level). IF the questtype is "Regional Event", these two values will be suppressed. Lowest value either of these can be is 1. If either field has a value that overrides any computed value.


 * triviallevel
 * (optional) Indicates the level this quest becomes trivial and no longer rewards any XP/TP. This is normally 8 levels above the quest level, but no default computed value is displayed. IF this field is blank, nothing is displayed.


 * restriction
 * Use this ONLY if there is an unusual restriction on this quest, such as being available only for one race. Link this exactly as you wish it to appear, such as  only .

IF questtype=Crafting, put the skill required in hub and minlevel is the level you need in that skill.
 * oneaday
 * (switch) If NOT blank, this quest is limited to ONCE PER DAY.


 * bagquest
 * (switch) If NOT blank, this quest is a Bag Quest.


 * startmob, startmobtitle, startobject
 * These will wrap the value in the correct link codes (where applicable). startmob must be, by definition, an NPC so it will appear in green. If startmobtitle is defined it will be passed to Template:ORmoblink as well.


 * startitem, startitemquality
 * In order to colorize the link properly we need startitemquality. If not provided the link will be white (common).


 * startpoi
 * Name of the POI where this quest starts (if any)


 * startloc
 * x,y coordinates where this quest starts (if any)


 * smimage, smcaption
 * (optional) This is usually an image of the startmob used by the old Template:Quest. This could be an image of anything. smcaption can contain other template calls and will be displayed as the thumbnail caption exactly as given. Recently, we changed this so that smimage checks to see if an image exists for startmob or startobject, and links to the default image if it does. If you provide an image name in smimage it will override this testing. Likewise, smcaption will default to a link to the NPC or object. If you define smcaption it needs to be the full linker-template call to the pictured start mob/object.


 * endmob, endmobtitle
 * Name (and title) of the NPC to talk to to turn in this quest. IF endmob is blank, startmob is assumed to be the endmob.


 * endpoi=
 * Name of the POI where the NPC this quest ends with can be found (if any)


 * endloc=
 * x,y coordinates of the NPC this quest ends with


 * reltitles
 * (commalist) list of titles where this quest appears on the Required Quests list


 * exp, money, title
 * Experience, Gold, and Title awarded. We do not need TP as TP is always 10% of XP. Also, the template handles insertion of comma's to separate thousands and millions in both the exp and money output.


 * chain, chainname
 * This field should only be used for quest chains of moderate length. Short ones don't really need them and long ones would look bad on the page. 10 quests should probably be the max. This field is displayed exactly as entered as is intended for use with Ordered Lists. You have to wikify the links for the quests! In this case, feel free to use Template:ORquestlink instead of Template:questlink to link the quests.
 * If you use the newer chainname field, this overrides chain and stuffs the proper use of Template:QChain using series and chainname. The location of the page transcluded using chainname is ALWAYS located at  (Quest Series)/ .


 * editsection
 * (switch) Override the normal behavior of BWQuest pages, and make section headers display an "edit" button.

The following fields, plus series and hub, are passed to Template:Series. You should not follow this template with if you use these fields.
 * previous, pqtype, next, nqtype, finis
 * If previous or next is not blank, Template:Series will be called
 * If finis=REPEAT, this quest is repeatable and the quest chain ends here.

The following fields are to provide backward compatibility to the old Template:Quest format. We actually do use them, sometimes, or some parts of them. Especially task, need, and notes. These are all displayed exactly as entered.
 * fulldetails
 * (optional) The longer quest text.
 * srxpbq
 * (switch) Super Repeating XP-Boost Quest - really only meaningful on Daily quests, this adds a message to the same section as fulldetails explaining that this quest should be repeated as many times as possible whenever there is an XP Boost weekend.


 * task
 * (optional)


 * need
 * (optional) This field was not part of the old template. The Goals info was usually the last part of task. We have made it a separate field for more consistent handling. We used need instead of goals because Template:Daily Quest already called it need.


 * notes
 * (optional) This is speaking directly to the player, telling them how to get it done.


 * gossip
 * (optional) If you come back to talk to the NPC, after getting the quest but before completion, they will say this.


 * complete
 * (optional) What the NPC says when you come back with all goals finished.


 * reward
 * (optional, DEPRECATED) This is the only one we DO NOT want, but we do support it. Preferably, an editor should split this info up between exp, money, title, items, and ditems.


 * items, itemquantities, itemqualities, itemnotes
 * (commalists) Lists choices available for your reward. You may only choose ONE.


 * itemset, itemslot
 * (optional) IF the above items are all from an itemset, name it here and the slot it uses. This will generate a note.


 * ditems, ditemquantities, ditemqualities, ditemnotes
 * (commalists) This section lists items that you will receive directly regardless of choice

The following fields are commalists, which is to say they are a comma-delimited list of values (i.e. One,Two,Three).
 * relzones
 * If this quest requires travel to a different zone or instance, list them here.


 * relpois
 * This controls the linking to Quests by POI. IF the starting POI is in startpoi you do NOT need to list it here, but there is no harm if you do.


 * relmobs, relmobtypes
 * Mobs required for this quest, and their type. The types recognized are: NPC, Passive, Group, and Race. Monster is the assumed default.


 * relitems, relitemqualities
 * Items related to this quest, and the quality of the item if not common
 * relobjects
 * list of objects involved in this quest.

This template also uses:
 * Template:Coin
 * Template:Crafting
 * Template:Expansion

You may also need:
 * Template:PublicTask - Use this to color and highlight the task title lines on a Regional Event quest page