Difference between revisions of "Template:CreatureBox"
From Legends of Hyrule
Jump to navigationJump to searchm |
|||
| Line 20: | Line 20: | ||
{{!}} colspan=6| [[File:Divider.png|440px]] | {{!}} colspan=6| [[File:Divider.png|440px]] | ||
|- | |- | ||
| − | {{# | + | {{#if:{{{strsave|}}}{{{dexsave|}}}{{{consave|}}}{{{intsave|}}}{{{wissave|}}}{{{chasave|}}}| | {{!}} colspan=6{{!}}'''[[Saving throw|<span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">Saving Throws</span>]]''' <span style="color:#{{BoxTextColor}}; font-size:16px; font-family:'scalysans';">{{#if:{{{strsave|}}}|Str {{#ifexpr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{str|10}}}}} > -1 |+|}}{{#ifeq:{{{strsave|}}}|expertise|{{#expr: ({{profmod|{{{challenge|}}}}} * 2) + {{abilitymod|{{{str|10}}}}}}}|{{#expr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{str|10}}}}}}}}}}}{{#if:{{{dexsave|}}}|{{#if:{{{strsave|}}}|, }}Dex {{#ifexpr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{dex|10}}}}} > -1 |+|}}{{#ifeq:{{{dexsave|}}}|expertise|{{#expr: ({{profmod|{{{challenge|}}}}} * 2) + {{abilitymod|{{{dex|10}}}}}}}|{{#expr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{dex|10}}}}}}}}}}}{{#if:{{{consave|}}}|{{#if:{{{strsave|}}} {{{dexsave|}}}|, }}Con {{#ifexpr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{con|10}}}}} > -1 |+|}}{{#ifeq:{{{consave|}}}|expertise|{{#expr: ({{profmod|{{{challenge|}}}}} * 2) + {{abilitymod|{{{con|10}}}}}}}|{{#expr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{con|10}}}}}}}}}}}{{#if:{{{intsave|}}}|{{#if:{{{strsave|}}} {{{dexsave|}}} {{{consave|}}}|, }}Int {{#ifexpr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{int|10}}}}} > -1 |+|}}{{#ifeq:{{{intsave|}}}|expertise|{{#expr: ({{profmod|{{{challenge|}}}}} * 2) + {{abilitymod|{{{int|10}}}}}}}|{{#expr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{int|10}}}}}}}}}}}{{#if:{{{wissave|}}}|{{#if:{{{strsave|}}} {{{dexsave|}}} {{{consave|}}} {{{intsave|}}}|, }}Wis {{#ifexpr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{wis|10}}}}} > -1 |+|}}{{#ifeq:{{{wissave|}}}|expertise|{{#expr: ({{profmod|{{{challenge|}}}}} * 2) + {{abilitymod|{{{wis|10}}}}}}}|{{#expr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{wis|10}}}}}}}}}}}{{#if:{{{chasave|}}}|{{#if:{{{strsave|}}} {{{dexsave|}}} {{{consave|}}} {{{intsave|}}} {{{wissave|}}}|, }}Cha {{#ifexpr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{cha|10}}}}} > -1 |+|}}{{#ifeq:{{{chasave|}}}|expertise|{{#expr: ({{profmod|{{{challenge|}}}}} * 2) + {{abilitymod|{{{cha|10}}}}}}}|{{#expr: {{profmod|{{{challenge|}}}}} + {{abilitymod|{{{cha|10}}}}}}}}}}}}}</span> |
|- | |- | ||
{{#if:{{{athletics|}}}{{{acrobatics|}}}{{{sleightofhand|}}}{{{stealth|}}}{{{arcana|}}}{{{history|}}}{{{investigation|}}}{{{nature|}}}{{{religion|}}}{{{animalhandling|}}}{{{insight|}}}{{{medicine|}}}{{{perception|}}}{{{survival|}}}{{{deception|}}}{{{intimidation|}}}{{{performance|}}}{{{persuasion|}}}| | {{#if:{{{athletics|}}}{{{acrobatics|}}}{{{sleightofhand|}}}{{{stealth|}}}{{{arcana|}}}{{{history|}}}{{{investigation|}}}{{{nature|}}}{{{religion|}}}{{{animalhandling|}}}{{{insight|}}}{{{medicine|}}}{{{perception|}}}{{{survival|}}}{{{deception|}}}{{{intimidation|}}}{{{performance|}}}{{{persuasion|}}}| | ||
| Line 96: | Line 96: | ||
|cha= | |cha= | ||
| − | |strsave= Optional | + | |strsave= Optional. |
|dexsave= Optional. | |dexsave= Optional. | ||
|consave= Optional. | |consave= Optional. | ||
| Line 175: | Line 175: | ||
|wis=Wisdom. | |wis=Wisdom. | ||
|cha=Charisma. | |cha=Charisma. | ||
| − | |strsave= | + | |strsave= |
|dexsave= | |dexsave= | ||
|consave= | |consave= | ||
Revision as of 20:23, 13 July 2019
Usage
{{CB
|title=Optional. Use if different than the page title.
|size= Tiny, Small, Medium, Large, Huge, or Gargantuan
|type=aberration, beast, construct, dragon, elemental, fairy, fiend, giant, monstrosity, ooze, plant, or undead
|subtype=elf, demon, goblin, shapechanger, devil, or one of many other possibilities
|alignment= LG, NG, CG, LN, N, CN, LE, NE, CE, U, any
|challenge= Challenge rating of 1/8, 1, 10, etc, as appropriate. XP is filled automatically based on this.
|str= Strength score. The modifier is added automatically.
|dex=
|con=
|int=
|wis=
|cha=
|strsave= Optional.
|dexsave= Optional.
|consave= Optional.
|intsave= Optional.
|wissave= Optional.
|chasave= Optional.
|hdcount= Number of hit dice. E.g., a creature with 4d6 HD would have this be "4". Average HP is calculated in part on this.
|hdsize= Size of hit dice. E.g., a creature with 4d6 HD would have this be "6". Average HP is calculated in part on this. Normally, a creature's HD size depends on its size category: d4 for Tiny, d6 for Small, d8 for Medium, d10 for Large, d12 for Huge, and d20 for Gargantuan.
|hp= Optional. Overrides hdcount and hdsize with whatever plain text you use. Useful for multiclassing creatures.
|prof= Optional. Proficiency bonus. If left blank, it defaults to +2, with an additional +1 at 5 CR and every 4 ranks thereafter (+3 at CR 9, +4 at CR 13, etc).
|ac=Optional. The creature's numerical AC score. If both this and "armorbonus" are left blank, AC defaults to 10 + Dex mod.
|armorbonus= Optionally can be used in place of ac. Any bonus from (natural) armor, excluding dex bonus. The dex bonus is added when AC is calculated.
|armortype= Optional. "natural armor", "leather armor, shield", etc.
|speed= Only enter the number in feet, e.g. "20" or "5".
|swim= Optional. Swimming speed.
|burrow= Optional. Burrowing speed.
|climb= Optional. Climbing speed.
|fly= Optional. Flying speed.
|weak= Optional. Damage vulnerabilities. Damage types include acid, bludgeoning (or blunt), cold, fire (or heat), force, lightning (or electric), necrotic, piercing, poison, psychic, radiant, slashing, and thunder (or sonic). {{CV|Fire}}
|resist= Optional. For resistance to one or more damage types. {{CR|Fire}}
|immunedamage=Optional. For immunity to one or more damage types. {{CI|damage|Fire}}
|immune= Optional. For immunity to certain conditions. Conditions include blinded, charmed, deafened, frightened, frozen, grappled, ignited, incapacitated, invisible, paralyzed, poisoned, restrained, stunned, and unconscious. {{CI|condition|Grappled}}
|senses= Optional. "darkvision 60 ft.", "tremorsense 60 ft.," etc. Common senses include blindsight, darkvision, tremorsense, and truesight, usually in increments of 30 ft.
|perception= Optional. If text is entered, that text is displayed as the creature's perception bonus (e.g., "-2" or "+4"). This line is also used for the creature's passive perception. If left blank, it is assumed the creature is not proficient in perception.
|stealth= Optional. As perception, above.
|acrobatics=
|animalhandling=
|arcana=
|athletics=
|deception=
|history=
|insight=
|intimidation=
|investigation=
|medicine=
|nature=
|perception=
|performance=
|persuasion=
|religion=
|sleightofhand=
|survival=
|languages=Optional. {{CL|Common}}, {{CL|Orc}}, {{CL|Bullywug}}, etc. Particularly powerful and intelligent creatures may simply know "all" languages. A special language is telepathy, which must have a specified range, usually being 60 ft. or 120 ft., as in {{CL|Telepathy|60}}.
|traits=Optional, but almost universal.
|actions=Optional, but almost universal.
|reactions=Optional.
|legendary actions=Optional.
|description=
|gear=Optional.
|hireling=Highest skill check goes here. E.g., "7". Used for creatures that can be hired for non-hazardous work.
|mercenary=Put any text here if applicable. For creatures that can be hired for hazardous work. Calculates based on CR.
|cost=The cost to outright buy and own the creature. Should only be used for unintelligent beasts.
|spells="Yes" or delete line. Adds "see [spellcasting service]."
}}
Blank Template
For ease of use, a blank version of the template is provided below. Only mandatory lines have text in them.
{{CB
|title=
|size=Tiny, Small, Medium, Large, Huge, or Gargantuan
|type=aberration, beast, celestial, construct, dragon, elemental, fey, fiend, giant, monstrosity, ooze, plant, or undead
|subtype=
|alignment= LG, NG, CG, LN, N, CN, LE, NE, CE, U, any, any evil, any good, any chaotic, any lawful
|challenge= Challenge rating of 1/8, 1, 10...
|str=Strength.
|dex=Dexterity.
|con=Constitution.
|int=Intelligence.
|wis=Wisdom.
|cha=Charisma.
|strsave=
|dexsave=
|consave=
|intsave=
|wissave=
|chasave=
|hdcount=Number of hit dice.
|hdsize=Size of hit dice. Normally it is d4 for Tiny, d6 for Small, d8 for Medium, d10 for Large, d12 for Huge, and d20 for Gargantuan.
|hp=
|prof=
|ac=
|armortype=
|speed= Base speed in feet.
|swim=
|burrow=
|climb=
|fly=
|weak=
|resist=
|immunedamage=
|immune=
|senses=
|languages=
|perception=
|stealth=
|acrobatics=
|animalhandling=
|arcana=
|athletics=
|deception=
|history=
|insight=
|intimidation=
|investigation=
|medicine=
|nature=
|perception=
|performance=
|persuasion=
|religion=
|sleightofhand=
|survival=
|anywhere=
|dungeons=
|caves=
|urban=
|plains=
|forests=
|jungles=
|wetlands=
|hills=
|deserts=
|cold=
|volcanic=
|coastlines=
|freshwater=
|saltwater=
|astralrealm=
|darkworld=
|fairyrealm=
|silentrealm=
|twilightrealm=
|traits=
|actions=
|reactions=
|legendary actions=
|description=
|gear=
|hireling=
|mercenary=
|cost=
|spells=
}}
Categorization
When using this template, the page is automatically categorized based on many of the field entries. There are however a few categorizations which must be added manually. These include:
| Category Needed | Template to Use | Example |
|---|---|---|
| Category:Creatures by vulnerability (unless the creature has no vulnerabilities) | Template:Vulnerability | {{CV|Fire}} |
| Category:Creatures by resistance (unless the creature has no resistances) | Template:Resist | {{CR|Fire}} |
| Category:Creatures by immunity (unless the creature has no immunities) | Template:Immunity | {{CI|Fire}} {{CI|Charmed}} |
| Category:Creatures by languages known (unless the creature has no languages) | Template:Language | {{CL|Undercommon}} |