8,856
editsAd placeholder
Template:Infobox statistics: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
| image = {{#if: {{{image|}}} | [[File:{{{image|}}}|{{{imagesize|100px}}}|center]] }} | | image = {{#if: {{{image|}}} | [[File:{{{image|}}}|{{{imagesize|100px}}}|center]] }} | ||
| | | header1 = {{#if: {{{mode|}}} | {{{mode|}}}}} | ||
| | |||
| | | header3 = {{#if: {{{armour_class|}}} {{{hit_points|}}} {{{initiative}}} | Stats}} | ||
| | |||
| label4 = {{IconText | w = 24 | h = 24 | Creature AC Icon.png | Armour Class }} | |||
| data4 = {{{armour_class|}}} | |||
| label5 = {{IconText | w = 24 | h = 24 | HP Icon.png | Hit points }} | |||
| data5 = {{#if: {{{hit_points_tactician|}}} {{{hit_points_honour|}}} | {{ublist| | |||
* {{{hit_points|}}} ({{var|Balanced}}) | * {{{hit_points|}}} ({{var|Balanced}}) | ||
{{#if: {{{hit_points_tactician|}}} | * {{{hit_points_tactician|}}} ({{var|Tactician}})}} | {{#if: {{{hit_points_tactician|}}} | * {{{hit_points_tactician|}}} ({{var|Tactician}})}} | ||
{{#if: {{{hit_points_honour|}}} | * {{{hit_points_honour|}}} ({{var|Honour}})}}}} | {{{hit_points|}}} }} | {{#if: {{{hit_points_honour|}}} | * {{{hit_points_honour|}}} ({{var|Honour}})}}}} | {{{hit_points|}}} }} | ||
| | | label6 = {{IconText | w = 24 | h = 24 | Creature Speed Icon.png | Movement speed }} | ||
| | | data6 = {{#if: {{{movement_speed_meters|}}} {{{movement_speed_feet|}}} | {{{movement_speed_meters|}}}{{nbts}}m ({{{movement_speed_feet|}}}{{nbts}}ft)}} | ||
| | | label7 = {{IconText | w = 24 | h = 24 | Weight Icon.png | Weight }} | ||
| | | data7 = {{#if: {{{weight_kg|}}} {{{weight_lb|}}} | {{{weight_kg|}}} kg ({{{weight_lb|}}} lb)}} | ||
| | | label8 = {{IconText | w = 24 | h = 24 | Initiative Icon.png | Initiative }} | ||
| | | data8 = {{#if: {{{initiative}}} | {{{initiative|{{#lvar:dexmod}}}}}}} | ||
| | | header9 = {{#if: {{{str|}}} | Ability scores}} | ||
| | | data10 = {{sheet |subbox=yes | ||
| bodystyle = margin-left: auto; margin-right:auto; margin-top: 0; margin-bottom: 0.15em; | | bodystyle = margin-left: auto; margin-right:auto; margin-top: 0; margin-bottom: 0.15em; | ||
| strheader = STR | | strheader = STR | ||
Line 56: | Line 59: | ||
}} | }} | ||
| | | label11 = Proficiency bonus | ||
| | | data11 = {{#lvar:proficiencybonus}} | ||
| class | | class 12 = wrap | ||
| | | label12 = Saving throws | ||
| | | data12 = {{hlist| | ||
* Str +{{#expr:{{#lvar:strmod}} {{#if: {{{str_save_proficiency|}}} | {{#lvar:proficiencybonus}}}}}} | * Str +{{#expr:{{#lvar:strmod}} {{#if: {{{str_save_proficiency|}}} | {{#lvar:proficiencybonus}}}}}} | ||
* Dex +{{#expr:{{#lvar:dexmod}} {{#if: {{{dex_save_proficiency|}}} | {{#lvar:proficiencybonus}}}}}} | * Dex +{{#expr:{{#lvar:dexmod}} {{#if: {{{dex_save_proficiency|}}} | {{#lvar:proficiencybonus}}}}}} | ||
Line 70: | Line 73: | ||
* Cha +{{#expr:{{#lvar:chamod}} {{#if: {{{cha_save_proficiency|}}} | {{#lvar:proficiencybonus}}}}}}}} | * Cha +{{#expr:{{#lvar:chamod}} {{#if: {{{cha_save_proficiency|}}} | {{#lvar:proficiencybonus}}}}}}}} | ||
| | | header13 = {{#if: {{{immune1|}}} {{{resistant1|}}} {{{vulnerable1|}}} | Resistances}} | ||
| | | label14 = Immune | ||
| | | data14 = {{#if: {{{immune1|}}} | {{damage color|{{{immune1|}}}}}}}{{#if: {{{immune2|}}} | , {{damage color|{{{immune2|}}}}}}}{{#if: {{{immune3|}}} | , {{damage color|{{{immune3|}}}}}}}{{#if: {{{immune4|}}} | , {{damage color|{{{immune4|}}}}}}}{{#if: {{{immune5|}}} | ,{{damage color|{{{immune5|}}}}}}}{{#if: {{{immune6|}}} | ,{{damage color|{{{immune6|}}}}}}}{{#if: {{{immune7|}}} | , {{damage color|{{{immune7|}}}}}}}{{#if: {{{immune8|}}} | , {{damage color|{{{immune8|}}}}}}}{{#if: {{{immune9|}}} | , {{damage color|{{{immune9|}}}}}}}{{#if: {{{immune10|}}} | ,{{damage color|{{{immune10|}}}}}}} | ||
| | | label15 = Resistant | ||
| | | data15 = {{#if: {{{resistant1|}}} | {{damage color|{{{resistant1|}}}}}}}{{#if: {{{resistant2|}}} | , {{damage color|{{{resistant2|}}}}}}}{{#if: {{{resistant3|}}} | , {{damage color|{{{resistant3|}}}}}}}{{#if: {{{resistant4|}}} | ,{{damage color|{{{resistant4|}}}}}}}{{#if: {{{resistant5|}}} | , {{damage color|{{{resistant5|}}}}}}}{{#if: {{{resistant6|}}} | ,{{damage color|{{{resistant6|}}}}}}}{{#if: {{{resistant7|}}} | , {{damage color|{{{resistant7|}}}}}}}{{#if: {{{resistant8|}}} | ,{{damage color|{{{resistant8|}}}}}}}{{#if: {{{resistant9|}}} | , {{damage color|{{{resistant9|}}}}}}}{{#if: {{{resistant10|}}} | ,{{damage color|{{{resistant19|}}}}}}} | ||
| | | label16 = Vulnerable | ||
| | | data16 = {{#if: {{{vulnerable1|}}} | {{damage color|{{{vulnerable1|}}}}}}}{{#if: {{{vulnerable2|}}} | , {{damage color|{{{vulnerable2|}}}}}}}{{#if: {{{vulnerable3|}}} | , {{damage color|{{{vulnerable3|}}}}}}}{{#if: {{{vulnerable4|}}} | , {{damage color|{{{vulnerable4|}}}}}}}{{#if: {{{vulnerable5|}}} | , {{damage color|{{{vulnerable5|}}}}}}}{{#if: {{{vulnerable6|}}} | , {{damage color|{{{vulnerable6|}}}}}}}{{#if: {{{vulnerable7|}}} | , {{damage color|{{{vulnerable7|}}}}}}}{{#if: {{{vulnerable8|}}} | , {{damage color|{{{vulnerable8|}}}}}}}{{#if: {{{vulnerable9|}}} | , {{damage color|{{{vulnerable9|}}}}}}}{{#if: {{{vulnerable19|}}} | , {{damage color|{{{vulnerable10|}}}}}}} | ||
| header20 = {{#if: {{{condition1_name|}}} | Conditions}} | | header20 = {{#if: {{{condition1_name|}}} | Conditions}} |