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

Jump to navigation Jump to search
2,637 bytes removed ,  16:41, 28 November 2020
no edit summary
(Added another test)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Description==
==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.
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==
==Parameters==
Line 21: Line 32:
# drop chance
# drop chance
# amount of dropped items
# amount of dropped items
'''obj''(phase number)''''' - objective of the quest. Uses [[Template:Quest objective]].


==Examples==
==Examples==
Line 83: Line 96:
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
<pre>{{Quest infobox
|n=1
|n=1
|phases=10
|phases=1
|enemies1=
|enemies1=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
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
118101,302@101@351@1540,40,1,40,4330,1800,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1
|drops1=
|drops1=
334,??,x1
|enemies2=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118101,302@101@351@1540,40,1,40,4330,1800,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1
|drops2=
334,??,x2
|enemies3=
118101,302@101@351@1540,40,1,40,4330,1800,x1;
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1
|drops3=
334,??,x3
|enemies4=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1
|drops4=
334,??,x1
|enemies5=
|drops5=
|enemies6=
|drops6=
312,??,x1
|enemies7=
118101,302@101@351@1540,40,1,40,4330,1800,x1;
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x2
|drops7=
334,??,x3
|enemies8=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118101,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1
|drops8=
334,??,x3
|enemies9=
|drops9=
312,??,x1
|enemies10=
118101,302@101@351@1540,40,1,40,4330,1800,x1;
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x2
|drops10=
334,??,x50
}}</pre>
}}</pre>
{{Quest infobox
{{Quest infobox
|n=1
|n=1
|phases=10
|phases=1
|enemies1=
|enemies1=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
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
118101,302@101@351@1540,40,1,40,4330,1800,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1
|drops1=
|drops1=
334,??,x1
}}
|enemies2=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118101,302@101@351@1540,40,1,40,4330,1800,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1
|drops2=
334,??,x2
|enemies3=
118101,302@101@351@1540,40,1,40,4330,1800,x1;
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1
|drops3=
334,??,x3
|enemies4=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1
|drops4=
334,??,x1
|enemies5=
 
|drops5=
 
|enemies6=


|drops6=
[[Category:Infobox templates]]
312,??,x1
|enemies7=
118101,302@101@351@1540,40,1,40,4330,1800,x1;
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x2
|drops7=
334,??,x3
|enemies8=
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118101,302@101@351@1540,40,1,40,4330,1800,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x1;
122701,319@388@1540@1025,40,1,40,5320,1900,x1
|drops8=
334,??,x3
|enemies9=
 
|drops9=
312,??,x1
|enemies10=
118101,302@101@351@1540,40,1,40,4330,1800,x1;
116901,360@312@1541@1540,40,1,40,5100,1280,x1;
118401,302@101@351@1540,40,1,40,4330,1800,x1;
123001,319@388@1540@1025,40,1,40,5320,1900,x1;
123501,201@349@342@1540,40,1,40,3320,2000,x2
|drops10=
334,??,x50
}}
trusted
5,900

edits

Navigation menu