| Librarian | |
|---|---|
| Stats | |
| 116 | |
| 5 | |
| 2 | |
| Resistances | |
| 50% | |
| 30% | |
| 100% | |
| 40% | |
| Immune | |
| 30% | |
| Low ▪ Medium ▪ High | |
| Other Attributes | |
| Types | Fanatic |
| Size | 1 |
| Turns | 3 |
| Permanent Condition(s) | |
Template:EnemyStats2/Infoboxes
Jump to navigation
Jump to search
Renders infoboxes for multiple enemies and wraps them in a tabber.
Usage
The template accepts rows of arguments in following form
|label|enemy name |- |label|enemy name |- |label|enemy name ...
specifying the labels for the tab and the enemies to be retrieved from the database.
It also imposes a maximum width of 300px on the content, because tabber currently has a problem where it has an extremely large width (the combined width of all the tabs) as opposed to the width of the currently displayed element.
Output is also wrapped in a ResponsiveFloat to better adjust positioning between web and mobile.
Examples
Regular vs. Ignited
| Librarian (Ignited) | |
|---|---|
| Stats | |
| 140 | |
| 8 | |
| 2 | |
| Resistances | |
| 20% | |
| 20% | |
| 100% | |
| 40% | |
| Immune | |
| 10% | |
| Low ▪ Medium ▪ High | |
| Other Attributes | |
| Types | Fanatic |
| Size | 1 |
| Turns | 2 |
| Permanent Condition(s) | |
{{EnemyStats2/Infoboxes
|Regular|Librarian
|-
|Ignited|Librarian (Ignited)
}}
Multi-Part Enemies
| Latch of Regret | |
|---|---|
| Stats | |
| 55 | |
| 3 | |
| Resistances | |
| 60% | |
| 10% | |
| 10% | |
| 75% | |
| 30% | |
| 20% | |
| Low ▪ Medium ▪ High | |
| Other Attributes | |
| Types | Cosmic |
| Size | 1 |
| Turns | 1 |
| Permanent Condition(s) | |
| Bolt of Lamentation | |
|---|---|
| Stats | |
| 55 | |
| 5 | |
| Resistances | |
| 10% | |
| 30% | |
| 10% | |
| 40% | |
| 40% | |
| 30% | |
| Low ▪ Medium ▪ High | |
| Other Attributes | |
| Types | Cosmic |
| Size | 1 |
| Turns | 1 |
| Permanent Condition(s) | |
| Padlock of Wasting | |
|---|---|
| Stats | |
| 55 | |
| 1 | |
| Resistances | |
| 50% | |
| 50% | |
| 50% | |
| 50% | |
| 30% | |
| 20% | |
| Low ▪ Medium ▪ High | |
| Other Attributes | |
| Types | Cosmic |
| Size | 1 |
| Turns | 1 |
| Permanent Condition(s) | |
| Shackle of Despair | |
|---|---|
| Stats | |
| 55 | |
| 2 | |
| Resistances | |
| 20% | |
| 20% | |
| 20% | |
| 50% | |
| 10% | |
| 40% | |
| Low ▪ Medium ▪ High | |
| Other Attributes | |
| Types | Cosmic |
| Size | 1 |
| Turns | 1 |
| Permanent Condition(s) | |
{{EnemyStats2/Infoboxes
|Regret |Latch of Regret
|-
|Lamentation |Bolt of Lamentation
|-
|Wasting |Padlock of Wasting
|-
|Despair |Shackle of Despair
}}
Technical Notes
See the comments on Module:EnemyStats2/Infoboxes/doc. I'm not sure this is a very good piece of code, or that it's a good design pattern.
See Also
- Template:EnemyStats2/Infobox for rendering an infobox for an individual enemy.