Difference between revisions of "Template:Quest infobox/doc"

no edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
==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 <pre>{{#masterdata:Quest|<id>}}</pre>
Where <id> is the ID of the quest to see the infobox for a corresponding quest, if it exists.
If neccessary, hide phases with <code>{{#vardefine:hide phases|}}</code>, separating the phases with a semicolon.
To see preparsed version of the template, go to <code>https://api.housamo.xyz/housamo/api/parse/quest/?quest_id=<id></code>
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==
<pre>{{Quest infobox
<pre>{{Quest infobox
|n=50
|n=50
|phases=3
|phases=3
|enemies1=
|enemies1=
{{Transient icon|id=177014}}\\60\60\60\idk\idk\x2;;
177014,,60,60,60,auto,auto,x2;
{{Transient icon|id=177009}}\\60\60\60\idk\idk\x2;;
177009,,60,60,60,auto,auto,x2;
{{Transient icon|id=177012}}\\60\60\60\idk\idk\x1
177012,,60,60,60,auto,auto,x1
|drops1=
|drops1=
{{Item|id=3}}\100%\x13000;;
3,100%,x13000;
{{Item|id=3}}\?%\x10000;;
3,?%,x10000;
{{Item|id=79}}\?%\x1
79,?%,x1
|enemies2=
|enemies2=
{{Transient icon|id=177009}}\\60\60\60\idk\idk\x2;;
177009,,60,60,60,auto,auto,x2;
{{Transient icon|id=177012}}\\60\60\60\idk\idk\x2;;
177012,,60,60,60,auto,auto,x2;
{{Transient icon|id=175901}}\\60\60\60\idk\idk\x1
175901,,60,60,60,auto,auto,x1
|drops2=
|drops2=
{{Item|id=3}}\?%\x10000;;
3,?%,x10000;
{{Item|id=79}}\?%\x1;;
79,?%,x1;
{{Item|id=89}}\?%\x1
89,?%,x1
|enemies3=
|enemies3=
{{Transient icon|id=177014}}\\60\60\60\idk\idk\x2;;
177014,,60,60,60,auto,auto,x2;
{{Transient icon|id=177009}}\\60\60\60\idk\idk\x2;;
177009,,60,60,60,auto,auto,x2;
{{Transient icon|id=177012}}\\60\60\60\idk\idk\x2;;
177012,,60,60,60,auto,auto,x2;
{{Transient icon|id=175902}}\\60\60\60\idk\idk\x1
175902,737@666,60,60,60,auto,auto,x1
|drops3=
|drops3=
{{Item|id=3}}\?%\x10000;;
3,?%,x10000;
{{Item|id=79}}\100%\x1;;
79,100%,x1;
{{Item|id=87}}\?%\x1;;
87,?%,x1;
{{Transient icon|id=176601}}\?%\x1
176601,?%,x1
}}</pre>{{Quest infobox
}}</pre>{{Quest infobox
|n=50
|n=50
|phases=3
|phases=3
|enemies1=
|enemies1=
{{Transient icon|id=177014}}\\60\60\60\idk\idk\x2;;
177014,,60,60,60,auto,auto,x2;
{{Transient icon|id=177009}}\\60\60\60\idk\idk\x2;;
177009,,60,60,60,auto,auto,x2;
{{Transient icon|id=177012}}\\60\60\60\idk\idk\x1
177012,,60,60,60,auto,auto,x1
|drops1=
|drops1=
{{Item|id=3}}\100%\x13000;;
3,100%,x13000;
{{Item|id=3}}\?%\x10000;;
3,?%,x10000;
{{Item|id=79}}\?%\x1
79,?%,x1
|enemies2=
|enemies2=
{{Transient icon|id=177009}}\\60\60\60\idk\idk\x2;;
177009,,60,60,60,auto,auto,x2;
{{Transient icon|id=177012}}\\60\60\60\idk\idk\x2;;
177012,,60,60,60,auto,auto,x2;
{{Transient icon|id=175901}}\\60\60\60\idk\idk\x1
175901,,60,60,60,auto,auto,x1
|drops2=
|drops2=
{{Item|id=3}}\?%\x10000;;
3,?%,x10000;
{{Item|id=79}}\?%\x1;;
79,?%,x1;
{{Item|id=89}}\?%\x1
89,?%,x1
|enemies3=
|enemies3=
{{Transient icon|id=177014}}\{{#masterdata:SkillDescription|373}}\60\60\60\idk\idk\x2;;
177014,,60,60,60,auto,auto,x2;
{{Transient icon|id=177009}}\\60\60\60\idk\idk\x2;;
177009,,60,60,60,auto,auto,x2;
{{Transient icon|id=177012}}\\60\60\60\idk\idk\x2;;
177012,,60,60,60,auto,auto,x2;
{{Transient icon|id=175902}}\\60\60\60\idk\idk\x1
175902,737@666,60,60,60,auto,auto,x1
|drops3=
|drops3=
{{Item|id=3}}\?%\x10000;;
3,?%,x10000;
{{Item|id=79}}\100%\x1;;
79,100%,x1;
{{Item|id=87}}\?%\x1;;
87,?%,x1;
{{Transient icon|id=176601}}\?%\x1
176601,?%,x1
}}
}}
<pre>{{#vardefine:hide phases|2;3;4;5;6;7;8;9}}
{{#masterdata:Quest|110007}}</pre>
{{#vardefine:hide phases|2;3;4;5;6;7;8;9}}
{{#masterdata:Quest|110007}}
<pre>{{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=
}}</pre>
{{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=
}}
[[Category:Infobox templates]]
trusted
5,894

edits