Difference between revisions of "Template:Quest infobox"
SurtrFan8511 (talk | contribs) |
SurtrFan8511 (talk | contribs) |
||
Line 34: | Line 34: | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}|,|3}}|{{#explode:{{#var:quest enemy}}|,|3}}}}</td><!--SA Lv--> | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|3}}|{{#explode:{{#var:quest enemy}}|,|3}}}}</td><!--SA Lv--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}|,|4}}|{{#explode:{{#var:quest enemy}}|,|4}}}}</td><!--Skill Lv--> | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|4}}|{{#explode:{{#var:quest enemy}}|,|4}}}}</td><!--Skill Lv--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}|,|5}}|{{#ifeq:{{#explode:{{#var:quest enemy}}|,|5 | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|5}}|{{#ifeq:{{#explode:{{#var:quest enemy}}|,|5}}|auto|{{#expr:{{#show:{{#var:quest enemy subobject}}|?Has hp value #}}+{{#show:{{#var:quest enemy subobject}}|?Has hp growth value #}}*({{#explode:{{#var:quest enemy}}|,|2}}-1)}}|{{#explode:{{#var:quest enemy}}|,|5}}}}}}</td><!--HP--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}|,|6}}|{{#ifeq:{{#explode:{{#var:quest enemy}}|,|6 | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|6}}|{{#ifeq:{{#explode:{{#var:quest enemy}}|,|6}}|auto|{{#expr:{{#show:{{#var:quest enemy subobject}}|?Has atk value #}}+{{#show:{{#var:quest enemy subobject}}|?Has atk growth value #}}*({{#explode:{{#var:quest enemy}}|,|2}}-1)}}|{{#explode:{{#var:quest enemy}}|,|6}}}}}}</td><!--ATK--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}|,|7}}|{{#explode:{{#var:quest enemy}}|,|7}}}}</td><!--Number-->{{#vardefine:quest drop|{{#arrayindex:quest drop list|{{#var:i}}}}}} | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|7}}|{{#explode:{{#var:quest enemy}}|,|7}}}}</td><!--Number-->{{#vardefine:quest drop|{{#arrayindex:quest drop list|{{#var:i}}}}}} | ||
<td style='text-align:left;'>{{#if:{{#explode:{{#var:quest drop}}|,|0}}|{{Item|id={{#explode:{{#var:quest drop}}|,|0}}}}}}</td><!--item--> | <td style='text-align:left;'>{{#if:{{#explode:{{#var:quest drop}}|,|0}}|{{Item|id={{#explode:{{#var:quest drop}}|,|0}}}}}}</td><!--item--> |
Revision as of 13:39, 9 July 2020
Description
This template generates an infobox for the quest with the parameters manually entered by the editor. There is no good automated way to get the detailed quest info from the game data, so the research has to be done manually by the player.
Usage
It is not recommended to directly invoke this template. Instead, use{{#masterdata:Quest|<id>}}
Where <id> is the ID of the quest to see the infobox for a corresponding quest, if it exists.
If neccessary, hide phases with , separating the phases with a semicolon.
To see preparsed version of the template, go to https://api.housamo.xyz/housamo/api/parse/quest/?quest_id=<id>
Where <id> is the ID of the quest.
Parameters
n - amount of runs ran to obtain the quest data (shows in the top left)
phases - number of phases in the quest
enemies(phase number) - a list of enemies and their properties. Properties must be separated with a comma (,) and enemy entries themselves with a semicolon (;).
- transient ID
- skill ID (separate multiple skill IDs with "@"; can be substituted with text instead)
- LV
- Sacred Artifact level
- Skill Lv
- HP (can be set to "auto" to automatically calculate the value based on the transient's level)
- ATK (can be set to "auto" to automatically calculate the value based on the transient's level)
- Number of said enemies (to avoid repetition in the table)
items(phase number) - a list of items dropped from the quest. Similarly to enemies, item details must be separated with a comma and entries with a semicolon.
- item ID (also works for transient and AR drops)
- drop chance
- amount of dropped items
obj(phase number) - objective of the quest. Uses Template:Quest objective.
Examples
{{Quest infobox |n=50 |phases=3 |enemies1= 177014,,60,60,60,auto,auto,x2; 177009,,60,60,60,auto,auto,x2; 177012,,60,60,60,auto,auto,x1 |drops1= 3,100%,x13000; 3,?%,x10000; 79,?%,x1 |enemies2= 177009,,60,60,60,auto,auto,x2; 177012,,60,60,60,auto,auto,x2; 175901,,60,60,60,auto,auto,x1 |drops2= 3,?%,x10000; 79,?%,x1; 89,?%,x1 |enemies3= 177014,,60,60,60,auto,auto,x2; 177009,,60,60,60,auto,auto,x2; 177012,,60,60,60,auto,auto,x2; 175902,737@666,60,60,60,auto,auto,x1 |drops3= 3,?%,x10000; 79,100%,x1; 87,?%,x1; 176601,?%,x1 }}
n=50 | Enemies | Drops | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unit | Skills | LV | SA Lv | S Lv | HP | ATK | # | Item | % | Amount | |
Phase 1 | Giant/Enemy#transient8 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Coin | 100% | x13000 | |
Giant/Enemy#transient3 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Coin | ?% | x10000 | ||
Giant/Enemy#transient6 | 60 | 60 | 60 | 5244.108 | 4183.018 | x1 | Wood Energy Cluster | ?% | x1 | ||
Phase 2 | Giant/Enemy#transient3 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Coin | ?% | x10000 | |
Giant/Enemy#transient6 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Wood Energy Cluster | ?% | x1 | ||
Yasuyori | 60 | 60 | 60 | 6086.536 | 3784.901 | x1 | Blow Crest | ?% | x1 | ||
Phase 3 | Giant/Enemy#transient8 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Coin | ?% | x10000 | |
Giant/Enemy#transient3 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Wood Energy Cluster | 100% | x1 | ||
Giant/Enemy#transient6 | 60 | 60 | 60 | 5244.108 | 4183.018 | x2 | Slash Crest | ?% | x1 | ||
Yasuyori | {"error":"invalid ID"} | 60 | 60 | 60 | 6253.608 | 4157.59 | x1 | None | ?% | x1 | |
{{#vardefine:hide phases|2;3;4;5;6;7;8;9}} {{#masterdata:Quest|110007}}
Exploration (Intermediate)
Exploration (Ikebukuro Underground Labyrinth) | ||
Level | 40 | |
Card XP Given | 24000 | |
Board size | 5x4 | |
Award | Transient Stone (Free) x1 | |
Required Quest | サモナーの心得 |
n=1 | Enemies | Drops | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unit | Skills | LV | SA Lv | S Lv | HP | ATK | # | Item | % | Amount | |
Phase 1 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x3 |
Red Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | Silver Key of Infinitude Shard | ?? | x1 | |
Yellow Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Aether Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Phase 2 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x3 |
Red Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | Silver Key of Infinitude Shard | ?? | x2 | |
Yellow Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Aether Valkyrie | {"error":"invalid ID"} | 40 | 1 | 40 | 3320 | 2000 | x1 | ||||
Phase 3 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x3 |
Yellow Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Red Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Aether Valkyrie | {"error":"invalid ID"} | 40 | 1 | 40 | 3320 | 2000 | x1 | ||||
Fire Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Aether Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Phase 4 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x3 |
Yellow Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | Silver Key of Infinitude Shard | ?? | x1 | |
Aether Valkyrie | {"error":"invalid ID"} | 40 | 1 | 40 | 3320 | 2000 | x1 | ||||
Aether Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Fire Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Phase 5 | |||||||||||
Phase 6 | AR Token | ?? | x1 | ||||||||
AR Token | ?? | x1 | |||||||||
AR Token | ?? | x1 | |||||||||
Phase 7 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x3 |
Red Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Yellow Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Aether Valkyrie | {"error":"invalid ID"} | 40 | 1 | 40 | 3320 | 2000 | x2 | ||||
Fire Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Phase 8 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x3 |
Red Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Aether Valkyrie | {"error":"invalid ID"} | 40 | 1 | 40 | 3320 | 2000 | x1 | ||||
Fire Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Phase 9 | AR Token | ?? | x1 | ||||||||
Phase 10 | Yellow Slime | {"error":"invalid ID"} | 40 | 1 | 40 | 5100 | 1280 | x1 | Silver Key of Infinitude Shard | ?? | x50 |
Yellow Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Red Fencer | {"error":"invalid ID"} | 40 | 1 | 40 | 4330 | 1800 | x1 | ||||
Aether Einherjar | {"error":"invalid ID"} | 40 | 1 | 40 | 5320 | 1900 | x1 | ||||
Aether Valkyrie | {"error":"invalid ID"} | 40 | 1 | 40 | 3320 | 2000 | x2 | ||||
{{Quest infobox |n=1 |phases=1 |enemies1= 158101,(1 0)-8@722@(1 1)-5@723@724@425@695@(0 2)-0@725@(1 2)-0@725@(2 2)-0@725,70,1,70,500000,4316,x1 |drops1= }}
n=1 | Enemies | Drops | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Unit | Skills | LV | SA Lv | S Lv | HP | ATK | # | Item | % | Amount | |
Phase 1 | Aegir/Enemy#transient0 | 70 | 1 | 70 | 500000 | 4316 | x1 | ||||
The above documentation is transcluded from Template:Quest infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |