Difference between revisions of "Template:CreatureBox"

From Legends of Hyrule
Jump to navigationJump to search
(adding swarm support)
(location categories)
Line 89: Line 89:
 
</div>
 
</div>
 
{{#if:{{{anywhere|}}}|[[Category:Creatures found almost anywhere]]}}{{#if:{{{caves|}}}|[[Category:Creatures found in caves]]}}{{#if:{{{coastlines|}}}|[[Category:Creatures found on coastlines]]}}{{#if:{{{deserts|}}}|[[Category:Creatures found in deserts]]}}
 
{{#if:{{{anywhere|}}}|[[Category:Creatures found almost anywhere]]}}{{#if:{{{caves|}}}|[[Category:Creatures found in caves]]}}{{#if:{{{coastlines|}}}|[[Category:Creatures found on coastlines]]}}{{#if:{{{deserts|}}}|[[Category:Creatures found in deserts]]}}
{{#if:{{{dungeons|}}}|[[Category:Creatures found in dungeons]]}}{{#if:{{{forests|}}}|[[Category:Creatures found in forests]]}}{{#if:{{{freshwater|}}}|[[Category:Creatures found in freshwater]]}}{{#if:{{{plains|}}}|[[Category:Creatures found in grasslands or plains]]|{{#if:{{{grasslands|}}}|[[Category:Creatures found in grasslands or plains]]}}}}{{#if:{{{jungles|}}}|[[Category:Creatures found in jungles]]}}{{#if:{{{hills|}}}|[[Category:Creatures found in mountains or hills]]|{{#if:{{{mountains|}}}|[[Category:Creatures found in mountains or hills]]}}}}{{#if:{{{polar|}}}|[[Category:Creatures found in cold regions]]|{{#if:{{{cold|}}}|[[Category:Creatures found in cold regions]]}}||}}{{#if:{{{urban|}}}|[[Category:Creatures found in urban areas]]}}{{#if:{{{volcanic|}}}|[[Category:Creatures found in volcanically active areas]]|{{#if:{{{subrosia|}}}|[[Category:Creatures found in volcanically active areas]]}}}}{{#if:{{{saltwater|}}}|[[Category:Creatures found in saltwater]]}}{{#if:{{{swamps|}}}|[[Category:Creatures found in wetlands]]|{{#if:{{{wetlands|}}}|[[Category:Creatures found in wetlands]]}}}}{{#if:{{{astralrealm|}}}|[[Category:Creatures found in the Astral Realm]]}}{{#if:{{{darkworld|}}}|[[Category:Creatures found in the Dark World]]}}{{#if:{{{fairyrealm|}}}|[[Category:Creatures found in the Fairy Realm]]}}{{#if:{{{silentrealm|}}}|[[Category:Creatures found in the Silent Realm]]}}{{#if:{{{twilightrealm|}}}|[[Category:Creatures found in the Twilight Realm]]}}</includeonly><noinclude>==Usage==
+
{{#if:{{{dungeons|}}}|[[Category:Creatures found in dungeons]]}}{{#if:{{{forests|}}}{{{jungles|}}}|[[Category:Creatures found in forests or jungles]]}}{{#if:{{{freshwater|}}}|[[Category:Creatures found in freshwater]]}}{{#if:{{{plains|}}}{{{grasslands|}}}|[[Category:Creatures found in grasslands or plains]]}}{{#if:{{{hills|}}}{{{mountains|}}}|[[Category:Creatures found in mountains or hills]]}}{{#if:{{{polar|}}}{{{arctic|}}}{{{cold|}}}|[[Category:Creatures found in cold regions]]}}{{#if:{{{urban|}}}|[[Category:Creatures found in urban areas]]}}{{#if:{{{volcanic|}}}{{{subrosia|}}}|[[Category:Creatures found in volcanically active areas]]}}{{#if:{{{saltwater|}}}|[[Category:Creatures found in saltwater]]}}{{#if:{{{swamps|}}}{{{wetlands|}}}|[[Category:Creatures found in wetlands]]}}{{#if:{{{astralrealm|}}}|[[Category:Creatures found in the Astral Realm]]}}{{#if:{{{darkworld|}}}|[[Category:Creatures found in the Dark World]]}}{{#if:{{{fairyrealm|}}}|[[Category:Creatures found in the Fairy Realm]]}}{{#if:{{{silentrealm|}}}|[[Category:Creatures found in the Silent Realm]]}}{{#if:{{{twilightrealm|}}}|[[Category:Creatures found in the Twilight Realm]]}}</includeonly><noinclude>==Usage==
 
<pre>{{CB
 
<pre>{{CB
 
|group=minor, standard, legendary, epic, or special
 
|group=minor, standard, legendary, epic, or special
Line 244: Line 244:
 
|plains=
 
|plains=
 
|forests=
 
|forests=
|jungles=
 
 
|wetlands=
 
|wetlands=
 
|hills=
 
|hills=

Revision as of 17:34, 22 December 2020

Usage

{{CB
|group=minor, standard, legendary, epic, or special
|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 0.25, 1, 10, etc, as appropriate, preferring decimal notation over fractions.  XP is filled automatically based on this.  If "treasure" is left blank, that should be filled automatically based on this too.

|image=Image url.
|imagelink=Image source.  Usually Zelda Wiki.
|imagepx= Image width in pixels.  Leave blank to auto-scale.

|quote=Insert quoted text here.
|quotesource=Source of quote.  If left blank, defaults to {{Encyclopedia}}.

|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.

|hd= Number of hit dice.  E.g., a creature with 4d6 HD would have this be "4".  Average HP is calculated in part on this.
|hp= Optional.  Overrides hd 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. 
|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.
|legendaryactions=Optional.
|description=
|treasure=
|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
|group=
|title=
|image=
|imagelink=
|imagepx=
|quote=
|quotesource=
|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=
|hd=
|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=
|wetlands=
|hills=
|deserts=
|cold=
|volcanic=

|coastlines=
|freshwater=
|saltwater=

|astralrealm=
|darkworld=
|fairyrealm=
|silentrealm=
|twilightrealm=

|traits=
|actions=
|reactions=
|legendaryactions=
|description=
|treasure=
|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}}