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 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|}}}}} | ||
| | | header2 = {{#if: {{{armour_class|}}} {{{hit_points|}}} {{{initiative}}} | Stats}} | ||
| | | label3 = Size | ||
| | | label3 = {{#if: {{{child|}}} {{{subbox|}}} | {{{size|}}} }} | ||
| label5 = {{IconText | w = 24 | h = 24 | HP Icon.png | Hit points }} | | label4 = Type | ||
| | | 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|}}} }} | ||
| | | label7 = {{IconText | w = 24 | h = 24 | Creature Speed Icon.png | Movement speed }} | ||
| | | data7 = {{#if: {{{movement_speed_meters|}}} {{{movement_speed_feet|}}} | {{{movement_speed_meters|}}}{{nbts}}m ({{{movement_speed_feet|}}}{{nbts}}ft)}} | ||
| | | label8 = {{IconText | w = 24 | h = 24 | Weight Icon.png | Weight }} | ||
| | | data8 = {{#if: {{{weight_kg|}}} {{{weight_lb|}}} | {{{weight_kg|}}} kg ({{{weight_lb|}}} lb)}} | ||
| | | label9 = {{IconText | w = 24 | h = 24 | Initiative Icon.png | Initiative }} | ||
| | | data9 = {{#if: {{{initiative}}} | {{{initiative|{{#lvar:dexmod}}}}}}} | ||
| | | header10 = {{#if: {{{str|}}} | Ability scores}} | ||
| | | 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: | ||
}} | }} | ||
| | | label12 = Proficiency bonus | ||
| | | data12 = {{#lvar:proficiencybonus}} | ||
| class | | class 13 = wrap | ||
| | | label13 = Saving throws | ||
| | | 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}}}}}}}} | ||
| | | header14 = {{#if: {{{immune1|}}} {{{resistant1|}}} {{{vulnerable1|}}} | Resistances}} | ||
| | | label15 = Immune | ||
| | | 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|}}}}}}} | ||
| | | label16 = Resistant | ||
| | | 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|}}}}}}} | ||
| | | label17 = Vulnerable | ||
| | | 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}} |