Template:5e Creature/Doc

From D&D Wiki
Jump to navigation Jump to search

When editing the {{5e Creature}} template, be sure to change {{5e Creature NI}} as well.

Documentation

To edit the documentation, edit the page Template:5e Creature/Doc.

{{5e Creature
|size= <!-- Any text here puts page in Category:{{{type}}} Size. If this line is excluded, size defaults to "Medium". -->
|type= <!-- Any text here puts page in Category:{{{type}}} Type.  If this line is excluded, type defaults to "monstrosity". -->
|race= <!-- Any text here puts page in Category:{{{race}}} Tag -->
|shapechanger= <!-- Any text here puts page in Category:Shapechanger Tag -->
|racemanual= <!-- Any text here overwrites the preceding two parameters.  This can be useful for forcing "shapechanger" to appear before "race"; or for omitting the automatic characterization of those parameters. -->
|swarm= <!-- Any text here puts page in Category:Swarm -->
|alignment= <!-- If this line is excluded, alignment defaults to either "any alignment" or "unaligned" based on int  -->
|ac= <!-- If this is left blank or excluded, auto-calculates based on armor and Dexterity modifier -->
|armor= <!-- Accepted values for auto-calculation are "padded", "leather", "studded", "hide", "chain shirt", "scale mail", "spiked", "breastplate", "half plate", "ring mail", "chain mail", "splint", "plate", "mage armor", or nothing. -->
|shield= <!-- Anything written here will add 2 to the auto-calculated AC. -->
|acbonus= <!-- Any additional bonus for the AC from defense fighting style, etc. Used for AC autocalc. -->
|speed= <!-- If this is left blank, it defaults to "30 ft." -->

|cr= <!-- Optionally used to display XP value, add proficiency bonus to saving throws, and add proficiency bonus to skills -->
|xp= <!-- If left blank, {{{xp}}} will default to the appropriate Challenge Rating entered in {{{cr}}}. It is needed to display "10 XP" for a CR 0 creature with combat capabilities, but is otherwise redundant. -->

<!-- The following 6 parameters are for ability scores.  Each should be a whole number between 1 and 30 inclusive.  If any of these lines are excluded, the ability score defaults to 10.  If (strmod/dexmod/conmod/intmod/wismod/chamod) are unused, ability score modifiers are calculated and displayed based on these parameters.  Many other optional parameters are dependent on these 6 parameters. -->
|str=
|dex=
|con=
|int=
|wis=
|cha=

<!-- The following 6 parameters are used for ability score modifiers, but are redundant. If one is left blank, the template automatically calculates the modifier based on the needed parameters (str/dex/con/int/wis/cha). -->
|strmod=
|dexmod=
|conmod=
|intmod=
|wismod=
|chamod=

|hd= <!-- Fill in the creature's number of hit dice.  If this value is filled, the "Hit Points" line will auto-fill with values or hit points and dice as appropriate to the creature.  It relies on needed parameters (size/con). -->

<!-- The following 2 parameters are redundant.  They can be used to calculate hp manually in lieu of using the "hd" parameter. -->
|hp=
|hpdice=

<!-- The following 6 parameters will display saving throw bonuses if they are used.  The bonuses are calculated based on needed parameters (str/dex/con/int/wis/cha/cr).  Only those that filled used will display.  (Delete the line, or just delete "yes", if the creature is not proficient in that saving throw.) -->
|strsave=yes
|dexsave=yes
|consave=yes
|intsave=yes
|wissave=yes
|chasave=yes
|saves= <!-- Instead of the previous 6 parameters, this can be used for entering Saving Throws manually. -->

|di=<!--Damage immunity. Relevant line is omitted if this is deleted or left blank.-->
|ci=<!--Condition immunity. Relevant line is omitted if this is deleted or left blank.-->
|dr=<!--Damage resistance. Relevant line is omitted if left blank.-->
|dv=<!--Damage vulnerability. Relevant line is omitted if left blank.-->

|senses=<!--If deleted or left blank, "passive [[5e SRD:Perception Skill|Perception]] X" will be displayed.  X is the appropriate value based on optional parameters (wis/cr/perception). -->
<!--The following parameters are used for special senses; put the range in feet (but add it as a number only)-->
|blindsight=
|darkvision=
|tremorsense=
|truesight=

|languages=<!--If deleted or left blank, will default to ";&mdash" -->

<!-- The following 18 parameters calculate and display skill proficiencies as appropriate.  
If a parameter is left blank or unused (just delete the entire line), the skill will not display on the page.
If a parameter is filled with "yes", as they all are below, then the skill will be displayed using its appropriate ability modifier and proficiency bonus.  This is based on parameters (str/dex/con/int/wis/cha/cr).
If a parameter is filled with "expertise", it acts as "yes" but doubles the proficiency bonus, as the rogue/bard feature.
If a parameter is filled with text other than "yes" or "expertise", then that text will be listed after the appropriate skill.  For example, entering for stealth "+6 (+16 using pass without trace)" will result in "Stealth +6 (+16 pass without trace)". -->
|acrobatics=yes
|animalhandling=yes
|arcana=yes
|athletics=yes
|deception=yes
|history=yes
|intimidation=yes
|investigation=yes
|insight=yes
|medicine=yes
|nature=yes
|perception=yes
|performance=yes
|persuasion=yes
|religion=yes
|sleightofhand=yes
|stealth=yes
|survival=yes
|skills= <!--Any text here will override the previous 18 parameters. Should usually be unused, but can be used for entering skills manually.  If this parameter and the preceding 18 parameters are left blank, the "Skills" line will not appear on the page. -->

|features=
|actions=<!-- If deleted or left blank, relevant section is omitted -->
|ba=<!-- Bonus actions. If deleted or left blank, relevant section is omitted -->
|reactions=<!-- If deleted or left blank, relevant section is omitted -->
|legendary=<!-- If deleted or left blank, relevant section is omitted -->
|description=


<!-- The following parameters are intended mainly for player-characters. -->
|name= <!-- Usage creates a header based on {{{name}}}, {{{race}}}, and {{{class}}} -->
|class= <!-- Used for a PC with levels in one class.  Can be used for NPCs as well.-->
|classes= <!-- Used for a PC with levels in several classes.  Can be used for NPCs as well.-->
|jump= <!-- If deleted or left blank, relevant line is omitted.  If "yes" is entered for this parameter, running long jump and high jump are calculated and displayed based on the value of {{{str}}}. If anything else is entered, the entered text is displayed instead. -->
|carry= <!-- If deleted or left blank, relevant line is omitted.  If "yes" is entered for this parameter, carrying capacity is calculated and displayed based on the values of {{{str}}} and {{{size}}}. If anything else is entered, the entered text is displayed instead. -->
|tools= <!-- If deleted or left blank, relevant line is omitted -->
|proficiency= <!-- Used to display a proficiency bonus, presumably one not derived from Challenge Rating.  If deleted or left blank, relevant line is omitted. -->


|nocategory= <!--This should NOT be used for normal purposes.  Any text here will cause the template to not categorize the page.  This should be used for documentation purposes, such as on this talk page.-->
}}

Other Useful Templates

Text Produces
- - - - - - - -
{{5e Swarm|Tiny insect}} Swarm. The swarm can occupy another creature's space and vice versa, and the swarm can move through any opening large enough for a Tiny insect. The swarm can't regain hit points or gain temporary hit points.
{{5e Magic Resistance|creature}} Magic Resistance. The creature has advantage on saving throws against spells and other magical effects.
{{5e Creature Trait|creature|???}} One of many other creature features or traits - see Template:5e Creature Trait.