Difference between revisions of "Template:QuestDisplay"
Jump to navigation
Jump to search
Testers's Trial: Beginner
Wyrmite x5
>Yvsdrop m (group non-stam/wing payment types into a new fields "othercosttype" and "othercostquantity". fall back to old fields if not specified.) |
>Eave m (undo uniqueness parameter) |
||
| (45 intermediate revisions by 4 users not shown) | |||
| Line 22: | Line 22: | ||
|NormalStaminaCost=Integer | |NormalStaminaCost=Integer | ||
|GetherwingCost=Integer | |GetherwingCost=Integer | ||
| − | |||
| − | |||
| − | |||
|OtherCostType=String | |OtherCostType=String | ||
|OtherCostQuantity=Integer | |OtherCostQuantity=Integer | ||
| Line 32: | Line 29: | ||
|TimeLimit=Integer | |TimeLimit=Integer | ||
|ContinueLimit=Integer | |ContinueLimit=Integer | ||
| + | |RebornLimit=Integer | ||
|ThumbnailImage=String | |ThumbnailImage=String | ||
|MissionCompleteType1=String | |MissionCompleteType1=String | ||
| Line 44: | Line 42: | ||
|MissionCompleteEntityType=String | |MissionCompleteEntityType=String | ||
|MissionCompleteEntityQuantity=Integer | |MissionCompleteEntityQuantity=Integer | ||
| + | |DropLimitBreakMaterial=String | ||
| + | |DropLimitBreakMaterialQuantity=Integer | ||
| + | |LimitBreakMaterialDailyDrop=Integer | ||
|FacilityClearCondition=String | |FacilityClearCondition=String | ||
|FacilityClearReward=String | |FacilityClearReward=String | ||
| Line 52: | Line 53: | ||
|DefensiveClearRewardType=String | |DefensiveClearRewardType=String | ||
|DefensiveClearRewardQuantity=Integer | |DefensiveClearRewardQuantity=Integer | ||
| + | |DefensiveMapImageName=String | ||
| + | |OnslaughtClearCondition=String | ||
| + | |OnslaughtClearReward=String | ||
| + | |OnslaughtClearRewardType=String | ||
| + | |OnslaughtClearRewardQuantity=Integer | ||
|DailyDropQuantity=Integer | |DailyDropQuantity=Integer | ||
|WeeklyDropQuantity=Integer | |WeeklyDropQuantity=Integer | ||
| Line 80: | Line 86: | ||
|NormalStaminaCost={{{NormalStaminaCost|}}} | |NormalStaminaCost={{{NormalStaminaCost|}}} | ||
|GetherwingCost={{{GetherwingCost|}}} | |GetherwingCost={{{GetherwingCost|}}} | ||
| − | |||
| − | |||
| − | |||
|OtherCostType={{{OtherCostType|}}} | |OtherCostType={{{OtherCostType|}}} | ||
|OtherCostQuantity={{{OtherCostQuantity|}}} | |OtherCostQuantity={{{OtherCostQuantity|}}} | ||
| Line 90: | Line 93: | ||
|TimeLimit={{{TimeLimit|}}} | |TimeLimit={{{TimeLimit|}}} | ||
|ContinueLimit={{{ContinueLimit|}}} | |ContinueLimit={{{ContinueLimit|}}} | ||
| + | |RebornLimit={{{RebornLimit|}}} | ||
|ThumbnailImage={{{ThumbnailImage|}}} | |ThumbnailImage={{{ThumbnailImage|}}} | ||
|MissionCompleteType1={{{MissionCompleteType1|}}} | |MissionCompleteType1={{{MissionCompleteType1|}}} | ||
| Line 102: | Line 106: | ||
|MissionCompleteEntityType={{{MissionCompleteEntityType|}}} | |MissionCompleteEntityType={{{MissionCompleteEntityType|}}} | ||
|MissionCompleteEntityQuantity={{{MissionCompleteEntityQuantity|}}} | |MissionCompleteEntityQuantity={{{MissionCompleteEntityQuantity|}}} | ||
| + | |DropLimitBreakMaterial={{{DropLimitBreakMaterial|}}} | ||
| + | |DropLimitBreakMaterialQuantity={{{DropLimitBreakMaterialQuantity|}}} | ||
| + | |LimitBreakMaterialDailyDrop={{{LimitBreakMaterialDailyDrop|}}} | ||
|FacilityClearCondition={{{FacilityClearCondition|}}} | |FacilityClearCondition={{{FacilityClearCondition|}}} | ||
|FacilityClearReward={{{FacilityClearReward|}}} | |FacilityClearReward={{{FacilityClearReward|}}} | ||
| Line 110: | Line 117: | ||
|DefensiveClearRewardType={{{DefensiveClearRewardType|}}} | |DefensiveClearRewardType={{{DefensiveClearRewardType|}}} | ||
|DefensiveClearRewardQuantity={{{DefensiveClearRewardQuantity|}}} | |DefensiveClearRewardQuantity={{{DefensiveClearRewardQuantity|}}} | ||
| + | |DefensiveMapImageName={{{DefensiveMapImageName|}}} | ||
| + | |OnslaughtClearCondition={{{OnslaughtClearCondition|}}} | ||
| + | |OnslaughtClearReward={{{OnslaughtClearReward|}}} | ||
| + | |OnslaughtClearRewardType={{{OnslaughtClearRewardType|}}} | ||
| + | |OnslaughtClearRewardQuantity={{{OnslaughtClearRewardQuantity|}}} | ||
|DailyDropQuantity={{{DailyDropQuantity|}}} | |DailyDropQuantity={{{DailyDropQuantity|}}} | ||
|WeeklyDropQuantity={{{WeeklyDropQuantity|}}} | |WeeklyDropQuantity={{{WeeklyDropQuantity|}}} | ||
| Line 119: | Line 131: | ||
--><div class="panel" style="margin:auto;min-width:250px;max-width:800px"> | --><div class="panel" style="margin:auto;min-width:250px;max-width:800px"> | ||
<div class="panel-heading"> | <div class="panel-heading"> | ||
| − | <div style="font-size:small">{{# | + | <div style="font-size:small">{{#if:{{{EventName}}}|{{#switch:{{{QuestType|}}} |
| − | + | |Raid = <div>Raid Event: [[{{{EventName}}}]]</div> | |
| − | + | |Collab = <div>Collab Event: [[{{{EventName}}}]]</div> | |
| − | + | |Facility = <div>Facility Event: [[{{{EventName}}}]]</div> | |
| + | |Defensive = <div>Defensive Event: [[{{{EventName}}}]]</div> | ||
| + | |Onslaught = <div>Onslaught Event: [[{{{EventName}}}]]</div> | ||
| + | |Event = <div>Event: [[{{{EventName}}}]]</div> | ||
| + | }}}}</div> | ||
<div style="position: relative; top: 0px; left: 0px; display:inline-block;"> | <div style="position: relative; top: 0px; left: 0px; display:inline-block;"> | ||
<div style="position:relative; top:0px; left:0px;">[[File:{{{ThumbnailImage|}}}.png|400px|link=]]</div> | <div style="position:relative; top:0px; left:0px;">[[File:{{{ThumbnailImage|}}}.png|400px|link=]]</div> | ||
| Line 141: | Line 157: | ||
{{StylizedHeader|Details}} | {{StylizedHeader|Details}} | ||
*<span style="color:green">'''Victory:'''</span> {{{ClearTermsType|}}} | *<span style="color:green">'''Victory:'''</span> {{{ClearTermsType|}}} | ||
| − | *<span style="color:red">'''Defeat:'''</span> {{{FailedTermsType||}}} {{#ifeq:{{{FailedTermsType|}}} | Time runs out | ({{{TimeLimit|}}} seconds) }}{{#ifeq: {{{ContinueLimit|}}}|||*<span style="color:black">'''Continues Available:'''</span> {{{ContinueLimit|}}}}}{{#ifeq: {{{SkipTicket|}}}|Yes|*<span style="color:blue">'''Allows Skip Ticket Use'''</span>|}} | + | *<span style="color:red">'''Defeat:'''</span> {{{FailedTermsType||}}} {{#ifeq:{{{FailedTermsType|}}} | Time runs out | ({{{TimeLimit|}}} seconds) }}{{#ifeq: {{{ContinueLimit|}}}|||*<span style="color:black">'''Continues Available:'''</span> {{{ContinueLimit|}}}}} |
| + | *'''Revives Available:''' {{{RebornLimit|0}}}{{#ifeq: {{{SkipTicket|}}}|Yes|*<span style="color:blue">'''Allows Skip Ticket Use'''</span>|}} | ||
{{StylizedHeader|Endeavor Rewards}} | {{StylizedHeader|Endeavor Rewards}} | ||
{| class="wikitable" style="width:100%;" | {| class="wikitable" style="width:100%;" | ||
| Line 173: | Line 190: | ||
! style="width:30%;" {{!}} Multiplier | ! style="width:30%;" {{!}} Multiplier | ||
{{{DefensiveConditions}}} | {{{DefensiveConditions}}} | ||
| + | {{!}}}|}} | ||
| + | {{#if: {{{DefensiveMapImageName|}}}|<div style="text-align:center;margin:auto;min-width:250px;max-width:800px">[[File:DefenseMap {{{DefensiveMapImageName}}}.png|400px|link=]]</div>|}} | ||
| + | |}} | ||
| + | {{#ifeq: {{{QuestType|}}}|Onslaught|{{StylizedHeader|Onslaught Event Rewards}} | ||
| + | * '''Base Reward - {{{OnslaughtClearCondition|}}}:''' {{Icon|{{{OnslaughtClearRewardType|}}}|{{{OnslaughtClearReward|}}}|size=20px|text=1}} x{{{OnslaughtClearRewardQuantity|}}} | ||
| + | {{#if: {{{OnslaughtConditions|}}}|{{{!}} class="wikitable sortable" style="width:100%;" | ||
| + | ! style="width:70%;" {{!}} Condition | ||
| + | ! style="width:30%;" {{!}} Multiplier | ||
| + | {{{OnslaughtConditions}}} | ||
{{!}}}|}} | {{!}}}|}} | ||
|}} | |}} | ||
{{StylizedHeader|First Clear Rewards}} | {{StylizedHeader|First Clear Rewards}} | ||
| − | {{{FirstClearRewards|}}}{{#if:{{{DropRewards|}}}|{{StylizedHeader|Material Drop Rewards}} | + | {{{FirstClearRewards|}}}<!-- |
| + | |||
| + | -->{{#if:{{{DropLimitBreakMaterial|}}}| | ||
| + | {{StylizedHeader|Draconic Essence Drop Rewards}} | ||
| + | {{Icon|Material|{{{DropLimitBreakMaterial|}}}|text=1|size=36px}} x{{{DropLimitBreakMaterialQuantity|}}} (limit {{{LimitBreakMaterialDailyDrop |}}} per day) | ||
| + | }}<!-- | ||
| + | |||
| + | -->{{#if:{{{DropRewards|}}}|{{StylizedHeader|Material Drop Rewards}} | ||
{{{DropRewards|}}}|}}{{#if:{{{WeaponRewards|}}}|{{StylizedHeader|Weapon Drop Rewards}} | {{{DropRewards|}}}|}}{{#if:{{{WeaponRewards|}}}|{{StylizedHeader|Weapon Drop Rewards}} | ||
{{{WeaponRewards|}}}|}}{{#if:{{{WyrmprintRewards|}}}|{{StylizedHeader|Wyrmprint Drop Rewards}} | {{{WeaponRewards|}}}|}}{{#if:{{{WyrmprintRewards|}}}|{{StylizedHeader|Wyrmprint Drop Rewards}} | ||
| − | {{{WyrmprintRewards|}}}|}}{{#if:{{{DailyDropReward|}}}|{{StylizedHeader|Daily Bonus Rewards Available: {{{DailyDropQuantity|}}}}} | + | {{{WyrmprintRewards|}}}|}}{{#if:{{{SurvivalBonus|}}}|{{StylizedHeader|Survival Bonus}} |
| + | {{{SurvivalBonus|}}}|}}{{#if:{{{DailyDropReward|}}}|{{StylizedHeader|Daily Bonus Rewards Available: {{{DailyDropQuantity|}}}}} | ||
{{{DailyDropReward|}}}|}}{{#if:{{{WeeklyDropReward|}}}|{{StylizedHeader|Weekly Bonus Rewards Available: {{{WeeklyDropQuantity|}}}}} | {{{DailyDropReward|}}}|}}{{#if:{{{WeeklyDropReward|}}}|{{StylizedHeader|Weekly Bonus Rewards Available: {{{WeeklyDropQuantity|}}}}} | ||
{{{WeeklyDropReward|}}}|}}{{#if:{{{GrandBountyPoolA|}}}|{{StylizedHeader|Grand Bounty Rewards Available: {{{GrandBountyQuantity|}}}}} | {{{WeeklyDropReward|}}}|}}{{#if:{{{GrandBountyPoolA|}}}|{{StylizedHeader|Grand Bounty Rewards Available: {{{GrandBountyQuantity|}}}}} | ||
| Line 214: | Line 248: | ||
}}|}} | }}|}} | ||
}}}}{{#ifeq:{{{ShowEnemies|}}}|1|{{StylizedHeader|Enemies}} | }}}}{{#ifeq:{{{ShowEnemies|}}}|1|{{StylizedHeader|Enemies}} | ||
| − | {{#cargo_query:tables=EnemiesTest,EnemyPageLinks|join on=EnemiesTest.Name=EnemyPageLinks.Name|where=MissionType="{{{QuestViewName|}}}" OR MissionType LIKE "%{{{QuestViewName|}}}: Wave%" OR ("{{{QuestOriginalName|}}}" <> "" AND MissionType LIKE "%{{{QuestOriginalName|}}}%") |fields=CONCAT('[[', EnemyPageLinks._pageName, '|', EnemiesTest.Name, ']]')=Name,CONCAT('{{InlineIcon|Icon Element|', EnemiesTest.ElementalType, '}}')=Element,EnemiesTest.Tribe=Class,EnemiesTest.HP,EnemiesTest.Atk=Str,EnemiesTest.Def|group by=EnemiesTest.MonsterId|order by=EnemiesTest.HP DESC,EnemiesTest.Name}}|{{#if:{{{Enemies|}}}|{{StylizedHeader|Enemies}} | + | {{#cargo_query:tables=EnemiesTest,EnemyPageLinks |
| + | |join on=EnemiesTest.Name=EnemyPageLinks.Name | ||
| + | |where=MissionType="{{{QuestViewName|}}}" OR MissionType LIKE "%{{{QuestViewName|}}}: Wave%" OR ("{{{QuestOriginalName|}}}" <> "" AND MissionType LIKE "%{{{QuestOriginalName|}}}%") | ||
| + | |fields=CASE | ||
| + | WHEN EnemyPageLinks._pageName IS NULL THEN EnemiesTest.Name | ||
| + | ELSE CONCAT('[[', EnemyPageLinks._pageName, '|', EnemiesTest.Name, ']]') | ||
| + | END=Name, | ||
| + | CONCAT('{{InlineIcon|Icon Element|', EnemiesTest.ElementalType, '}}')=Element, EnemiesTest.Tribe=Class, | ||
| + | EnemiesTest.HP, EnemiesTest.Atk=Str, EnemiesTest.Def | ||
| + | |group by=EnemiesTest.MonsterId | ||
| + | |order by=EnemiesTest.HP DESC,EnemiesTest.Name | ||
| + | }}|{{#if:{{{Enemies|}}}|{{StylizedHeader|Enemies}} | ||
{{{Enemies|}}}|}}}}{{#if:{{{Notes|}}}|{{StylizedHeader|Notes}} | {{{Enemies|}}}|}}}}{{#if:{{{Notes|}}}|{{StylizedHeader|Notes}} | ||
{{{Notes|}}}|}}</div></div></div><!---->[[Category:Quests]] [[Category:{{{QuestType|}}} Quests]]</includeonly> | {{{Notes|}}}|}}</div></div></div><!---->[[Category:Quests]] [[Category:{{{QuestType|}}} Quests]]</includeonly> | ||
Latest revision as of 14:24, 28 July 2020
Note: All unused parameters should be left blank or deleted. Do not enter 0 for unused parameters, as it will break the template.
Usage
{{QuestDisplay
|QuestType=
|Id=
|QuestGroupName=
|GroupType=
|EventName=
|SectionName=
|Location=
|QuestViewName=
|QuestOriginalName=
|Elemental=
|ElementalId=
|PrevNextBar=
|NextQuest=
|PreviousQuest=
|SuggestedMight=
|MightRequirement=
|FixedStats=
|NormalStaminaCost=
|GetherwingCost=
|OtherCostType=
|OtherCostQuantity=
|SkipTicket=
|ClearTermsType=
|FailedTermsType=
|TimeLimit=
|ContinueLimit=
|RebornLimit=
|ThumbnailImage=
|MissionCompleteType1=
|MissionCompleteType2=
|MissionCompleteType3=
|MissionsClearSetEntityType1=
|MissionsClearSetEntityQuantity1=
|MissionsClearSetEntityType2=
|MissionsClearSetEntityQuantity2=
|MissionsClearSetEntityType3=
|MissionsClearSetEntityQuantity3=
|MissionCompleteEntityType=
|MissionCompleteEntityQuantity=
|DropLimitBreakMaterial=
|DropLimitBreakMaterialQuantity=
|LimitBreakMaterialDailyDrop=
|FacilityClearCondition=
|FacilityClearReward=
|FacilityClearRewardType=
|FacilityClearRewardQuantity=
|DefensiveClearCondition=
|DefensiveClearReward=
|DefensiveClearRewardType=
|DefensiveClearRewardQuantity=
|FirstClearRewards=
|DropRewards=
|WeaponRewards=
|WyrmprintRewards=
|SurvivalBonus=
|DailyDropQuantity=
|DailyDropReward=
|WeeklyDropQuantity=
|WeeklyDropReward=
|GrandBountyQuantity=
|Notes=
}}
Parameters
- QuestType - Campaign, Event, Facility, Collab, Raid
- Id - Quest Id # (ex: 200080001)
- QuestGroupName - Quest Group (ex: Zodiark's Trial)
- GroupType - Type of Quests group are
- EventName - Name of Event quest belongs to
- SectionName - Subtitle of Quest (ex: Ch. 1/1.1)
- Location - Setting of Quest (ex: Enemy Camp)
- QuestViewName - Quest Display Name (ex: Zodiark's Trial: Beginner)
- QuestOriginalName - Quest Display Name of original run of the quest, if the name is changed in a later run (ex: Hypnos Showdown -> Hypnos Clash)
- PrevNextBar - Type Yes if quest is part of a chain (ex: Yes)
- NextQuest - Display name of next quest in chain
- PreviousQuest - Display name of previous quest in chain
- Elemental - Main Element of quest
- SuggestedMight - Suggested Might of Quest
- MightRequirement - Required Might of Quest
- NormalStaminaCost - Stamina Cost of quest
- OtherCostType - Alternative currency cost type of quest. ie "Otherworld Fragment", or "Astral Piece"
- OtherCostQuantity - Quantity of OtherCostType needed to enter the quest
- SkipTicket - Type Yes if quest can be completed with Skip Tickets
- ClearTermsType - Condition to complete quest
- FailedTermsType - Condition to fail quest
- TimeLimit - Time limit of quest
- ContinueLimit - Number of times you can use the continue function during quest
- RebornLimit - Number of times you can use the revive function during quest
- ThumbnailImage - Background image for quest in quest list
- MissionCompleteType - Endeavor completion conditions
- MissionsClearSetEntityType - Endeavor Reward
- MissionsClearSetEntityQuantity - Endeavor Reward Quantity
- DropLimitBreakMaterial - Draconic Essence drop rewards
- DropLimitBreakMaterialQuantity - Draconic Essence drop reward quantity
- LimitBreakMaterialDailyDrop - Draconic Essence daily drop limit
- FacilityClearCondition - Completion condition for facility quests
- FacilityClearReward - Completion base reward for facility quests
- FacilityClearRewardType - Item type of base reward for facility quests
- FacilityClearRewardQuantity - Quantity of base reward for facility quests
Special Parameters
These Parameters require template inputs as follows:
- GetherwingCost - Cost in Getherwings to join a quest
Ex:
{{GetherwingCostIconDisplay|cost=3}}
- DailyDropQuantity - Times you can complete quest for daily rewards
Ex:
{{RewardChestIconDisplay|value=2}}
- WeeklyDropQuantity - Times you can complete quest for weekly rewards
Ex:
{{RewardChestIconDisplay|value=2}}
- FacilityConditions - Quest conditions that increase the base reward in facility quests
Ex:
|FacilityConditions=
{{FacilityConditionRow|Don't run into any traps|5}}
{{FacilityConditionRow|Finish in 200 seconds or less|5}}
{{FacilityConditionRow|Open 1 or more treasure chests|10}}
{{FacilityConditionRow|Shapeshift 1 or more times with your team|1}}
{{FacilityConditionRow|Don't take any damage at all|3}}
- FirstClearRewards/DropRewards/WeaponRewards/WyrmprintRewards/SurvivalBonus/DailyDropReward/WeeklyDropReward - Display lists of item rewards for quest. All these parameters use the same base template.
Ex:
|FirstClearRewards=
{{DropReward|droptype=First|itemtype=Currency|item=Wyrmite|exact=5}}
{{DropReward|droptype=First|itemtype=Material|item=Shadowwyrm's Sphere|exact=10}}
{{DropReward|droptype=First|itemtype=Material|item=Twinkling Sand|exact=15}}
Examples
Facility Event: Silly Billy Test
Ch. Test/1.1
Previous Quest
Next Quest
Location: Tester's Realm
Otherworld Gem Cost: 1 
Stamina Cost: 5
Required Might: 1000
Details
- Victory: Eliminate a specific threat
- Defeat: Time runs out (240 seconds)
- Continues Available: 3
- Revives Available: 3
- Allows Skip Ticket Use
Endeavor Rewards
| Condition | Reward |
|---|---|
Facility Event Rewards
- Base Reward - Stage Clear: Error: Table Materials not found.x10
| Condition | Multiplier |
|---|---|
| Don't run into any traps | 5% |
| Finish in 200 seconds or less | 5% |
| Open 1 or more treasure chests | 10% |
| Shapeshift 1 or more times with your team | 1% |
| Don't take any damage at all | 3% |
First Clear Rewards
Error: Table Materials not found.
x10Error: Table Materials not found.
x15Material Drop Rewards
Error: Table Materials not found.
Error: Table Materials not found.
Error: Table Materials not found.
Error: Table Materials not found.
Error: Table Materials not found.
Weapon Drop Rewards
Error: Table Weapons not found.
Error: Table Weapons not found.
Wyrmprint Drop Rewards
Lua error: Error: Table Wyrmprints not found..
Lua error: Error: Table Wyrmprints not found..
Survival Bonus
Error: Table Materials not found.
Error: Table Materials not found.
Daily Bonus Rewards Available: ![]()
![]()
![]()
Error: Table Materials not found.
Error: Table Materials not found.
Error: Table Materials not found.
Weekly Bonus Rewards Available: ![]()
![]()
Error: Table Materials not found.
Error: Table Materials not found.
Error: Table Materials not found.
This template defines the table "Quests". This table has not been created yet.