Template:Infobox statistics/doc: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 761: Line 761:


[[Category:Outdated_Templates]]
[[Category:Outdated_Templates]]
[[Category:Templates]]
[[Category:Infobox templates]]

Revision as of 20:52, 21 June 2024

This Template page is licensed under CC BY-SA 4.0.

Adds an infobox with statistics, either for use standalone in a dedicated gameplay section or for combination with {{infobox character}}.

{{Infobox statistics
| subbox =
| child =
| bodyclass= 
| class1 = 
| 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 =

| hiddenlevel =
}}

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:

{{Infobox character
| name =
| image = 
| background =
| class = 
| module = {{Infobox statistics
| child = yes
| armour_class = 
| hit_points = 
| str = 
| dex =
| con = 
| int = 
| wis = 
| cha =
}}}}

Template data

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
childchild

Yes if intended to be used as within another infobox template. Empty otherwise. Preffered over subbox.

Example
{{Infobox character

| name = | image = | background = | class = | module = {{Infobox statistics | child = yes | armour_class = | hit_points = | str = | dex = | con = | int = | wis = | cha =

}}
Templatesuggested
subboxsubbox

Yes if intended to be used as within another infobox template. Empty otherwise.

Booleanoptional
bodyclassbodyclass

Custom CSS class for infobox.

Stringoptional
bodystylebodystyle

Add a custom CSS style for entire infobox.

Stringoptional
datastyledatastyle

Custom css style for data only.

Stringoptional
imageimage

A file with filename.

Example
Eagle.png
Filesuggested
Strength ability scorestr

no description

Suggested values
10
Example
10
Numbersuggested
Dexterity ability score dex

no description

Suggested values
10
Example
10
Numbersuggested
Constitution ability scorecon

no description

Example
10
Numbersuggested
Intelligence ability scoreint

no description

Numbersuggested
Wisdom ability scorewis

no description

Example
10
Numbersuggested
Charisma ability scorecha

no description

Example
10
Numbersuggested
str_save_proficiencystr_save_proficiency

Leave empty if none. Add any value if yes

Booleanoptional
Proficiency bonusproficiency_bonus

Optional, not required.

Unknownoptional
dex_save_proficiencydex_save_proficiency

Leave empty if none. Add any value if yes

Unknownoptional
con_save_proficiencycon_save_proficiency

Leave empty if none. Add any value if yes

Unknownoptional
int_save_proficiencyint_save_proficiency

Leave empty if none. Add any value if yes

Unknownoptional
wis_save_proficiencywis_save_proficiency

Leave empty if none. Add any value if yes

Unknownoptional
cha_save_proficiencycha_save_proficiency

Leave empty if none. Add any value if yes

Unknownoptional
Levellevel

Character level, expressed as a number.

Suggested values
8
Numbersuggested
namename

Creature or character name.

Stringsuggested
Sizesize

The creature's size.

Example
Medium
Stringsuggested
Creature typetype

no description

Example
Humanoid
Stringsuggested
classclass

The character's class.

Example
[[Knowledge Domain]] [[Cleric]]
Contentoptional
racerace

no description

Example
Half-elf
Contentoptional
imagesizeimagesize

Image size. Recommended values at 100px to 200px

Unknownoptional
armour_classarmour_class

no description

Unknownoptional
Hit points (Tactician mode)hit_points_tactician

no description

Example
70
Numberoptional
Hit points (Honour mode)hit_points_honour

no description

Example
85
Numberoptional
Hit pointshit_points

no description

Numbersuggested
Movement speed (meters)movement_speed_meters

5

Numbersuggested
Movement speed (feet)movement_speed_feet

no description

Example
30
Numbersuggested
Weight (kg)weight_kg

no description

Example
50
Unknownsuggested
Weight (lb)weight_lb

no description

Example
100
Unknownoptional
initiativeinitiative

Not necessary to specify. Can be used to overwrite the autocalculated initiative with a custom value.

Numberoptional
immune1immune1

A damage type that the creature is immune to.

Example
Fire
Stringoptional
immune2immune2

no description

Unknownoptional
immune3immune3

no description

Unknownoptional
immune4immune4

no description

Unknownoptional
immune5immune5

no description

Unknownoptional
immune6immune6

no description

Unknownoptional
immune7immune7

no description

Unknownoptional
immune8immune8

no description

Unknownoptional
immune9immune9

no description

Unknownoptional
immune10immune10

no description

Unknownoptional
resistant1resistant1

A damage type that the creature is resistant to.

Example
Fire
Stringoptional
resistant2resistant2

no description

Unknownoptional
resistant3resistant3

no description

Unknownoptional
resistant4resistant4

no description

Unknownoptional
resistant5resistant5

no description

Unknownoptional
resistant6resistant6

no description

Unknownoptional
resistant7resistant7

no description

Unknownoptional
resistant8resistant8

no description

Unknownoptional
resistant9resistant9

no description

Unknownoptional
resistant10resistant10

no description

Unknownoptional
resistant19resistant19

no description

Unknownoptional
vulnerable1vulnerable1

A damage type that the creature is vulnerable to.

Example
Fire
Stringoptional
vulnerable2vulnerable2

no description

Unknownoptional
vulnerable3vulnerable3

no description

Unknownoptional
vulnerable4vulnerable4

no description

Unknownoptional
vulnerable5vulnerable5

no description

Unknownoptional
vulnerable6vulnerable6

no description

Unknownoptional
vulnerable7vulnerable7

no description

Unknownoptional
vulnerable8vulnerable8

no description

Unknownoptional
vulnerable9vulnerable9

no description

Unknownoptional
vulnerable19vulnerable19

no description

Unknownoptional
vulnerable10vulnerable10

no description

Unknownoptional
condition1_modecondition1_mode

The mode this condition is applied. Can be Honour or Tactician.

Example
Honour
Unknownoptional
condition1_namecondition1_name

The name of the condition.

Stringoptional
condition1_descriptioncondition1_description

Enter a short and concice description of the condition.

Example
Takes 1d4 damage per turn for 2 turns.
Unknownoptional
condition2_modecondition2_mode

no description

Unknownoptional
condition2_namecondition2_name

no description

Unknownoptional
condition2_descriptioncondition2_description

no description

Unknownoptional
condition3_modecondition3_mode

no description

Unknownoptional
condition3_namecondition3_name

no description

Unknownoptional
condition3_descriptioncondition3_description

no description

Unknownoptional
condition4_modecondition4_mode

no description

Unknownoptional
condition4_namecondition4_name

no description

Unknownoptional
condition4_descriptioncondition4_description

no description

Unknownoptional
condition5_modecondition5_mode

no description

Unknownoptional
condition5_namecondition5_name

no description

Unknownoptional
condition5_descriptioncondition5_description

no description

Unknownoptional
feature1_namefeature1_name

no description

Unknownoptional
feature1_modefeature1_mode

no description

Unknownoptional
feature1_itemfeature1_item

no description

Unknownoptional
feature1_descriptionfeature1_description

no description

Unknownoptional
feature2_namefeature2_name

no description

Unknownoptional
feature2_modefeature2_mode

no description

Unknownoptional
feature2_itemfeature2_item

no description

Unknownoptional
feature2_descriptionfeature2_description

no description

Unknownoptional
feature3_namefeature3_name

no description

Unknownoptional
feature3_modefeature3_mode

no description

Unknownoptional
feature3_itemfeature3_item

no description

Unknownoptional
feature3_descriptionfeature3_description

no description

Unknownoptional
feature4_namefeature4_name

no description

Unknownoptional
feature4_modefeature4_mode

no description

Unknownoptional
feature4_itemfeature4_item

no description

Unknownoptional
feature4_descriptionfeature4_description

no description

Unknownoptional
feature5_namefeature5_name

no description

Unknownoptional
feature5_modefeature5_mode

no description

Unknownoptional
feature5_itemfeature5_item

no description

Unknownoptional
feature5_descriptionfeature5_description

no description

Unknownoptional
condition6_namecondition6_name

no description

Unknownoptional
condition6_modecondition6_mode

no description

Unknownoptional
condition6_descriptioncondition6_description

no description

Unknownoptional
condition7_namecondition7_name

no description

Unknownoptional
condition7_modecondition7_mode

no description

Unknownoptional
condition7_descriptioncondition7_description

no description

Unknownoptional
condition8_namecondition8_name

no description

Unknownoptional
condition8_modecondition8_mode

no description

Unknownoptional
condition8_descriptioncondition8_description

no description

Unknownoptional
condition9_namecondition9_name

no description

Unknownoptional
condition9_modecondition9_mode

no description

Unknownoptional
condition9_descriptioncondition9_description

no description

Unknownoptional
condition10_namecondition10_name

no description

Unknownoptional
condition10_modecondition10_mode

no description

Unknownoptional
condition10_descriptioncondition10_description

no description

Unknownoptional
feature6_namefeature6_name

no description

Unknownoptional
feature6_modefeature6_mode

no description

Unknownoptional
feature6_itemfeature6_item

no description

Unknownoptional
feature6_descriptionfeature6_description

no description

Unknownoptional
feature7_namefeature7_name

no description

Unknownoptional
feature7_modefeature7_mode

no description

Unknownoptional
feature7_itemfeature7_item

no description

Unknownoptional
feature7_descriptionfeature7_description

no description

Unknownoptional
feature8_namefeature8_name

no description

Unknownoptional
feature8_modefeature8_mode

no description

Unknownoptional
feature8_itemfeature8_item

no description

Unknownoptional
feature8_descriptionfeature8_description

no description

Unknownoptional
feature9_namefeature9_name

no description

Unknownoptional
feature9_modefeature9_mode

no description

Unknownoptional
feature9_itemfeature9_item

no description

Unknownoptional
feature9_descriptionfeature9_description

no description

Unknownoptional
feature10_namefeature10_name

no description

Unknownoptional
feature10_modefeature10_mode

no description

Unknownoptional
feature10_itemfeature10_item

no description

Unknownoptional
feature10_descriptionfeature10_description

no description

Unknownoptional
action1_modeaction1_mode

no description

Unknownoptional
Action nameaction1_name

no description

Unknownsuggested
action1action1

no description

Unknownoptional
action2_nameaction2_name

no description

Unknownoptional
action2_modeaction2_mode

no description

Unknownoptional
action2action2

no description

Unknownoptional
action3_nameaction3_name

no description

Unknownoptional
action3_modeaction3_mode

no description

Unknownoptional
action3action3

no description

Unknownoptional
action4_nameaction4_name

no description

Unknownoptional
action4_modeaction4_mode

no description

Unknownoptional
action4action4

no description

Unknownoptional
action5_nameaction5_name

no description

Unknownoptional
action5_modeaction5_mode

no description

Unknownoptional
action5action5

no description

Unknownoptional
action6_nameaction6_name

no description

Unknownoptional
action6_modeaction6_mode

no description

Unknownoptional
action6action6

no description

Unknownoptional
action7_nameaction7_name

no description

Unknownoptional
action7_modeaction7_mode

no description

Unknownoptional
action7action7

no description

Unknownoptional
action8_nameaction8_name

no description

Unknownoptional
action8_modeaction8_mode

no description

Unknownoptional
action8action8

no description

Unknownoptional
action9_nameaction9_name

no description

Unknownoptional
action9_modeaction9_mode

no description

Unknownoptional
action9action9

no description

Unknownoptional
action10_nameaction10_name

no description

Unknownoptional
action10_modeaction10_mode

no description

Unknownoptional
action10action10

no description

Unknownoptional
modulesmodules

no description

Unknownoptional
hiddenlevelhiddenlevel

Can be added in place of level if the level should only be added for calculations, and not be displayed in the infobox itself. Useful when the infobox is added as a module.

Numberoptional
modemode

no description

Unknownoptional
feature1_labelfeature1_label

no description

Unknownoptional
feature2_labelfeature2_label

no description

Unknownoptional
feature3_labelfeature3_label

no description

Unknownoptional
feature4_labelfeature4_label

no description

Unknownoptional
feature5_labelfeature5_label

no description

Unknownoptional
feature6_labelfeature6_label

no description

Unknownoptional
feature7_labelfeature7_label

no description

Unknownoptional
feature8_labelfeature8_label

no description

Unknownoptional
feature9_labelfeature9_label

no description

Unknownoptional
feature10_labelfeature10_label

no description

Unknownoptional
action1_effectaction1_effect

no description

Unknownoptional
action1_classaction1_class

no description

Unknownoptional
action2_effectaction2_effect

no description

Unknownoptional
action2_classaction2_class

no description

Unknownoptional
action3_effectaction3_effect

no description

Unknownoptional
action3_classaction3_class

no description

Unknownoptional
action4_effectaction4_effect

no description

Unknownoptional
action4_classaction4_class

no description

Unknownoptional
action5_effectaction5_effect

no description

Unknownoptional
action5_classaction5_class

no description

Unknownoptional
action6_classaction6_class

no description

Unknownoptional
action7_classaction7_class

no description

Unknownoptional
action8_classaction8_class

no description

Unknownoptional
action9_classaction9_class

no description

Unknownoptional
action10_classaction10_class

no description

Unknownoptional