Difference between revisions of "Template:Quest infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 30: Line 30:
[[Has ID::{{#explode:{{#var:quest enemy}}|,|0}}]]
[[Has ID::{{#explode:{{#var:quest enemy}}|,|0}}]]
|link=none|limit=1}}}}{{Transient icon|subobject={{#var:quest enemy subobject}}}}}}</td><!--unit-->
|link=none|limit=1}}}}{{Transient icon|subobject={{#var:quest enemy subobject}}}}}}</td><!--unit-->
   <td>{{#if:{{#explode:{{#var:quest enemy}}|,|1}}|{{#ifeq:{{#masterdata:SkillDescription|{{#explode:{{#var:quest enemy}}|,|1}}}}|{{#masterdata:SkillDescription|invalid id}}|{{#explode:{{#var:quest enemy}}|,|1}}|{{#masterdata:SkillDescription|{{#explode:{{#var:quest enemy}}|,|1}}}}}}}}</td><!--skills (TODO update for multiple skills)-->
   <td>{{#if:{{#explode:{{#var:quest enemy}}|,|1}}|{{#ifeq:{{#expr:{{#explode:{{#var:quest enemy}}|,|1}} < 10000}}|1|{{#masterdata:SkillDescription|{{#explode:{{#var:quest enemy}}|,|1}}}}|{{#explode:{{#var:quest enemy}}|,|1}}}}}}</td><!--skills (TODO update for multiple skills)-->
   <td>{{#if:{{#explode:{{#var:quest enemy}}|,|2}}|{{#explode:{{#var:quest enemy}}|,|2}}}}</td><!--LV-->
   <td>{{#if:{{#explode:{{#var:quest enemy}}|,|2}}|{{#explode:{{#var:quest enemy}}|,|2}}}}</td><!--LV-->
   <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-->

Revision as of 14:12, 9 July 2020

Template documentation[view] [edit] [history] [purge]

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 (;).

  1. transient ID
  2. skill ID (separate multiple skill IDs with "@"; can be substituted with text instead)
  3. LV
  4. Sacred Artifact level
  5. Skill Lv
  6. HP (can be set to "auto" to automatically calculate the value based on the transient's level)
  7. ATK (can be set to "auto" to automatically calculate the value based on the transient's level)
  8. 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.

  1. item ID (also works for transient and AR drops)
  2. drop chance
  3. 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 4183 x2 Coin 100% x13000
Giant/Enemy#transient3 60 60 60 5244 4183 x2 Coin ?% x10000
Giant/Enemy#transient6 60 60 60 5244 4183 x1 Wood Energy Cluster ?% x1
Phase 2
Giant/Enemy#transient3 60 60 60 5244 4183 x2 Coin ?% x10000
Giant/Enemy#transient6 60 60 60 5244 4183 x2 Wood Energy Cluster ?% x1
Yasuyori 60 60 60 6087 3785 x1 Blow Crest ?% x1
Phase 3
Giant/Enemy#transient8 60 60 60 5244 4183 x2 Coin ?% x10000
Giant/Enemy#transient3 60 60 60 5244 4183 x2 Wood Energy Cluster 100% x1
Giant/Enemy#transient6 60 60 60 5244 4183 x2 Slash Crest ?% x1
Yasuyori 737@666 60 60 60 6254 4158 x1 Infernal Giant ?% 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 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x3
Red Fencer 302@101@351@1540 40 1 40 4330 1800 x1 Silver Key of Infinitude Shard ?? x1
Yellow Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Aether Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Phase 2
Yellow Slime 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x3
Red Fencer 302@101@351@1540 40 1 40 4330 1800 x1 Silver Key of Infinitude Shard ?? x2
Yellow Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Aether Valkyrie 201@349@342@1540 40 1 40 3320 2000 x1
Phase 3
Yellow Slime 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x3
Yellow Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Red Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Aether Valkyrie 201@349@342@1540 40 1 40 3320 2000 x1
Fire Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Aether Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Phase 4
Yellow Slime 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x3
Yellow Fencer 302@101@351@1540 40 1 40 4330 1800 x1 Silver Key of Infinitude Shard ?? x1
Aether Valkyrie 201@349@342@1540 40 1 40 3320 2000 x1
Aether Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Fire Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Phase 5
Phase 6
AR Token ?? x1
AR Token ?? x1
AR Token ?? x1
Phase 7
Yellow Slime 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x3
Red Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Yellow Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Aether Valkyrie 201@349@342@1540 40 1 40 3320 2000 x2
Fire Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Phase 8
Yellow Slime 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x3
Red Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Aether Valkyrie 201@349@342@1540 40 1 40 3320 2000 x1
Fire Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Phase 9
AR Token ?? x1
Phase 10
Yellow Slime 360@312@1541@1540 40 1 40 5100 1280 x1 Silver Key of Infinitude Shard ?? x50
Yellow Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Red Fencer 302@101@351@1540 40 1 40 4330 1800 x1
Aether Einherjar 319@388@1540@1025 40 1 40 5320 1900 x1
Aether Valkyrie 201@349@342@1540 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 (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