Template:Infobox creature: Difference between revisions
Jump to navigation
Jump to search
(Explain how the passives list accepts special syntax to specify the item that grants a passive.) |
(Fix HP, AC, and Initiative values for Honour being based on Tactician.) |
||
Line 41: | Line 41: | ||
Explorer overrides | Explorer overrides | ||
--> | --> | ||
<!-- Explorer base stats --> | |||
{{#lvardef: e_hp | {{{e hp | {{{hp|}}} }}} }} | |||
{{#lvardef: e_ac | {{{e ac | {{{ac|}}} }}} }} | |||
{{#lvardef: e_initiative | {{{e initiative | {{{initiative|}}} }}} }} | |||
<!-- Explorer movement and weight --> | <!-- Explorer movement and weight --> | ||
Line 106: | Line 111: | ||
Tactician overrides | Tactician overrides | ||
--> | --> | ||
<!-- Tactician base stats --> | |||
{{#lvardef: t_hp | {{{t hp | {{{hp|}}} }}} }} | |||
{{#lvardef: t_ac | {{{t ac | {{{ac|}}} }}} }} | |||
{{#lvardef: t_initiative | {{{t initiative | {{{initiative|}}} }}} }} | |||
<!-- Tactician movement and weight --> | <!-- Tactician movement and weight --> | ||
Line 171: | Line 181: | ||
Honour overrides; Note: Based on Tactician! | Honour overrides; Note: Based on Tactician! | ||
--> | --> | ||
<!-- Honour base stats --> | |||
{{#lvardef: h_hp | {{{h hp | {{#lvar:t_hp}} }}} }} | |||
{{#lvardef: h_ac | {{{h ac | {{#lvar:t_ac}} }}} }} | |||
{{#lvardef: h_initiative | {{{h initiative | {{#lvar:t_initiative}} }}} }} | |||
<!-- Honour movement and weight --> | <!-- Honour movement and weight --> | ||
Line 292: | Line 307: | ||
| e level = {{#lvar:e_level}} | | e level = {{#lvar:e_level}} | ||
| e hp = {{ | | e hp = {{#lvar:e_hp}} | ||
| e ac = {{ | | e ac = {{#lvar:e_ac}} | ||
| e initiative = {{ | | e initiative = {{#lvar:e_initiative}} | ||
| e prof bonus = {{#lvar:e_prof_bonus}} | | e prof bonus = {{#lvar:e_prof_bonus}} | ||
| e movement m = {{#lvar:e_movement_m}} | | e movement m = {{#lvar:e_movement_m}} | ||
Line 334: | Line 349: | ||
| t level = {{#lvar:t_level}} | | t level = {{#lvar:t_level}} | ||
| t hp = {{ | | t hp = {{#lvar:t_hp}} | ||
| t ac = {{ | | t ac = {{#lvar:t_ac}} | ||
| t initiative = {{ | | t initiative = {{#lvar:t_initiative}} | ||
| t prof bonus = {{#lvar:t_prof_bonus}} | | t prof bonus = {{#lvar:t_prof_bonus}} | ||
| t movement m = {{#lvar:t_movement_m}} | | t movement m = {{#lvar:t_movement_m}} | ||
Line 376: | Line 391: | ||
| h level = {{#lvar:h_level}} | | h level = {{#lvar:h_level}} | ||
| h hp = {{ | | h hp = {{#lvar:h_hp}} | ||
| h ac = {{ | | h ac = {{#lvar:h_ac}} | ||
| h initiative = {{ | | h initiative = {{#lvar:h_initiative}} | ||
| h prof bonus = {{#lvar:h_prof_bonus}} | | h prof bonus = {{#lvar:h_prof_bonus}} | ||
| h movement m = {{#lvar:h_movement_m}} | | h movement m = {{#lvar:h_movement_m}} |
Revision as of 23:59, 22 April 2024
This is the main creature infobox template. It does a bunch of processing on its parameters before passing on all the results to Template:Infobox creature/internal for displaying.
To override stats for Explorer, Tactician, or Honour mode, use parameters starting with e, t, or h, respectively. E.g. use t hp
to specify the HP value for Tactician difficulty. Explorer and Tactician fall back to Balanced (default) stats when a stat isn't overridden; Honour falls abck to Tactician stats.
The passives
list may contain elements of the format Passive name @ Item name
to specify the item that grants the passive. This will make that item's icon be used if the passive itself doesn't have an icon.
Example use:
{{Infobox creature | name = Test | title = Title | image = <gallery> Steel Watcher Ranged.png|Ranged Steel Watcher Model.png|Model </gallery> | va = Keanu Reeves | role = Mascot | faction = Gondor | family = The Reeves' | hometown = The Shire | size = Smol | type = Mammal | race = Cat | class = Felinid | background = Outlander | level = 10 | hp = 10 | ac = 10 | initiative = +5 | prof bonus = +4 | movement m = 9 | weight kg = 600 | str = 11 | dex = 12 | con = 13 | int = 14 | wis = 15 | cha = 16 | dex save prof = yes | con save prof = yes | resistances = fire resistant, cold resistant, lightning vulnerable | conditions = Aura of Protection, Aura of Hate | passives = Agile Chassis, Cull the Weak (Drider) | e level = 8 | e hp = 8 | e ac = 8 | e initiative = +4 | e prof bonus = +3 | e str = 10 | e dex = 11 | e con = 12 | e int = 13 | e wis = 14 | e cha = 15 | e resistances = cold resistant | e conditions = Aura of Protection | e passives = Agile Chassis | t level = 12 | t hp = 12 | t ac = 12 | t initiative = +6 | t prof bonus = +5 | t movement m = 12 | t weight kg = 800 | t str = 13 | t dex = 14 | t con = 15 | t int = 16 | t wis = 17 | t cha = 18 | t resistances = fire immune, cold resistant, slashing immune nm, piercing immune nm, bludgeoning immune nm | t conditions = Aura of Protection, Aura of Hate, Unstoppable | t passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield @ Adamantine Shield | h level = 14 | h hp = 14 | h ac = 14 | h initiative = +7 | h prof bonus = +6 | h str = 14 | h dex = 15 | h con = 16 | h int = 17 | h wis = 18 | h cha = 19 | h resistances = fire immune, cold immune, slashing immune nm, piercing immune nm, bludgeoning immune nm | h conditions = Aura of Protection, Aura of Hate, Unstoppable, Legendary Resistance: Incapacitation | h passives = Agile Chassis, Cull the Weak (Drider), Adamantine Shield @ Adamantine Shield, Fast Hands }}