Difference between revisions of "Template:Quest infobox"
Jump to navigation
Jump to search
(Added the ability to override the templates for the rewards and just display custom text, useful if the reward is something the template isn't built to handle.) |
JohnnySolas (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=Quest}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}}}<div class="infobox-n quest"> | <includeonly>{{#set:Has context=Quest}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}}}<div class="infobox-n quest"> | ||
<div class="icon quest-infobox-icon"> | <div class="icon quest-infobox-icon"> | ||
<div style="overflow: hidden; width: 38px; height: 38px; display:inline-block; vertical-align:middle;"> | <div style="overflow: hidden; width: 38px; height: 38px; display:inline-block; vertical-align:middle;"> |
Revision as of 14:57, 15 May 2021
Description
{{Quest infobox | title = | description = | image = | quest-giver = | location = | location-x = | location-y = | type = | quest-line = | organization = | class = | job = | level = | req-quest = | req-items = | requirements = | exp = | gil = | mettle = | reward(1-10) = | overridereward(1-10) = | reward-opt(1-8) = | overridereward-opt(1-8) = | unlocks = | prev-quest = | next-quest = | patch = | release = }}
Parameters
- title
- Quest title. Defaults to the page name.
- description
- Brief quest description.
- desc-note
- Optional. Small note which appear after quest description.
- image
- Optional. Displays an image frame attached to the quest. Accepts either y to default to
<page name> (image).png
, or the image path. - quest-giver
- The NPC who starts the quest.
- location
- The location where the quest giver is at the moment you obtain such quest.
- location-x, location-y
- Optional. If location is specified, shows (x, y) coordinates.
- type
- The quest type. Accepts: main scenario, sidequest (or quest, for side quests), side story, class, job, daily, feature, repeatablefeature, repfeature, or levequest.
- quest-line
- Optional. The quest line this quest belongs to, mainly useful for story quest lines.
- organization
- Optional. Organization related to the quest (eg. tribe).
- class
- Optional. Class related to the quest.
- job
- Optional. Job related to the quest.
- level
- Optional. The level required.
- req-items
- Optional. Items required in order to progress/finish this quest. Accepts comma-separated items.
- Note: this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg.
<quantity> <item>
). - requirements
- Optional. Quest's additional requirements. Accepts comma-separated requirements.
- exp
- Optional. Experienced awarded by the quest.
- gil
- Optional. Gil awarded by the quest.
- mettle
- Optional. Mettle awarded by the quest.
- reward(1-10)
- Optional. List of rewards awarded by the quest.
- Note: this parameter requires quantity to be always provided (even 1), separated by a whitespace (eg.
<quantity> <item/reward>
), unless overriden by overridereward(1-10). - overridereward(1-10)
- Optional. If set to anything (I.e. not blank), reward(1-10) will override the item reward template and just display what text is given.
- reward-opt(1-8)
- Optional. List of optional rewards awarded by the quest.
- Note: this parameter requires quantity to be always provided (even 1), separated by a whitespace. (eg.
<quantity> <item/reward>
), unless overriden by overridereward-opt(1-8). - overridereward-opt(1-8)
- Optional. If set to anything (I.e. not blank), reward-opt(1-8) will override the item reward template and just display what text is given.
- unlocks
- Optional. List of system unlocks.
- Note: this parameter requires type to be always provided, separated by a whitespace. (eg.
<type> <unlock name>
). Type can be ac (Action), tt (Trait), dg (Dungeon), em (Emote), lc (Location), ot (Other), ra (Raid), tr (Trial), cur (Aether Current), ms (Mount Speed Increase), or r<1-8> (Reputation rank up). - req-quest
- Optional. Quest required in order to unlock this quest. For daily quests, or other types which aren't part of a chain.
- prev-quest
- Optional. Previous quest in this chain. For MSQ and other, chain-based quests. Hidden if type is daily.
- next-quest
- Optional. Next quest in this chain. For MSQ and other, chain-based quests. Hidden if type is daily.
- patch
- Optional. Patch number.
- release
- Optional. Expansion this quest belongs to. Accepts: heavensward, or stormblood, or shadowbringers.
Example
{{Quest infobox | title = A Sappy Ending | description = [[Fibubb Gah]] seeks aid to replenish the [[Brotherhood]]'s stock of healing salves. | image = | quest-giver = Fibubb Gah | location = Limsa Lominsa | location-x = 23 | location-y = 14 | type = daily | quest-line = | organization = Amalj'aa | level = 43 | req-quest = Forest Friend | req-items = 1 Frumenty, 2 Raisins | requirements = Neutral Relations | exp = 8970 | gil = 480 | reward1 = 5 Allagan Tomestone of Poetics | reward2 = 5 Amalj'aa Relations | reward3 = 1 Venture | reward4 = Relic weapon, depending on job | overridereward4 = true | reward-opt1 = 1 Allagan Tomestone of Poetics | reward-opt2 = 1 Venture | unlocks = ac Deathflare, dg The Tam-Tara Deepcroft, tr Containment Bay S1T7 (Extreme), r3 Amalj'aa | patch = 4.1 | release = }}
A Sappy Ending
- Quest giver
- Fibubb Gah
- Location
- Limsa Lominsa (X:23, Y:14)
- Organization
- Amalj'aa
- Level
- 43
- Required quest
- Forest Friend
- Required items
- 1 Frumenty
2 Raisins - Requirements
- Neutral Relations
- Experience
- 8,970
- Gil
- 480
- Patch
- 4.1
“Fibubb Gah seeks aid to replenish the Brotherhood's stock of healing salves.
— In-game description
Rewards
- 5 Allagan Tomestone of Poetics
- 5 Amalj'aa Relations
- 1 Venture
- Relic weapon, depending on job
- Optional rewards
- Unlocks