Ad placeholder

Template:Infobox statistics: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{license|ccbysa}}</noinclude><includeonly>{{#lvardef:strmod|{{#ifexpr: (({{{str|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{str|}}} - 10) / 2)}}}}{{#lvardef:dexmod|{{#ifexpr: (({{{dex|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{dex|}}} - 10) / 2)}}}}{{#lvardef:conmod|{{#ifexpr: (({{{con|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{con|}}} - 10) / 2)}}}}{{#lvardef:intmod|{{#ifexpr: (({{{int|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{int|}}} - 10) / 2)}}}}{{#lvardef:wismod|{{#ifexpr: (({{{wis|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{wis|}}} - 10) / 2)}}}}{{#lvardef:chamod|{{#ifexpr: (({{{cha|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{cha|}}} - 10) / 2)}}}}{{#lvardef:strsave|{{#expr: {{#lvar:strmod}}{{#if: {{{str_save_proficiency|}}} | {{{proficiency_bonus|}}} }}}}}}{{#lvardef:dexsave|{{#expr:{{#lvar:dexmod}} {{#if: {{{dex_save_proficiency|}}} |  {{{proficiency_bonus|}}} }}}}}}{{#lvardef:consave|{{#expr: {{#lvar:conmod}} {{#if: {{{con_save_proficiency|}}} | {{{proficiency_bonus|}}} }}}}}}{{#lvardef:intsave|{{#expr: {{#lvar:intmod}} {{#if: {{{int_save_proficiency|}}} |  {{{proficiency_bonus|}}} }}}}}}{{#lvardef:wissave|{{#expr: {{#lvar:wismod}} {{#if: {{{wis_save_proficiency|}}} |  {{{proficiency_bonus|}}} }}}}}}{{#lvardef:chasave|{{#expr: {{#lvar:chamod}} {{#if: {{{cha_save_proficiency|}}} | {{{proficiency_bonus|}}} }}}}}}{{#lvardef:proficiencybonus|+{{{proficiency_bonus|{{#expr: 2 {{#ifexpr: {{{level|1}}} > 5 | + 1}} {{#ifexpr: {{{level|1}}} > 9 | + 1}}}}}}}}}
<noinclude>{{license|ccbysa}}</noinclude><includeonly>{{#lvardef:strmod|{{#ifexpr: (({{{str|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{str|}}} - 10) / 2)}}}}{{#lvardef:dexmod|{{#ifexpr: (({{{dex|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{dex|}}} - 10) / 2)}}}}{{#lvardef:conmod|{{#ifexpr: (({{{con|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{con|}}} - 10) / 2)}}}}{{#lvardef:intmod|{{#ifexpr: (({{{int|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{int|}}} - 10) / 2)}}}}{{#lvardef:wismod|{{#ifexpr: (({{{wis|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{wis|}}} - 10) / 2)}}}}{{#lvardef:chamod|{{#ifexpr: (({{{cha|}}} - 10) / 2) > 0 | +}}{{#expr: (({{{cha|}}} - 10) / 2)}}}}{{#lvardef:strsave|{{#expr: {{#lvar:strmod}}{{#if: {{{str_save_proficiency|}}} | {{#lvar:proficiencybonus}} }}}}}}{{#lvardef:dexsave|{{#expr:{{#lvar:dexmod}} {{#if: {{{dex_save_proficiency|}}} |  {{#lvar:proficiencybonus}} }}}}}}{{#lvardef:consave|{{#expr: {{#lvar:conmod}} {{#if: {{{con_save_proficiency|}}} | {{#lvar:proficiencybonus}} }}}}}}{{#lvardef:intsave|{{#expr: {{#lvar:intmod}} {{#if: {{{int_save_proficiency|}}} |  {{#lvar:proficiencybonus}} }}}}}}{{#lvardef:wissave|{{#expr: {{#lvar:wismod}} {{#if: {{{wis_save_proficiency|}}} |  {{#lvar:proficiencybonus}} }}}}}}{{#lvardef:chasave|{{#expr: {{#lvar:chamod}} {{#if: {{{cha_save_proficiency|}}} | {{#lvar:proficiencybonus}} }}}}}}{{#lvardef:proficiencybonus|+{{{proficiency_bonus|{{#expr: 2 {{#ifexpr: {{{level|1}}} > 5 | + 1}} {{#ifexpr: {{{level|1}}} > 9 | + 1}}}}}}}}}
{{infobox
{{infobox
| subbox = {{{subbox|}}}
| subbox = {{{subbox|}}}
Line 59: Line 59:
| data9 =  {{#lvar:proficiencybonus}}
| data9 =  {{#lvar:proficiencybonus}}


| class 10 = wrap
| label10 = Saving throws
| label10 = Saving throws
| data10 = {{#ifexpr: {{#lvar:strsave}} > 0 | Str +{{#lvar:strsave}}{{#if: {{{str_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:strsave}} < 0 | Str {{#lvar:strsave}}{{#if: {{{str_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:dexsave}} > 0 | Dex +{{#lvar:dexsave}}{{#if: {{{dex_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:dexsave}} < 0 | Dex {{#lvar:dexsave}}{{#if: {{{dex_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:consave}} > 0 | Con +{{#lvar:consave}}{{#if: {{{con_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:consave}} < 0 | Con {{#lvar:consave}}{{#if: {{{con_save_proficiency|}}} | {{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}} {{#ifexpr: {{#lvar:intsave}} > 0 | Int +{{#lvar:intsave}}{{#if: {{{int_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:intsave}} < 0 | Int {{#lvar:intsave}}{{#if: {{{int_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:wissave}} > 0 | Wis +{{#lvar:wissave}}{{#if: {{{wis_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:wissave}} < 0 | Wis {{#lvar:wissave}}{{#if: {{{wis_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:chasave}} > 0 | Cha +{{#lvar:chasave}}{{#if: {{{cha_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:chasave}} < 0 | Cha {{#lvar:chasave}}{{#if: {{{cha_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}
| data10 = {{#ifexpr: {{#lvar:strsave}} > 0 | Str +{{#lvar:strsave}}{{#if: {{{str_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:strsave}} < 0 | Str {{#lvar:strsave}}{{#if: {{{str_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:dexsave}} > 0 | Dex +{{#lvar:dexsave}}{{#if: {{{dex_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:dexsave}} < 0 | Dex {{#lvar:dexsave}}{{#if: {{{dex_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:consave}} > 0 | Con +{{#lvar:consave}}{{#if: {{{con_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:consave}} < 0 | Con {{#lvar:consave}}{{#if: {{{con_save_proficiency|}}} | {{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}} {{#ifexpr: {{#lvar:intsave}} > 0 | Int +{{#lvar:intsave}}{{#if: {{{int_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:intsave}} < 0 | Int {{#lvar:intsave}}{{#if: {{{int_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:wissave}} > 0 | Wis +{{#lvar:wissave}}{{#if: {{{wis_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:wissave}} < 0 | Wis {{#lvar:wissave}}{{#if: {{{wis_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}} {{#ifexpr: {{#lvar:chasave}} > 0 | Cha +{{#lvar:chasave}}{{#if: {{{cha_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}{{#ifexpr: {{#lvar:chasave}} < 0 | Cha {{#lvar:chasave}}{{#if: {{{cha_save_proficiency|}}} | {{sup|{{abbr|class=bg3wiki-save-proficiency-abbr|title=Proficiency|P}}}}}}}}
8,856
edits

Navigation menu