Template:Infobox creature: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Same for other difficulties) |
HiddenDragon (talk | contribs) (Fixed honour mode save extra) |
||
(37 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{hidden code| | ||
<!-- Set page image --> | |||
{{#if: {{{page image|}}} | |||
| {{#seo: image = {{{page image}}} }} | |||
| {{#if: {{{image|}}} | |||
| {{#if: {{#invoke:HasTag | main | gallery | {{{image}}} }} | |||
| <!-- do nothing --> | |||
| {{#seo: image = {{{image}}} }} | |||
}} | |||
}} | |||
}} | |||
<!-- Voice actor with IMDB link --> | |||
{{#lvardef: va | | |||
{{#if: {{{va | {{{voice|}}} }}} | |||
| {{va | {{{va | {{{voice|}}} }}} }} | |||
}} | |||
}} | |||
<!-- Movement and weight in ft and lb --> | <!-- Movement and weight in ft and lb --> | ||
{{#lvardef: movement_ft | {{m to ft | {{{movement m|0}}} }} }} | {{#lvardef: movement_ft | {{m to ft | {{{movement m|0}}} }} }} | ||
Line 8: | Line 27: | ||
<!-- Ability score modifiers --> | <!-- Ability score modifiers --> | ||
{{#lvardef: str_mod | {{ | {{#lvardef: str_mod | {{plus if pos | floor({{{str}}} / 2) - 5 }} }} | ||
{{#lvardef: dex_mod | {{ | {{#lvardef: dex_mod | {{plus if pos | floor({{{dex}}} / 2) - 5 }} }} | ||
{{#lvardef: con_mod | {{ | {{#lvardef: con_mod | {{plus if pos | floor({{{con}}} / 2) - 5 }} }} | ||
{{#lvardef: int_mod | {{ | {{#lvardef: int_mod | {{plus if pos | floor({{{int}}} / 2) - 5 }} }} | ||
{{#lvardef: wis_mod | {{ | {{#lvardef: wis_mod | {{plus if pos | floor({{{wis}}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: cha_mod | {{plus if pos | floor({{{cha}}} / 2) - 5 }} }} | ||
<!-- Initiative bonus --> | |||
{{#lvardef: init_bonus | {{plus if pos | | |||
{{{initiative | | |||
{{#if: {{{dex|}}} | | |||
{{#lvar:dex_mod}} + {{{extra init|0}}} | |||
}} | |||
}}} | |||
}} }} | |||
<!-- Proficiency bonus --> | <!-- Proficiency bonus --> | ||
Line 22: | Line 50: | ||
}} | }} | ||
}} | }} | ||
<!-- saving throw extra --> | |||
{{#lvardef: str_save_extra | {{{str save extra|0}}} }} | |||
{{#lvardef: dex_save_extra | {{{dex save extra|0}}} }} | |||
{{#lvardef: con_save_extra | {{{con save extra|0}}} }} | |||
{{#lvardef: int_save_extra | {{{int save extra|0}}} }} | |||
{{#lvardef: wis_save_extra | {{{wis save extra|0}}} }} | |||
{{#lvardef: cha_save_extra | {{{cha save extra|0}}} }} | |||
<!-- Saving throw bonuses --> | <!-- Saving throw bonuses --> | ||
{{#lvardef: | {{#lvardef: str_save | {{plus if pos | {{#lvar:str_mod}} {{#if: {{{str save prof|}}} | {{#lvar:prof_bonus}} }} + {{#lvar:str_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: dex_save | {{plus if pos | {{#lvar:dex_mod}} {{#if: {{{dex save prof|}}} | {{#lvar:prof_bonus}} }} + {{#lvar:dex_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: con_save | {{plus if pos | {{#lvar:con_mod}} {{#if: {{{con save prof|}}} | {{#lvar:prof_bonus}} }} + {{#lvar:con_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: int_save | {{plus if pos | {{#lvar:int_mod}} {{#if: {{{int save prof|}}} | {{#lvar:prof_bonus}} }} + {{#lvar:int_save_extra}} }} }} | ||
{{#lvardef: wis_save | {{plus if pos | {{#lvar:wis_mod}} {{#if: {{{wis save prof|}}} | {{#lvar:prof_bonus}} }} + {{#lvar:wis_save_extra}} }} }} | |||
{{#lvardef: | {{#lvardef: cha_save | {{plus if pos | {{#lvar:cha_mod}} {{#if: {{{cha save prof|}}} | {{#lvar:prof_bonus}} }} + {{#lvar:cha_save_extra}} }} }} | ||
{{#lvardef: | |||
{{# | |||
<!-- | <!-- | ||
Line 45: | Line 74: | ||
{{#lvardef: e_hp | {{{e hp | {{{hp|}}} }}} }} | {{#lvardef: e_hp | {{{e hp | {{{hp|}}} }}} }} | ||
{{#lvardef: e_ac | {{{e ac | {{{ac|}}} }}} }} | {{#lvardef: e_ac | {{{e ac | {{{ac|}}} }}} }} | ||
<!-- Explorer movement and weight --> | <!-- Explorer movement and weight --> | ||
Line 54: | Line 82: | ||
<!-- Explorer ability scores --> | <!-- Explorer ability scores --> | ||
{{#lvardef: e_str | {{{e str | {{{str}}} }}} }} | {{#lvardef: e_str | {{{e str | {{{str|}}} }}} }} | ||
{{#lvardef: e_dex | {{{e dex | {{{dex}}} }}} }} | {{#lvardef: e_dex | {{{e dex | {{{dex|}}} }}} }} | ||
{{#lvardef: e_con | {{{e con | {{{con}}} }}} }} | {{#lvardef: e_con | {{{e con | {{{con|}}} }}} }} | ||
{{#lvardef: e_int | {{{e int | {{{int}}} }}} }} | {{#lvardef: e_int | {{{e int | {{{int|}}} }}} }} | ||
{{#lvardef: e_wis | {{{e wis | {{{wis}}} }}} }} | {{#lvardef: e_wis | {{{e wis | {{{wis|}}} }}} }} | ||
{{#lvardef: e_cha | {{{e cha | {{{cha}}} }}} }} | {{#lvardef: e_cha | {{{e cha | {{{cha|}}} }}} }} | ||
<!-- Explorer ability score modifiers --> | <!-- Explorer ability score modifiers --> | ||
{{#lvardef: e_str_mod | {{ | {{#lvardef: e_str_mod | {{plus if pos | floor({{#lvar:e_str}} / 2) - 5 }} }} | ||
{{#lvardef: e_dex_mod | {{ | {{#lvardef: e_dex_mod | {{plus if pos | floor({{#lvar:e_dex}} / 2) - 5 }} }} | ||
{{#lvardef: e_con_mod | {{ | {{#lvardef: e_con_mod | {{plus if pos | floor({{#lvar:e_con}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: e_int_mod | {{plus if pos | floor({{#lvar:e_int}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: e_wis_mod | {{plus if pos | floor({{#lvar:e_wis}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: e_cha_mod | {{plus if pos | floor({{#lvar:e_cha}} / 2) - 5 }} }} | ||
<!-- Explorer initiative bonus --> | |||
{{#lvardef: e_extra_init | {{{e extra init | {{{extra init|}}} }}} }} | |||
{{#lvardef: e_init_bonus | {{plus if pos | | |||
{{{e initiative | | |||
{{{initiative | | |||
{{#if: {{#lvar:e_dex}} | | |||
{{#lvar:e_dex_mod}} + {{#lvar:e_extra_init|0}} | |||
}} | |||
}}} | |||
}}} | |||
}} }} | |||
<!-- Explorer level --> | <!-- Explorer level --> | ||
Line 87: | Line 127: | ||
{{#lvardef: e_wis_save_prof | {{{e wis save prof | {{{wis save prof|}}} }}} }} | {{#lvardef: e_wis_save_prof | {{{e wis save prof | {{{wis save prof|}}} }}} }} | ||
{{#lvardef: e_cha_save_prof | {{{e cha save prof | {{{cha save prof|}}} }}} }} | {{#lvardef: e_cha_save_prof | {{{e cha save prof | {{{cha save prof|}}} }}} }} | ||
<!-- Explorer saving throw extra --> | |||
{{#lvardef: e_str_save_extra | {{{e str save extra | {{{str save extra|0}}} }}} }} | |||
{{#lvardef: e_dex_save_extra | {{{e dex save extra | {{{dex save extra|0}}} }}} }} | |||
{{#lvardef: e_con_save_extra | {{{e con save extra | {{{con save extra|0}}} }}} }} | |||
{{#lvardef: e_int_save_extra | {{{e int save extra | {{{int save extra|0}}} }}} }} | |||
{{#lvardef: e_wis_save_extra | {{{e wis save extra | {{{wis save extra|0}}} }}} }} | |||
{{#lvardef: e_cha_save_extra | {{{e cha save extra | {{{cha save extra|0}}} }}} }} | |||
<!-- Explorer saving throw bonuses --> | <!-- Explorer saving throw bonuses --> | ||
{{#lvardef: | {{#lvardef: e_str_save | {{plus if pos | {{#lvar:e_str_mod}} {{#if: {{#lvar:e_str_save_prof}} | {{#lvar:e_prof_bonus}} }} + {{#lvar: e_str_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: e_dex_save | {{plus if pos | {{#lvar:e_dex_mod}} {{#if: {{#lvar:e_dex_save_prof}} | {{#lvar:e_prof_bonus}} }} + {{#lvar: e_dex_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: e_con_save | {{plus if pos | {{#lvar:e_con_mod}} {{#if: {{#lvar:e_con_save_prof}} | {{#lvar:e_prof_bonus}} }} + {{#lvar: e_con_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: e_int_save | {{plus if pos | {{#lvar:e_int_mod}} {{#if: {{#lvar:e_int_save_prof}} | {{#lvar:e_prof_bonus}} }} + {{#lvar: e_int_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: e_wis_save | {{plus if pos | {{#lvar:e_wis_mod}} {{#if: {{#lvar:e_wis_save_prof}} | {{#lvar:e_prof_bonus}} }} + {{#lvar: e_wis_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: e_cha_save | {{plus if pos | {{#lvar:e_cha_mod}} {{#if: {{#lvar:e_cha_save_prof}} | {{#lvar:e_prof_bonus}} }} + {{#lvar: e_cha_save_extra}} }} }} | ||
<!-- Explorer resistances, actions, conditions, passives --> | |||
<!-- Explorer resistances, conditions, passives --> | |||
{{#lvardef: e_resistances | {{{e resistances | {{{resistances|}}} }}} }} | {{#lvardef: e_resistances | {{{e resistances | {{{resistances|}}} }}} }} | ||
{{#lvardef: e_actions | {{{e actions | {{{actions|}}} }}} }} | |||
{{#lvardef: e_conditions | {{{e conditions | {{{conditions|}}} }}} }} | {{#lvardef: e_conditions | {{{e conditions | {{{conditions|}}} }}} }} | ||
{{#lvardef: e_passives | {{{e passives | {{{passives|}}} }}} }} | {{#lvardef: e_passives | {{{e passives | {{{passives|}}} }}} }} | ||
Line 115: | Line 157: | ||
{{#lvardef: t_hp | {{{t hp | {{{hp|}}} }}} }} | {{#lvardef: t_hp | {{{t hp | {{{hp|}}} }}} }} | ||
{{#lvardef: t_ac | {{{t ac | {{{ac|}}} }}} }} | {{#lvardef: t_ac | {{{t ac | {{{ac|}}} }}} }} | ||
<!-- Tactician movement and weight --> | <!-- Tactician movement and weight --> | ||
Line 124: | Line 165: | ||
<!-- Tactician ability scores --> | <!-- Tactician ability scores --> | ||
{{#lvardef: t_str | {{{t str | {{{str}}} }}} }} | {{#lvardef: t_str | {{{t str | {{{str|}}} }}} }} | ||
{{#lvardef: t_dex | {{{t dex | {{{dex}}} }}} }} | {{#lvardef: t_dex | {{{t dex | {{{dex|}}} }}} }} | ||
{{#lvardef: t_con | {{{t con | {{{con}}} }}} }} | {{#lvardef: t_con | {{{t con | {{{con|}}} }}} }} | ||
{{#lvardef: t_int | {{{t int | {{{int}}} }}} }} | {{#lvardef: t_int | {{{t int | {{{int|}}} }}} }} | ||
{{#lvardef: t_wis | {{{t wis | {{{wis}}} }}} }} | {{#lvardef: t_wis | {{{t wis | {{{wis|}}} }}} }} | ||
{{#lvardef: t_cha | {{{t cha | {{{cha}}} }}} }} | {{#lvardef: t_cha | {{{t cha | {{{cha|}}} }}} }} | ||
<!-- Tactician ability score modifiers --> | <!-- Tactician ability score modifiers --> | ||
{{#lvardef: t_str_mod | {{ | {{#lvardef: t_str_mod | {{plus if pos | floor({{#lvar:t_str}} / 2) - 5 }} }} | ||
{{#lvardef: t_dex_mod | {{ | {{#lvardef: t_dex_mod | {{plus if pos | floor({{#lvar:t_dex}} / 2) - 5 }} }} | ||
{{#lvardef: t_con_mod | {{ | {{#lvardef: t_con_mod | {{plus if pos | floor({{#lvar:t_con}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: t_int_mod | {{plus if pos | floor({{#lvar:t_int}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: t_wis_mod | {{plus if pos | floor({{#lvar:t_wis}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: t_cha_mod | {{plus if pos | floor({{#lvar:t_cha}} / 2) - 5 }} }} | ||
<!-- Tactician initiative bonus --> | |||
{{#lvardef: t_extra_init | {{{t extra init | {{{extra init|}}} }}} }} | |||
{{#lvardef: t_init_bonus | {{plus if pos | | |||
{{{t initiative | | |||
{{{initiative | | |||
{{#if: {{#lvar:t_dex}} | | |||
{{#lvar:t_dex_mod}} + {{#lvar:t_extra_init|0}} | |||
}} | |||
}}} | |||
}}} | |||
}} }} | |||
<!-- Tactician level --> | <!-- Tactician level --> | ||
Line 158: | Line 211: | ||
{{#lvardef: t_cha_save_prof | {{{t cha save prof | {{{cha save prof|}}} }}} }} | {{#lvardef: t_cha_save_prof | {{{t cha save prof | {{{cha save prof|}}} }}} }} | ||
<!-- Tactician saving throw | <!-- Tactician saving throw extra --> | ||
{{#lvardef: | {{#lvardef: t_str_save_extra | {{{t str save extra | {{{str save extra|0}}} }}} }} | ||
{{#lvardef: | {{#lvardef: t_dex_save_extra | {{{t dex save extra | {{{dex save extra|0}}} }}} }} | ||
{{#lvardef: | {{#lvardef: t_con_save_extra | {{{t con save extra | {{{con save extra|0}}} }}} }} | ||
{{#lvardef: | {{#lvardef: t_int_save_extra | {{{t int save extra | {{{int save extra|0}}} }}} }} | ||
{{#lvardef: | {{#lvardef: t_wis_save_extra | {{{t wis save extra | {{{wis save extra|0}}} }}} }} | ||
{{#lvardef: | {{#lvardef: t_cha_save_extra | {{{t cha save extra | {{{cha save extra|0}}} }}} }} | ||
{{#lvardef: t_str_save | {{# | <!-- Tactician saving throws --> | ||
{{#lvardef: t_dex_save | {{# | {{#lvardef: t_str_save | {{plus if pos | {{#lvar:t_str_mod}} {{#if: {{#lvar:t_str_save_prof}} | {{#lvar:t_prof_bonus}} }} + {{#lvar:t_str_save_extra}} }} }} | ||
{{#lvardef: t_con_save | {{# | {{#lvardef: t_dex_save | {{plus if pos | {{#lvar:t_dex_mod}} {{#if: {{#lvar:t_dex_save_prof}} | {{#lvar:t_prof_bonus}} }} + {{#lvar:t_dex_save_extra}} }} }} | ||
{{#lvardef: t_int_save | {{# | {{#lvardef: t_con_save | {{plus if pos | {{#lvar:t_con_mod}} {{#if: {{#lvar:t_con_save_prof}} | {{#lvar:t_prof_bonus}} }} + {{#lvar:t_con_save_extra}} }} }} | ||
{{#lvardef: t_wis_save | {{# | {{#lvardef: t_int_save | {{plus if pos | {{#lvar:t_int_mod}} {{#if: {{#lvar:t_int_save_prof}} | {{#lvar:t_prof_bonus}} }} + {{#lvar:t_int_save_extra}} }} }} | ||
{{#lvardef: t_cha_save | {{# | {{#lvardef: t_wis_save | {{plus if pos | {{#lvar:t_wis_mod}} {{#if: {{#lvar:t_wis_save_prof}} | {{#lvar:t_prof_bonus}} }} + {{#lvar:t_wis_save_extra}} }} }} | ||
{{#lvardef: t_cha_save | {{plus if pos | {{#lvar:t_cha_mod}} {{#if: {{#lvar:t_cha_save_prof}} | {{#lvar:t_prof_bonus}} }} + {{#lvar:t_cha_save_extra}} }} }} | |||
<!-- Tactician resistances, conditions, passives --> | <!-- Tactician resistances, conditions, passives --> | ||
{{#lvardef: t_resistances | {{{t resistances | {{{resistances|}}} }}} }} | {{#lvardef: t_resistances | {{{t resistances | {{{resistances|}}} }}} }} | ||
{{#lvardef: t_actions | {{{t actions | {{{actions|}}} }}} }} | |||
{{#lvardef: t_conditions | {{{t conditions | {{{conditions|}}} }}} }} | {{#lvardef: t_conditions | {{{t conditions | {{{conditions|}}} }}} }} | ||
{{#lvardef: t_passives | {{{t passives | {{{passives|}}} }}} }} | {{#lvardef: t_passives | {{{t passives | {{{passives|}}} }}} }} | ||
Line 185: | Line 240: | ||
{{#lvardef: h_hp | {{{h hp | {{#lvar:t_hp}} }}} }} | {{#lvardef: h_hp | {{{h hp | {{#lvar:t_hp}} }}} }} | ||
{{#lvardef: h_ac | {{{h ac | {{#lvar:t_ac}} }}} }} | {{#lvardef: h_ac | {{{h ac | {{#lvar:t_ac}} }}} }} | ||
<!-- Honour movement and weight --> | <!-- Honour movement and weight --> | ||
Line 202: | Line 256: | ||
<!-- Honour ability score modifiers --> | <!-- Honour ability score modifiers --> | ||
{{#lvardef: h_str_mod | {{ | {{#lvardef: h_str_mod | {{plus if pos | floor({{#lvar:h_str}} / 2) - 5 }} }} | ||
{{#lvardef: h_dex_mod | {{ | {{#lvardef: h_dex_mod | {{plus if pos | floor({{#lvar:h_dex}} / 2) - 5 }} }} | ||
{{#lvardef: h_con_mod | {{ | {{#lvardef: h_con_mod | {{plus if pos | floor({{#lvar:h_con}} / 2) - 5 }} }} | ||
{{#lvardef: h_int_mod | {{ | {{#lvardef: h_int_mod | {{plus if pos | floor({{#lvar:h_int}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: h_wis_mod | {{plus if pos | floor({{#lvar:h_wis}} / 2) - 5 }} }} | ||
{{#lvardef: | {{#lvardef: h_cha_mod | {{plus if pos | floor({{#lvar:h_cha}} / 2) - 5 }} }} | ||
<!-- Honour initiative bonus --> | |||
{{#lvardef: h_extra_init | {{{h extra init | {{#lvar:t_extra_init}} }}} }} | |||
{{#lvardef: h_init_bonus | {{plus if pos | | |||
{{{h initiative | | |||
{{{t initiative | | |||
{{{initiative | | |||
{{#if: {{#lvar:h_dex}} | | |||
{{#lvar:h_dex_mod}} + {{#lvar:h_extra_init|0}} | |||
}} | |||
}}} | |||
}}} | |||
}}} | |||
}} }} | |||
<!-- Honour level --> | <!-- Honour level --> | ||
Line 227: | Line 295: | ||
{{#lvardef: h_wis_save_prof | {{{h wis save prof | {{#lvar:t_wis_save_prof}} }}} }} | {{#lvardef: h_wis_save_prof | {{{h wis save prof | {{#lvar:t_wis_save_prof}} }}} }} | ||
{{#lvardef: h_cha_save_prof | {{{h cha save prof | {{#lvar:t_cha_save_prof}} }}} }} | {{#lvardef: h_cha_save_prof | {{{h cha save prof | {{#lvar:t_cha_save_prof}} }}} }} | ||
<!-- Honour saving throw extra --> | |||
{{#lvardef: h_str_save_extra | {{{h str save extra | {{#lvar:t_str_save_extra}} }}} }} | |||
{{#lvardef: h_dex_save_extra | {{{h dex save extra | {{#lvar:t_dex_save_extra}} }}} }} | |||
{{#lvardef: h_con_save_extra | {{{h con save extra | {{#lvar:t_con_save_extra}} }}} }} | |||
{{#lvardef: h_int_save_extra | {{{h int save extra | {{#lvar:t_int_save_extra}} }}} }} | |||
{{#lvardef: h_wis_save_extra | {{{h wis save extra | {{#lvar:t_wis_save_extra}} }}} }} | |||
{{#lvardef: h_cha_save_extra | {{{h cha save extra | {{#lvar:t_cha_save_extra}} }}} }} | |||
<!-- Honour saving throw bonuses --> | <!-- Honour saving throw bonuses --> | ||
{{#lvardef: | {{#lvardef: h_str_save | {{plus if pos | {{#lvar:h_str_mod}} {{#if: {{#lvar:h_str_save_prof}} | {{#lvar:h_prof_bonus}} }} + {{#lvar: h_str_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: h_dex_save | {{plus if pos | {{#lvar:h_dex_mod}} {{#if: {{#lvar:h_dex_save_prof}} | {{#lvar:h_prof_bonus}} }} + {{#lvar: h_str_save_extra}} }} }} | ||
{{#lvardef: | {{#lvardef: h_con_save | {{plus if pos | {{#lvar:h_con_mod}} {{#if: {{#lvar:h_con_save_prof}} | {{#lvar:h_prof_bonus}} }} + {{#lvar: h_str_save_extra}} }} }} | ||
{{#lvardef: h_int_save | {{plus if pos | {{#lvar:h_int_mod}} {{#if: {{#lvar:h_int_save_prof}} | {{#lvar:h_prof_bonus}} }} + {{#lvar: h_str_save_extra}} }} }} | |||
{{#lvardef: | {{#lvardef: h_wis_save | {{plus if pos | {{#lvar:h_wis_mod}} {{#if: {{#lvar:h_wis_save_prof}} | {{#lvar:h_prof_bonus}} }} + {{#lvar: h_cha_save_extra}} }} }} | ||
{{#lvardef: h_cha_save | {{plus if pos | {{#lvar:h_cha_mod}} {{#if: {{#lvar:h_cha_save_prof}} | {{#lvar:h_prof_bonus}} }} + {{#lvar: h_cha_save_extra}} }} }} | |||
{{#lvardef: | |||
{{# | |||
{{#lvardef: | |||
{{# | |||
<!-- Honour resistances, conditions, passives --> | <!-- Honour resistances, conditions, passives --> | ||
{{#lvardef: h_resistances | {{{h resistances | {{#lvar:t_resistances}} }}} }} | {{#lvardef: h_resistances | {{{h resistances | {{#lvar:t_resistances}} }}} }} | ||
{{#lvardef: h_actions | {{{h actions | {{#lvar:t_actions}} }}} }} | |||
{{#lvardef: h_conditions | {{{h conditions | {{#lvar:t_conditions}} }}} }} | {{#lvardef: h_conditions | {{{h conditions | {{#lvar:t_conditions}} }}} }} | ||
{{#lvardef: h_passives | {{{h passives | {{#lvar:t_passives}} }}} }} | {{#lvardef: h_passives | {{{h passives | {{#lvar:t_passives}} }}} }} | ||
}}{{Infobox creature/internal | {{#if: {{{initiative|}}} {{{e initiative|}}} {{{t initiative|}}} {{{h initiative|}}} | ||
| [[Category:Pages setting creature infobox initiative directly]] | |||
}} | |||
}} | |||
{{Infobox creature/internal | |||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| title = {{{title|}}} | | title = {{{title|}}} | ||
| image = {{{image|}}} | | image = {{{image|{{Main namespace only|[[Category:Infoboxes with no images]]]]}}}}} | ||
| | | full name = {{{full name|}}} | ||
| va = {{#lvar:va}} | |||
| role = {{{role|}}} | | role = {{{role|}}} | ||
| faction = {{{faction|}}} | | faction = {{{faction|}}} | ||
Line 264: | Line 341: | ||
| background = {{{background|}}} | | background = {{{background|}}} | ||
| level = {{ | | level = {{{level|}}} | ||
| hp = {{{hp|}}} | | hp = {{{hp|}}} | ||
| ac = {{{ac|}}} | | ac = {{{ac|}}} | ||
| | | init bonus = {{#lvar:init_bonus}} | ||
| prof bonus = {{#lvar:prof_bonus}} | | prof bonus = {{#lvar:prof_bonus}} | ||
| movement m = {{{movement m|}}} | | movement m = {{{movement m|}}} | ||
Line 303: | Line 380: | ||
| resistances = {{{resistances|}}} | | resistances = {{{resistances|}}} | ||
| actions = {{{actions|}}} | |||
| conditions = {{{conditions|}}} | | conditions = {{{conditions|}}} | ||
| passives = {{{passives|}}} | | passives = {{{passives|}}} | ||
| e level = {{ | | e level = {{{e level | {{{level|}}} }}} | ||
| e hp = {{#lvar:e_hp}} | | e hp = {{#lvar:e_hp}} | ||
| e ac = {{#lvar:e_ac}} | | e ac = {{#lvar:e_ac}} | ||
| e | | e init bonus = {{#lvar:e_init_bonus}} | ||
| 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 345: | Line 423: | ||
| e resistances = {{#lvar:e_resistances}} | | e resistances = {{#lvar:e_resistances}} | ||
| e actions = {{#lvar:e_actions}} | |||
| e conditions = {{#lvar:e_conditions}} | | e conditions = {{#lvar:e_conditions}} | ||
| e passives = {{#lvar:e_passives}} | | e passives = {{#lvar:e_passives}} | ||
| t level = {{ | | t level = {{{t level | {{{level|}}} }}} | ||
| t hp = {{#lvar:t_hp}} | | t hp = {{#lvar:t_hp}} | ||
| t ac = {{#lvar:t_ac}} | | t ac = {{#lvar:t_ac}} | ||
| t | | t init bonus = {{#lvar:t_init_bonus}} | ||
| 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 387: | Line 466: | ||
| t resistances = {{#lvar:t_resistances}} | | t resistances = {{#lvar:t_resistances}} | ||
| t actions = {{#lvar:t_actions}} | |||
| t conditions = {{#lvar:t_conditions}} | | t conditions = {{#lvar:t_conditions}} | ||
| t passives = {{#lvar:t_passives}} | | t passives = {{#lvar:t_passives}} | ||
| h level = {{ | | h level = {{{h level | {{{t level | {{{level|}}} }}} }}} | ||
| h hp = {{#lvar:h_hp}} | | h hp = {{#lvar:h_hp}} | ||
| h ac = {{#lvar:h_ac}} | | h ac = {{#lvar:h_ac}} | ||
| h | | h init bonus = {{#lvar:h_init_bonus}} | ||
| 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}} | ||
Line 429: | Line 509: | ||
| h resistances = {{#lvar:h_resistances}} | | h resistances = {{#lvar:h_resistances}} | ||
| h actions = {{#lvar:h_actions}} | |||
| h conditions = {{#lvar:h_conditions}} | | h conditions = {{#lvar:h_conditions}} | ||
| h passives = {{#lvar:h_passives}} | | h passives = {{#lvar:h_passives}} | ||
}}</includeonly><noinclude>{{ | }}</includeonly><noinclude>{{documentation}}</noinclude> | ||
}} | |||
</noinclude> |
Latest revision as of 04:12, 30 June 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.
List of helper sub-templates:
- Template:Infobox creature/internal
- Template:Infobox creature/actions format
- Template:Infobox creature/actions query
- Template:Infobox creature/conditions format
- Template:Infobox creature/conditions query
- Template:Infobox creature/passives format
- Template:Infobox creature/passives parser
- Template:Infobox creature/passives query
Usage tips:
- 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 formatPassive 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. - The
image
property may contain a<gallery>...</gallery>
. - The provided image will be automatically set as the page image (as if using Template:PageSeo), unless it's a gallery. If it's a gallery, you can use the
page image
property instead to set the page image.
How to specify a creature's initiative bonus:
- If a creature's initiative bonus is just their Dex modifier, then you mustn't use any initiative-related parameters. It will automatically use the Dex modifier.
- If a creature has extra initiative bonus through sources other than Dex, use the
extra init
parameter to specify the extra value (without Dex modifier). - For example, if a creature has Alert (+5), Feral Instinct (+3), and Ambusher (+1), then you would specify
extra init = 9
, and the Dex modifier will be automatically added on top. - This way, if the creature's Dex changes between difficulties, the correct initiative bonus will be calculated. If necessary, the
extra init
parameter can also be changed per difficulty; for example, if the creature's Dex stays the same between difficulties, but they have an additional passive feature in a higher difficulty that grants them extra initiative.
Example use:
{{Infobox creature | name = Test | title = Title | image = <gallery> Steel Watcher Ranged.png|Ranged Steel Watcher Model.png|Model </gallery> | page image = Steel Watcher Model.png | full name = Duke Wellington | va = Amelia Tyler | role = Mascot | faction = Gondor | family = Power Puff Girls | hometown = The Shire | size = Smol | type = Mammal | race = Cat | class = Felinid | background = Outlander | level = 10 | hp = 10 | ac = 10 | extra init = +3 | prof bonus = +4 | movement m = 9 | weight kg = 600 | str = 11 | dex = 12 | con = 13 | int = 14 | wis = 15 | cha = 16 | str save extra = +2 | dex save extra = +3 | con save extra = +4 | int save extra = +5 | wis save extra = +6 | cha save extra = +7 | dex save prof = yes | con save prof = yes | resistances = fire resistant, cold resistant, lightning vulnerable | actions = Absolute Power, Dueller's Enthusiasm | conditions = Aura of Protection, Aura of Hate | passives = Agile Chassis, Cull the Weak (Drider) | e level = 8 | e hp = 8 | e ac = 8 | e extra init = +2 | e prof bonus = +3 | e str = 10 | e dex = 11 | e con = 12 | e int = 13 | e wis = 14 | e cha = 15 | e str save extra = +2 | e dex save extra = +3 | e con save extra = +4 | e int save extra = +5 | e wis save extra = +6 | e cha save extra = +7 | e resistances = cold resistant | e actions = Absolute Power | e conditions = Aura of Protection | e passives = Agile Chassis | t level = 12 | t hp = 12 | t ac = 12 | t extra init = +4 | 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 str save extra = +2 | t dex save extra = +3 | t con save extra = +4 | t int save extra = +5 | t wis save extra = +6 | t cha save extra = +7 | t resistances = fire immune, cold resistant, slashing immune nm, piercing immune nm, bludgeoning immune nm | t actions = Absolute Power, Dueller's Enthusiasm, Entangle | 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 extra init = +5 | h prof bonus = +6 | h str = 14 | h dex = 15 | h con = 16 | h int = 17 | h wis = 18 | h cha = 19 | h str save extra = +2 | h dex save extra = +3 | h con save extra = +4 | h int save extra = +5 | h wis save extra = +6 | h cha save extra = +7 | h resistances = fire immune, cold immune, slashing immune nm, piercing immune nm, bludgeoning immune nm | h actions = Absolute Power, Dueller's Enthusiasm, Entangle, Fireball | 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 }}