Difference between revisions of "Template:CreatureBox"
From Legends of Hyrule
Jump to navigationJump to search (removed auto-categorization for ability scores and saving throws) |
(changing type category from "ifeq" to "switch:) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[Category:Creatures]] [[Category: Challenge {{{challenge|}}} creatures]] [[Category:{{{size|}}}-sized creatures]] {{# | + | <includeonly>[[Category:Creatures]] [[Category: Challenge {{{challenge|}}} creatures]] [[Category:{{{size|}}}-sized creatures]] {{#switch: {{{type}}}|fairy = [[Category:Fairies]]|monstrosity = [[Category:Monstrosities]]|undead = [[Category:Undead]]|[[Category:{{{type|}}}s]]}} {{#if:{{{subtype|}}}|[[Category:{{{subtype|}}}]]}} {{#ifeq:{{{alignment|}}}|unaligned|[[Category:Creatures that are unaligned]]|{{#ifeq:{{{alignment|}}}|any|[[Category:Creatures that can be any alignment]]|{{#ifeq:{{{alignment|}}}|any good|[[Category:Creatures that can be any good alignment]]|{{#ifeq:{{{alignment|}}}|any evil|[[Category:Creatures that can be any evil alignment]]|{{#ifeq:{{{alignment|}}}|any lawful|[[Category:Creatures that can be any lawful alignment]]|{{#ifeq:{{{alignment|}}}|any chaotic|[[Category:Creatures that can be any chaotic alignment]]|[[Category:Creatures of {{align|{{{alignment|}}}}} alignment]]}}}}}}}}}}}} {{#if:{{{burrow|}}}|[[Category:Creatures with a burrow speed]]}} {{#if:{{{climb|}}}|[[Category:Creatures with a climb speed]]}} {{#if:{{{fly|}}}|[[Category:Creatures with a fly speed]]}} {{#if:{{{swim|}}}|[[Category:Creatures with a swim speed]]}} <!--{{#if:{{{acrobatics|}}}|[[Category:Creatures proficient in Acrobatics]]}} {{#if:{{{animalhandling|}}}|[[Category:Creatures proficient in Animal Handling]]}} {{#if:{{{arcana|}}}|[[Category:Creatures proficient in Arcana]]}} {{#if:{{{athletics|}}}|[[Category:Creatures proficient in Athletics]]}} {{#if:{{{deception|}}}|[[Category:Creatures proficient in Deception]]}} {{#if:{{{history|}}}|[[Category:Creatures proficient in History]]}} {{#if:{{{insight|}}}|[[Category:Creatures proficient in Insight]]}} {{#if:{{{intimidation|}}}|[[Category:Creatures proficient in Intimidation]]}} {{#if:{{{investigation|}}}|[[Category:Creatures proficient in Investigation]]}} {{#if:{{{medicine|}}}|[[Category:Creatures proficient in Medicine]]}} {{#if:{{{nature|}}}|[[Category:Creatures proficient in Nature]]}} {{#if:{{{perception|}}}|[[Category:Creatures proficient in Perception]]}} {{#if:{{{performance|}}}|[[Category:Creatures proficient in Performance]]}} {{#if:{{{persuasion|}}}|[[Category:Creatures proficient in Persuasion]]}} {{#if:{{{religion|}}}|[[Category:Creatures proficient in Religion]]}} {{#if:{{{sleightofhand|}}}|[[Category:Creatures proficient in Sleight of Hand]]}} {{#if:{{{survival|}}}|[[Category:Creatures proficient in Survival]]}} |
{{#if:{{{stealth|}}}|[[Category:Creatures proficient in Stealth]]}} {{#if:{{{athletics|}}}{{{acrobatics|}}}{{{sleightofhand|}}}{{{stealth|}}}{{{arcana|}}}{{{history|}}}{{{investigation|}}}{{{nature|}}}{{{religion|}}}{{{animalhandling|}}}{{{insight|}}}{{{medicine|}}}{{{perception|}}}{{{survival|}}}{{{deception|}}}{{{intimidation|}}}{{{performance|}}}{{{persuasion|}}}| |[[Category:Creatures not proficient in any skills]]}} {{#ifeq:1|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:2|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:3|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:4|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:5|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:6|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:7|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:8|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:9|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:10|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:11|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:12|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:13|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:14|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:15|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:16|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:17|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:18|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:19|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:20|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:21|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:22|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:23|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:24|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:25|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:26|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:27|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:28|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:29|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:30|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#if:{{{weak|}}}| |[[Category:Creatures without vulnerabilities]]}} {{#if:{{{resist|}}}| |[[Category:Creatures without resistances]]}} {{#if:{{{immune|}}}| |[[Category:Creatures without condition immunities]]}} {{#if:{{{immunedamage|}}}| |[[Category:Creatures without damage immunities]]}}{{#if:{{{languages|}}}| |[[Category:Creatures without language]]}} | {{#if:{{{stealth|}}}|[[Category:Creatures proficient in Stealth]]}} {{#if:{{{athletics|}}}{{{acrobatics|}}}{{{sleightofhand|}}}{{{stealth|}}}{{{arcana|}}}{{{history|}}}{{{investigation|}}}{{{nature|}}}{{{religion|}}}{{{animalhandling|}}}{{{insight|}}}{{{medicine|}}}{{{perception|}}}{{{survival|}}}{{{deception|}}}{{{intimidation|}}}{{{performance|}}}{{{persuasion|}}}| |[[Category:Creatures not proficient in any skills]]}} {{#ifeq:1|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:2|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:3|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:4|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:5|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:6|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:7|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:8|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:9|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with low AC]]}}}} {{#ifeq:10|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:11|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:12|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:13|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:14|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:15|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with average AC]]}}}} {{#ifeq:16|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:17|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:18|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:19|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:20|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with high AC]]}}}} {{#ifeq:21|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:22|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:23|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:24|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:25|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:26|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:27|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:28|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:29|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#ifeq:30|{{abilitymod|{{{dex|}}} + {{{armorbonus|}}}|[[Category:Creatures with extreme AC]]}}}} {{#if:{{{weak|}}}| |[[Category:Creatures without vulnerabilities]]}} {{#if:{{{resist|}}}| |[[Category:Creatures without resistances]]}} {{#if:{{{immune|}}}| |[[Category:Creatures without condition immunities]]}} {{#if:{{{immunedamage|}}}| |[[Category:Creatures without damage immunities]]}}{{#if:{{{languages|}}}| |[[Category:Creatures without language]]}} | ||
<div> | <div> |
Revision as of 15:10, 13 May 2020
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. |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. |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. |legendaryactions=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= |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= |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= |legendaryactions= |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}} |