Template:Infobox statistics/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 49: Line 49:
}}
}}
Adds an infobox with statistics, either for use standalone in a dedicated gameplay section or for combination with {{tlink|infobox character}}.  
Adds an infobox with statistics, either for use standalone in a dedicated gameplay section or for combination with {{tlink|infobox character}}.  
<pre>
{{Infobox statistics
| subbox =
| child =
| name =
| size =
| type =
| race =
| image =
| imagesize =
| armour_class =
| hit_points =
| hit_points_tactician =
| movement_speed_meters =
| movement_speed_feet =
| weight_kg =
| weight_lb =
| str =
| dex =
| con =
| int =
| wis =
| cha =
| proficiency_bonus =
| str_save_proficiency =
| dex_save_proficiency =
| con_save_proficiency =
| int_save_proficiency =
| wis_save_proficiency =
| cha_save_proficiency =
| immune1 =
| immune2 =
| resistant1 =
| resistant2 =
| vulnerable1 =
| vulnerable2 =
| condition1_name =
| condition1_description =
| condition1_mode =
| condition2_name =
| condition2_description =
| condition2_mode =
| feature1_name =
| feature1_description =
| feature2_name =
| feature2_description =
| feature2_mode =
| action1_name = 
| action1 =
| feature1_mode =
| action2_name = 
| action2 =
| feature2_mode =
}}
</pre>
To add it to infobox character, specify that it is either a subbox or a child box (preferred), and add it under the module parameter:
<pre>
{{Infobox character
| name =
| image =
| background =
| class =
| module = {{Infobox statistics
| child = yes
| armour_class =
| hit_points =
| str =
| dex =
| con =
| int =
| wis =
| cha =
}}}}
</pre>
== Template data==
== Template data==
<templatedata>
<templatedata>