Template:Questbodyenemy
Cached copy of the original page · revision 1659967 · refresh
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |

This template is used on 2,615 pages, or on about 0.4% of all pages.
Edits to this template will be widely noticed. To avoid large-scale disruption and unnecessary server load, any changes to this template should be tested in its sandbox or testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit.
Please consider discussing any changes in the wiki's Discord.
Shows one battle (wave) of {{Questbody}}: the battle's label and up to nine enemies, three to a row. Questbody calls it once for each battleN that is set. Use {{Questbody}} in articles.
Parameters
All parameters are positional.
- 1: The battle's label, e.g.
Battle 1/3. Nothing is shown when it is empty. - 2, 4, 6, … 18: The nine enemy cells, shown as given. Questbody fills them with the cells that Module:Enemy Icon builds: the icon, the name and the stats, each on its own line. 2, 4 and 6 are the first row, 8, 10 and 12 the second, and 14, 16 and 18 the third.
- 3, 5, 7, … 19: Not used. Questbody passes
enXYstatshere, which Module:Enemy Icon already puts into the cell. - 20: Any value colors the battle as Fatal (Questbody's
bNfatalbattle). - 21: Any value colors the battle as Grand (Questbody's
bNgrandbattle). - 22: Any value colors the label as Quixotic. Questbody does not pass it.
Layout
- The label spans the rows that have enemies: one row for enemies 1–3, two rows when parameter 8 is set, and three when parameter 14 is set.
- In each row, a single enemy takes the full width, two enemies take half each, and three take a third each.
- A label that contains "Fatal" or "Grand" gives the rows the class
Questbodyenemy-FatalBody, and the label the classQuestbodyenemy-FatalHeaderorQuestbodyenemy-GrandHeader. A label that contains "Quixotic" givesQuestbodyenemy-QuixoticBodyandQuestbodyenemy-QuixoticHeader. The colors are set in the CSS above.
Template Data
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||