Template:Infobox statistics: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
| above = {{{name|}}}
| above = {{{name|}}}


| subheader1 = {{#if:{{{size|}}} {{{type|}}} | ''{{{size|}}} {{{type|}}}'' }}
| subheader1 = {{#if: {{{child|}}} {{{subbox|}}} | | {{#if:{{{size|}}} {{{type|}}} | ''{{{size|}}} {{{type|}}}'' }}}}
| subheader2 = {{#if:{{{level|}}} | Level {{{level|1}}} }} {{#if: {{{class|}}} | {{{class|}}}}} {{#if: {{{race|}}} | {{{race|}}} }}
| subheader2 = {{#if:{{{level|}}} | Level {{{level|1}}} }} {{#if: {{{class|}}} | {{{class|}}}}} {{#if: {{{race|}}} | {{{race|}}} }}


Line 14: Line 14:
| header1 = {{#if: {{{mode|}}} | {{{mode|}}}}}
| header1 = {{#if: {{{mode|}}} | {{{mode|}}}}}


| header3 = {{#if: {{{armour_class|}}} {{{hit_points|}}} {{{initiative}}} | Stats}}
| header2 = {{#if: {{{armour_class|}}} {{{hit_points|}}} {{{initiative}}} | Stats}}


| label4 = {{IconText | w = 24 | h = 24 | Creature AC Icon.png | Armour Class }}
| label3 = Size
| data4 = {{{armour_class|}}}
| label3 = {{#if: {{{child|}}} {{{subbox|}}} | {{{size|}}} }}


| label5 = {{IconText | w = 24 | h = 24 | HP Icon.png | Hit points }}
| label4 = Type
| data5 = {{#if: {{{hit_points_tactician|}}} {{{hit_points_honour|}}} | {{ublist|
| label4 = {{#if: {{{child|}}} {{{subbox|}}} | {{{type|}}} }}
 
| label5 = {{IconText | w = 24 | h = 24 | Creature AC Icon.png | Armour Class }}
| data5 = {{{armour_class|}}}
 
| label6 = {{IconText | w = 24 | h = 24 | HP Icon.png | Hit points }}
| data6 = {{#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 }}
| label7 = {{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)}}
| data7 = {{#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 }}
| label8 = {{IconText | w = 24 | h = 24 | Weight Icon.png | Weight }}
| data7 =  {{#if: {{{weight_kg|}}} {{{weight_lb|}}} | {{{weight_kg|}}} kg ({{{weight_lb|}}} lb)}}
| data8 =  {{#if: {{{weight_kg|}}} {{{weight_lb|}}} | {{{weight_kg|}}} kg ({{{weight_lb|}}} lb)}}


| label8 = {{IconText | w = 24 | h = 24 | Initiative Icon.png | Initiative }}
| label9 = {{IconText | w = 24 | h = 24 | Initiative Icon.png | Initiative }}
| data8 = {{#if: {{{initiative}}} | {{{initiative|{{#lvar:dexmod}}}}}}}
| data9 = {{#if: {{{initiative}}} | {{{initiative|{{#lvar:dexmod}}}}}}}


| header9 = {{#if: {{{str|}}} | Ability scores}}
| header10 = {{#if: {{{str|}}} | Ability scores}}


| data10 = {{sheet |subbox=yes
| data11 = {{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 59: Line 65:
}}
}}


| label11 = Proficiency bonus
| label12 = Proficiency bonus
| data11 =  {{#lvar:proficiencybonus}}
| data12 =  {{#lvar:proficiencybonus}}


| class 12 = wrap
| class 13 = wrap
| label12 = Saving throws
| label13 = Saving throws
| data12 = {{hlist|
| data13 = {{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 73: Line 79:
* 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}}
| header14 = {{#if: {{{immune1|}}} {{{resistant1|}}} {{{vulnerable1|}}} | Resistances}}


| label14 = Immune
| label15 = 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|}}}}}}}
| data15 = {{#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
| label16 = 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|}}}}}}}
| data16 = {{#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
| label17 = 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|}}}}}}}
| data17 = {{#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}}
8,856
edits

Navigation menu