|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly>{{#if: {{{image|}}} | | <includeonly>{{hidden code| |
| | |
| | <!-- Set page image --> |
| | {{#if: {{{image|}}} |
| | {{#seo: image = {{{page image | {{{image}}} }}} }} | | | {{#seo: image = {{{page image | {{{image}}} }}} }} |
| }}{{trim| | | }} |
|
| |
|
| <!-- Movement and weight in ft and lb --> | | <!-- Movement and weight in ft and lb --> |
Line 11: |
Line 14: |
|
| |
|
| <!-- Ability score modifiers --> | | <!-- Ability score modifiers --> |
| {{#lvardef: str_mod | {{#ifexpr: {{{str}}} > 11 | + }}{{#expr: floor({{{str}}} / 2) - 5 }} }} | | {{#lvardef: str_mod | {{plus if pos | floor({{{str}}} / 2) - 5 }} }} |
| {{#lvardef: dex_mod | {{#ifexpr: {{{dex}}} > 11 | + }}{{#expr: floor({{{dex}}} / 2) - 5 }} }} | | {{#lvardef: dex_mod | {{plus if pos | floor({{{dex}}} / 2) - 5 }} }} |
| {{#lvardef: con_mod | {{#ifexpr: {{{con}}} > 11 | + }}{{#expr: floor({{{con}}} / 2) - 5 }} }} | | {{#lvardef: con_mod | {{plus if pos | floor({{{con}}} / 2) - 5 }} }} |
| {{#lvardef: int_mod | {{#ifexpr: {{{int}}} > 11 | + }}{{#expr: floor({{{int}}} / 2) - 5 }} }} | | {{#lvardef: int_mod | {{plus if pos | floor({{{int}}} / 2) - 5 }} }} |
| {{#lvardef: wis_mod | {{#ifexpr: {{{wis}}} > 11 | + }}{{#expr: floor({{{wis}}} / 2) - 5 }} }} | | {{#lvardef: wis_mod | {{plus if pos | floor({{{wis}}} / 2) - 5 }} }} |
| {{#lvardef: cha_mod | {{#ifexpr: {{{cha}}} > 11 | + }}{{#expr: floor({{{cha}}} / 2) - 5 }} }} | | {{#lvardef: cha_mod | {{plus if pos | floor({{{cha}}} / 2) - 5 }} }} |
|
| |
|
| <!-- Initiative --> | | <!-- Initiative bonus --> |
| {{#lvardef: initiative | | | {{#lvardef: init_bonus | {{plus if pos | |
| {{{initiative | | | {{{initiative | |
| {{#if: {{{dex|}}} | | | {{#if: {{{dex|}}} | |
| {{#expr: {{#lvar:dex_mod}} + {{{init bonus|0}}} }} | | {{#lvar:dex_mod}} + {{{extra init|0}}} |
| }} | | }} |
| }}} | | }}} |
| }} | | }} }} |
|
| |
|
| <!-- Proficiency bonus --> | | <!-- Proficiency bonus --> |
Line 36: |
Line 39: |
|
| |
|
| <!-- Saving throw bonuses --> | | <!-- Saving throw bonuses --> |
| {{#lvardef: str_save_val | {{#expr: {{#lvar:str_mod}} {{#if: {{{str save prof|}}} | {{#lvar:prof_bonus}} }} }} }} | | {{#lvardef: str_save | {{plus if pos | {{#lvar:str_mod}} {{#if: {{{str save prof|}}} | {{#lvar:prof_bonus}} }} }} }} |
| {{#lvardef: dex_save_val | {{#expr: {{#lvar:dex_mod}} {{#if: {{{dex save prof|}}} | {{#lvar:prof_bonus}} }} }} }} | | {{#lvardef: dex_save | {{plus if pos | {{#lvar:dex_mod}} {{#if: {{{dex save prof|}}} | {{#lvar:prof_bonus}} }} }} }} |
| {{#lvardef: con_save_val | {{#expr: {{#lvar:con_mod}} {{#if: {{{con save prof|}}} | {{#lvar:prof_bonus}} }} }} }} | | {{#lvardef: con_save | {{plus if pos | {{#lvar:con_mod}} {{#if: {{{con save prof|}}} | {{#lvar:prof_bonus}} }} }} }} |
| {{#lvardef: int_save_val | {{#expr: {{#lvar:int_mod}} {{#if: {{{int save prof|}}} | {{#lvar:prof_bonus}} }} }} }} | | {{#lvardef: int_save | {{plus if pos | {{#lvar:int_mod}} {{#if: {{{int save prof|}}} | {{#lvar:prof_bonus}} }} }} }} |
| {{#lvardef: wis_save_val | {{#expr: {{#lvar:wis_mod}} {{#if: {{{wis save prof|}}} | {{#lvar:prof_bonus}} }} }} }} | | {{#lvardef: wis_save | {{plus if pos | {{#lvar:wis_mod}} {{#if: {{{wis save prof|}}} | {{#lvar:prof_bonus}} }} }} }} |
| {{#lvardef: cha_save_val | {{#expr: {{#lvar:cha_mod}} {{#if: {{{cha save prof|}}} | {{#lvar:prof_bonus}} }} }} }} | | {{#lvardef: cha_save | {{plus if pos | {{#lvar:cha_mod}} {{#if: {{{cha save prof|}}} | {{#lvar:prof_bonus}} }} }} }} |
| | |
| {{#lvardef: str_save | {{#ifexpr: {{#lvar:str_save_val}} > 0 | +}}{{#lvar:str_save_val}} }}
| |
| {{#lvardef: dex_save | {{#ifexpr: {{#lvar:dex_save_val}} > 0 | +}}{{#lvar:dex_save_val}} }}
| |
| {{#lvardef: con_save | {{#ifexpr: {{#lvar:con_save_val}} > 0 | +}}{{#lvar:con_save_val}} }}
| |
| {{#lvardef: int_save | {{#ifexpr: {{#lvar:int_save_val}} > 0 | +}}{{#lvar:int_save_val}} }}
| |
| {{#lvardef: wis_save | {{#ifexpr: {{#lvar:wis_save_val}} > 0 | +}}{{#lvar:wis_save_val}} }}
| |
| {{#lvardef: cha_save | {{#ifexpr: {{#lvar:cha_save_val}} > 0 | +}}{{#lvar:cha_save_val}} }}
| |
|
| |
|
| <!-- | | <!-- |
Line 73: |
Line 69: |
|
| |
|
| <!-- Explorer ability score modifiers --> | | <!-- Explorer ability score modifiers --> |
| {{#lvardef: e_str_mod | {{#ifexpr: {{#lvar:e_str}} > 11 | + }}{{#expr: floor({{#lvar:e_str}} / 2) - 5 }} }} | | {{#lvardef: e_str_mod | {{plus if pos | floor({{#lvar:e_str}} / 2) - 5 }} }} |
| {{#lvardef: e_dex_mod | {{#ifexpr: {{#lvar:e_dex}} > 11 | + }}{{#expr: floor({{#lvar:e_dex}} / 2) - 5 }} }} | | {{#lvardef: e_dex_mod | {{plus if pos | floor({{#lvar:e_dex}} / 2) - 5 }} }} |
| {{#lvardef: e_con_mod | {{#ifexpr: {{#lvar:e_con}} > 11 | + }}{{#expr: floor({{#lvar:e_con}} / 2) - 5 }} }} | | {{#lvardef: e_con_mod | {{plus if pos | floor({{#lvar:e_con}} / 2) - 5 }} }} |
| {{#lvardef: e_int_mod | {{#ifexpr: {{#lvar:e_int}} > 11 | + }}{{#expr: floor({{#lvar:e_int}} / 2) - 5 }} }} | | {{#lvardef: e_int_mod | {{plus if pos | floor({{#lvar:e_int}} / 2) - 5 }} }} |
| {{#lvardef: e_wis_mod | {{#ifexpr: {{#lvar:e_wis}} > 11 | + }}{{#expr: floor({{#lvar:e_wis}} / 2) - 5 }} }} | | {{#lvardef: e_wis_mod | {{plus if pos | floor({{#lvar:e_wis}} / 2) - 5 }} }} |
| {{#lvardef: e_cha_mod | {{#ifexpr: {{#lvar:e_cha}} > 11 | + }}{{#expr: floor({{#lvar:e_cha}} / 2) - 5 }} }} | | {{#lvardef: e_cha_mod | {{plus if pos | floor({{#lvar:e_cha}} / 2) - 5 }} }} |
|
| |
|
| <!-- Explorer initiative --> | | <!-- Explorer initiative bonus --> |
| {{#lvardef: e_init_bonus | {{{e init bonus | {{{init bonus|}}} }}} }} | | {{#lvardef: e_extra_init | {{{e extra init | {{{extra init|}}} }}} }} |
| {{#lvardef: e_initiative | | | {{#lvardef: e_init_bonus | {{plus if pos | |
| {{{e initiative | | | {{{e initiative | |
| {{{initiative | | | {{{initiative | |
| {{#if: {{#lvar:e_dex}} | | | {{#if: {{#lvar:e_dex}} | |
| {{#expr: {{#lvar:e_dex_mod}} + {{#lvar:e_init_bonus|0}} }} | | {{#lvar:e_dex_mod}} + {{#lvar:e_extra_init|0}} |
| }} | | }} |
| }}} | | }}} |
| }}} | | }}} |
| }} | | }} }} |
|
| |
|
| <!-- Explorer level --> | | <!-- Explorer level --> |
Line 112: |
Line 108: |
|
| |
|
| <!-- Explorer saving throw bonuses --> | | <!-- Explorer saving throw bonuses --> |
| {{#lvardef: e_str_save_val | {{#expr: {{#lvar:e_str_mod}} {{#if: {{#lvar:e_str_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} | | {{#lvardef: e_str_save | {{plus if pos | {{#lvar:e_str_mod}} {{#if: {{#lvar:e_str_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} |
| {{#lvardef: e_dex_save_val | {{#expr: {{#lvar:e_dex_mod}} {{#if: {{#lvar:e_dex_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} | | {{#lvardef: e_dex_save | {{plus if pos | {{#lvar:e_dex_mod}} {{#if: {{#lvar:e_dex_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} |
| {{#lvardef: e_con_save_val | {{#expr: {{#lvar:e_con_mod}} {{#if: {{#lvar:e_con_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} | | {{#lvardef: e_con_save | {{plus if pos | {{#lvar:e_con_mod}} {{#if: {{#lvar:e_con_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} |
| {{#lvardef: e_int_save_val | {{#expr: {{#lvar:e_int_mod}} {{#if: {{#lvar:e_int_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} | | {{#lvardef: e_int_save | {{plus if pos | {{#lvar:e_int_mod}} {{#if: {{#lvar:e_int_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} |
| {{#lvardef: e_wis_save_val | {{#expr: {{#lvar:e_wis_mod}} {{#if: {{#lvar:e_wis_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} | | {{#lvardef: e_wis_save | {{plus if pos | {{#lvar:e_wis_mod}} {{#if: {{#lvar:e_wis_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} |
| {{#lvardef: e_cha_save_val | {{#expr: {{#lvar:e_cha_mod}} {{#if: {{#lvar:e_cha_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} | | {{#lvardef: e_cha_save | {{plus if pos | {{#lvar:e_cha_mod}} {{#if: {{#lvar:e_cha_save_prof}} | {{#lvar:e_prof_bonus}} }} }} }} |
| | |
| {{#lvardef: e_str_save | {{#ifexpr: {{#lvar:e_str_save_val}} > 0 | +}}{{#lvar:e_str_save_val}} }}
| |
| {{#lvardef: e_dex_save | {{#ifexpr: {{#lvar:e_dex_save_val}} > 0 | +}}{{#lvar:e_dex_save_val}} }}
| |
| {{#lvardef: e_con_save | {{#ifexpr: {{#lvar:e_con_save_val}} > 0 | +}}{{#lvar:e_con_save_val}} }}
| |
| {{#lvardef: e_int_save | {{#ifexpr: {{#lvar:e_int_save_val}} > 0 | +}}{{#lvar:e_int_save_val}} }}
| |
| {{#lvardef: e_wis_save | {{#ifexpr: {{#lvar:e_wis_save_val}} > 0 | +}}{{#lvar:e_wis_save_val}} }}
| |
| {{#lvardef: e_cha_save | {{#ifexpr: {{#lvar:e_cha_save_val}} > 0 | +}}{{#lvar:e_cha_save_val}} }}
| |
|
| |
|
| <!-- Explorer resistances, actions, conditions, passives --> | | <!-- Explorer resistances, actions, conditions, passives --> |
Line 155: |
Line 144: |
|
| |
|
| <!-- Tactician ability score modifiers --> | | <!-- Tactician ability score modifiers --> |
| {{#lvardef: t_str_mod | {{#ifexpr: {{#lvar:t_str}} > 11 | + }}{{#expr: floor({{#lvar:t_str}} / 2) - 5 }} }} | | {{#lvardef: t_str_mod | {{plus if pos | floor({{#lvar:t_str}} / 2) - 5 }} }} |
| {{#lvardef: t_dex_mod | {{#ifexpr: {{#lvar:t_dex}} > 11 | + }}{{#expr: floor({{#lvar:t_dex}} / 2) - 5 }} }} | | {{#lvardef: t_dex_mod | {{plus if pos | floor({{#lvar:t_dex}} / 2) - 5 }} }} |
| {{#lvardef: t_con_mod | {{#ifexpr: {{#lvar:t_con}} > 11 | + }}{{#expr: floor({{#lvar:t_con}} / 2) - 5 }} }} | | {{#lvardef: t_con_mod | {{plus if pos | floor({{#lvar:t_con}} / 2) - 5 }} }} |
| {{#lvardef: t_int_mod | {{#ifexpr: {{#lvar:t_int}} > 11 | + }}{{#expr: floor({{#lvar:t_int}} / 2) - 5 }} }} | | {{#lvardef: t_int_mod | {{plus if pos | floor({{#lvar:t_int}} / 2) - 5 }} }} |
| {{#lvardef: t_wis_mod | {{#ifexpr: {{#lvar:t_wis}} > 11 | + }}{{#expr: floor({{#lvar:t_wis}} / 2) - 5 }} }} | | {{#lvardef: t_wis_mod | {{plus if pos | floor({{#lvar:t_wis}} / 2) - 5 }} }} |
| {{#lvardef: t_cha_mod | {{#ifexpr: {{#lvar:t_cha}} > 11 | + }}{{#expr: floor({{#lvar:t_cha}} / 2) - 5 }} }} | | {{#lvardef: t_cha_mod | {{plus if pos | floor({{#lvar:t_cha}} / 2) - 5 }} }} |
|
| |
|
| <!-- Tactician initiative --> | | <!-- Tactician initiative bonus --> |
| {{#lvardef: t_init_bonus | {{{t init bonus | {{{init bonus|}}} }}} }} | | {{#lvardef: t_extra_init | {{{t extra init | {{{extra init|}}} }}} }} |
| {{#lvardef: t_initiative | | | {{#lvardef: t_init_bonus | {{plus if pos | |
| {{{t initiative | | | {{{t initiative | |
| {{{initiative | | | {{{initiative | |
| {{#if: {{#lvar:t_dex}} | | | {{#if: {{#lvar:t_dex}} | |
| {{#expr: {{#lvar:t_dex_mod}} + {{#lvar:t_init_bonus|0}} }} | | {{#lvar:t_dex_mod}} + {{#lvar:t_extra_init|0}} |
| }} | | }} |
| }}} | | }}} |
| }}} | | }}} |
| }} | | }} }} |
|
| |
|
| <!-- Tactician level --> | | <!-- Tactician level --> |
Line 194: |
Line 183: |
|
| |
|
| <!-- Tactician saving throw bonuses --> | | <!-- Tactician saving throw bonuses --> |
| {{#lvardef: t_str_save_val | {{#expr: {{#lvar:t_str_mod}} {{#if: {{#lvar:t_str_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} | | {{#lvardef: t_str_save | {{plus if pos | {{#lvar:t_str_mod}} {{#if: {{#lvar:t_str_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} |
| {{#lvardef: t_dex_save_val | {{#expr: {{#lvar:t_dex_mod}} {{#if: {{#lvar:t_dex_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} | | {{#lvardef: t_dex_save | {{plus if pos | {{#lvar:t_dex_mod}} {{#if: {{#lvar:t_dex_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} |
| {{#lvardef: t_con_save_val | {{#expr: {{#lvar:t_con_mod}} {{#if: {{#lvar:t_con_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} | | {{#lvardef: t_con_save | {{plus if pos | {{#lvar:t_con_mod}} {{#if: {{#lvar:t_con_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} |
| {{#lvardef: t_int_save_val | {{#expr: {{#lvar:t_int_mod}} {{#if: {{#lvar:t_int_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} | | {{#lvardef: t_int_save | {{plus if pos | {{#lvar:t_int_mod}} {{#if: {{#lvar:t_int_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} |
| {{#lvardef: t_wis_save_val | {{#expr: {{#lvar:t_wis_mod}} {{#if: {{#lvar:t_wis_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} | | {{#lvardef: t_wis_save | {{plus if pos | {{#lvar:t_wis_mod}} {{#if: {{#lvar:t_wis_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} |
| {{#lvardef: t_cha_save_val | {{#expr: {{#lvar:t_cha_mod}} {{#if: {{#lvar:t_cha_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} | | {{#lvardef: t_cha_save | {{plus if pos | {{#lvar:t_cha_mod}} {{#if: {{#lvar:t_cha_save_prof}} | {{#lvar:t_prof_bonus}} }} }} }} |
| | |
| {{#lvardef: t_str_save | {{#ifexpr: {{#lvar:t_str_save_val}} > 0 | +}}{{#lvar:t_str_save_val}} }}
| |
| {{#lvardef: t_dex_save | {{#ifexpr: {{#lvar:t_dex_save_val}} > 0 | +}}{{#lvar:t_dex_save_val}} }}
| |
| {{#lvardef: t_con_save | {{#ifexpr: {{#lvar:t_con_save_val}} > 0 | +}}{{#lvar:t_con_save_val}} }}
| |
| {{#lvardef: t_int_save | {{#ifexpr: {{#lvar:t_int_save_val}} > 0 | +}}{{#lvar:t_int_save_val}} }}
| |
| {{#lvardef: t_wis_save | {{#ifexpr: {{#lvar:t_wis_save_val}} > 0 | +}}{{#lvar:t_wis_save_val}} }}
| |
| {{#lvardef: t_cha_save | {{#ifexpr: {{#lvar:t_cha_save_val}} > 0 | +}}{{#lvar:t_cha_save_val}} }}
| |
|
| |
|
| <!-- Tactician resistances, conditions, passives --> | | <!-- Tactician resistances, conditions, passives --> |
Line 237: |
Line 219: |
|
| |
|
| <!-- Honour ability score modifiers --> | | <!-- Honour ability score modifiers --> |
| {{#lvardef: h_str_mod | {{#ifexpr: {{#lvar:h_str}} > 11 | + }}{{#expr: floor({{#lvar:h_str}} / 2) - 5 }} }} | | {{#lvardef: h_str_mod | {{plus if pos | floor({{#lvar:h_str}} / 2) - 5 }} }} |
| {{#lvardef: h_dex_mod | {{#ifexpr: {{#lvar:h_dex}} > 11 | + }}{{#expr: floor({{#lvar:h_dex}} / 2) - 5 }} }} | | {{#lvardef: h_dex_mod | {{plus if pos | floor({{#lvar:h_dex}} / 2) - 5 }} }} |
| {{#lvardef: h_con_mod | {{#ifexpr: {{#lvar:h_con}} > 11 | + }}{{#expr: floor({{#lvar:h_con}} / 2) - 5 }} }} | | {{#lvardef: h_con_mod | {{plus if pos | floor({{#lvar:h_con}} / 2) - 5 }} }} |
| {{#lvardef: h_int_mod | {{#ifexpr: {{#lvar:h_int}} > 11 | + }}{{#expr: floor({{#lvar:h_int}} / 2) - 5 }} }} | | {{#lvardef: h_int_mod | {{plus if pos | floor({{#lvar:h_int}} / 2) - 5 }} }} |
| {{#lvardef: h_wis_mod | {{#ifexpr: {{#lvar:h_wis}} > 11 | + }}{{#expr: floor({{#lvar:h_wis}} / 2) - 5 }} }} | | {{#lvardef: h_wis_mod | {{plus if pos | floor({{#lvar:h_wis}} / 2) - 5 }} }} |
| {{#lvardef: h_cha_mod | {{#ifexpr: {{#lvar:h_cha}} > 11 | + }}{{#expr: floor({{#lvar:h_cha}} / 2) - 5 }} }} | | {{#lvardef: h_cha_mod | {{plus if pos | floor({{#lvar:h_cha}} / 2) - 5 }} }} |
|
| |
|
| <!-- Honour initiative --> | | <!-- Honour initiative bonus --> |
| {{#lvardef: h_init_bonus | {{{h init bonus | {{#lvar:t_init_bonus}} }}} }} | | {{#lvardef: h_extra_init | {{{h extra init | {{#lvar:t_extra_init}} }}} }} |
| {{#lvardef: h_initiative | | | {{#lvardef: h_init_bonus | {{plus if pos | |
| {{{h initiative | | | {{{h initiative | |
| {{{t initiative | | | {{{t initiative | |
| {{{initiative | | | {{{initiative | |
| {{#if: {{#lvar:h_dex}} | | | {{#if: {{#lvar:h_dex}} | |
| {{#expr: {{#lvar:h_dex_mod}} + {{#lvar:h_init_bonus|0}} }} | | {{#lvar:h_dex_mod}} + {{#lvar:h_extra_init|0}} |
| }} | | }} |
| }}} | | }}} |
| }}} | | }}} |
| }}} | | }}} |
| }} | | }} }} |
|
| |
|
| <!-- Honour level --> | | <!-- Honour level --> |
Line 278: |
Line 260: |
|
| |
|
| <!-- Honour saving throw bonuses --> | | <!-- Honour saving throw bonuses --> |
| {{#lvardef: h_str_save_val | {{#expr: {{#lvar:h_str_mod}} {{#if: {{#lvar:h_str_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} | | {{#lvardef: h_str_save | {{plus if pos | {{#lvar:h_str_mod}} {{#if: {{#lvar:h_str_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} |
| {{#lvardef: h_dex_save_val | {{#expr: {{#lvar:h_dex_mod}} {{#if: {{#lvar:h_dex_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} | | {{#lvardef: h_dex_save | {{plus if pos | {{#lvar:h_dex_mod}} {{#if: {{#lvar:h_dex_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} |
| {{#lvardef: h_con_save_val | {{#expr: {{#lvar:h_con_mod}} {{#if: {{#lvar:h_con_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} | | {{#lvardef: h_con_save | {{plus if pos | {{#lvar:h_con_mod}} {{#if: {{#lvar:h_con_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} |
| {{#lvardef: h_int_save_val | {{#expr: {{#lvar:h_int_mod}} {{#if: {{#lvar:h_int_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} | | {{#lvardef: h_int_save | {{plus if pos | {{#lvar:h_int_mod}} {{#if: {{#lvar:h_int_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} |
| {{#lvardef: h_wis_save_val | {{#expr: {{#lvar:h_wis_mod}} {{#if: {{#lvar:h_wis_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} | | {{#lvardef: h_wis_save | {{plus if pos | {{#lvar:h_wis_mod}} {{#if: {{#lvar:h_wis_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} |
| {{#lvardef: h_cha_save_val | {{#expr: {{#lvar:h_cha_mod}} {{#if: {{#lvar:h_cha_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} | | {{#lvardef: h_cha_save | {{plus if pos | {{#lvar:h_cha_mod}} {{#if: {{#lvar:h_cha_save_prof}} | {{#lvar:h_prof_bonus}} }} }} }} |
| | |
| {{#lvardef: h_str_save | {{#ifexpr: {{#lvar:h_str_save_val}} > 0 | +}}{{#lvar:h_str_save_val}} }}
| |
| {{#lvardef: h_dex_save | {{#ifexpr: {{#lvar:h_dex_save_val}} > 0 | +}}{{#lvar:h_dex_save_val}} }}
| |
| {{#lvardef: h_con_save | {{#ifexpr: {{#lvar:h_con_save_val}} > 0 | +}}{{#lvar:h_con_save_val}} }}
| |
| {{#lvardef: h_int_save | {{#ifexpr: {{#lvar:h_int_save_val}} > 0 | +}}{{#lvar:h_int_save_val}} }}
| |
| {{#lvardef: h_wis_save | {{#ifexpr: {{#lvar:h_wis_save_val}} > 0 | +}}{{#lvar:h_wis_save_val}} }}
| |
| {{#lvardef: h_cha_save | {{#ifexpr: {{#lvar:h_cha_save_val}} > 0 | +}}{{#lvar:h_cha_save_val}} }}
| |
|
| |
|
| <!-- Honour resistances, conditions, passives --> | | <!-- Honour resistances, conditions, passives --> |
Line 302: |
Line 277: |
| }} | | }} |
|
| |
|
| }}{{Infobox creature/internal | | }} |
| | |
| | {{Infobox creature/internal |
| | name = {{{name|}}} | | | name = {{{name|}}} |
| | title = {{{title|}}} | | | title = {{{title|}}} |
Line 319: |
Line 296: |
| | background = {{{background|}}} | | | background = {{{background|}}} |
|
| |
|
| | level = {{#lvar:level}} | | | level = {{{level|}}} |
| | hp = {{{hp|}}} | | | hp = {{{hp|}}} |
| | ac = {{{ac|}}} | | | ac = {{{ac|}}} |
| | initiative = {{#lvar:initiative}} | | | init bonus = {{#lvar:init_bonus}} |
| | prof bonus = {{#lvar:prof_bonus}} | | | prof bonus = {{#lvar:prof_bonus}} |
| | movement m = {{{movement m|}}} | | | movement m = {{{movement m|}}} |
Line 362: |
Line 339: |
| | passives = {{{passives|}}} | | | passives = {{{passives|}}} |
|
| |
|
| | e level = {{#lvar: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 initiative = {{#lvar:e_initiative}} | | | 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 405: |
Line 382: |
| | e passives = {{#lvar:e_passives}} | | | e passives = {{#lvar:e_passives}} |
|
| |
|
| | t level = {{#lvar: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 initiative = {{#lvar:t_initiative}} | | | 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 448: |
Line 425: |
| | t passives = {{#lvar:t_passives}} | | | t passives = {{#lvar:t_passives}} |
|
| |
|
| | h level = {{#lvar: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 initiative = {{#lvar:h_initiative}} | | | 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 491: |
Line 468: |
| | h passives = {{#lvar:h_passives}} | | | h passives = {{#lvar:h_passives}} |
|
| |
|
| }}</includeonly><noinclude>{{Infobox creature | | }}</includeonly><noinclude>{{documentation}}</noinclude> |
| | 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 = 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
| |
| | 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 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 actions = Absolute Power
| |
| | 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 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 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 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
| |
| }} | |
| | |
| 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 <code>t hp</code> 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 <code>passives</code> list may contain elements of the format <code>Passive name @ Item name</code> 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 <code>image</code> property may contain a <code><nowiki><gallery>...</gallery></nowiki></code>.
| |
| * 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 <code>page image</code> property instead to set the page image.
| |
| | |
| Example use:
| |
| | |
| <pre>
| |
| {{Infobox creature
| |
| | name = Test
| |
| | title = Title
| |
| | image =
| |
| <gallery>
| |
| Steel Watcher Ranged.png|Ranged
| |
| Steel Watcher Model.png|Model
| |
| </gallery>
| |
| | full name = Duke Wellington
| |
| | 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
| |
| }}
| |
| </pre>
| |
| </noinclude> | |