Difference between revisions of "Template:CreatureBox"
From Legends of Hyrule
Jump to navigationJump to searchm |
|||
| Line 75: | Line 75: | ||
|}</span></div> | |}</span></div> | ||
<div> | <div> | ||
| − | <span style="font-size:16px; font-family:'bookinsanity';">{{{description|}}}</span>{{#if:{{{cost|}}}{{{hireling|}}}{{{mercenary|}}}|<br/><span style="font-size:16px; font-family:'bookinsanity';">{{tab}}'''''Cost.''''' {{#if:{{{cost|}}}|A {{lc:{{{title|creature}}}}} costs {{{cost|}}} [[rupee]]s to own indefinitely. }}{{#if:{{{hireling|}}}|If it is friendly, a {{lc:{{{title|creature}}}}} will perform innocuous labor for no less than {{hireling|{{{hireling|}}}}} rupees per day{{#if:{{{mercenary|}}}||. }}}}{{#if:{{{mercenary|}}}|{{#if:{{{hireling|}}}|, but will expect {{#ifexpr:{{{challenge|1}}}<2|20|{{#expr:({{{challenge|}}}^2) * 10}}}} rupees per day for mercenary work.|If it is friendly, a {{lc:{{{title|creature}}}}} will work as a mercenary for {{#ifexpr:{{{challenge|1}}}<2|20|{{#expr:({{{challenge|}}}^2) * 10}}}} rupees per day. |It will not perform hazardous jobs, such as mercenary work. }}}}{{#if:{{{spells|}}}|This creature will freely cast spells if doing so is inherently in its self-interest. For buying spellcasting services, see individual spell pages for cost per spell.}}</span>|}}{{#if:{{{gear|}}}|<br/><span style="font-size:16px; font-family:'bookinsanity';">{{tab}}'''''Gear.''''' {{{gear|}}}</span>|}} | + | {{#if:{{{quote|}}}|{{quote|{{{quote|}}}|{{{quotesource|{{Enclyopedia}}}}}}}<br/>}}<span style="font-size:16px; font-family:'bookinsanity';">{{{description|}}}</span>{{#if:{{{cost|}}}{{{hireling|}}}{{{mercenary|}}}|<br/><span style="font-size:16px; font-family:'bookinsanity';">{{tab}}'''''Cost.''''' {{#if:{{{cost|}}}|A {{lc:{{{title|creature}}}}} costs {{{cost|}}} [[rupee]]s to own indefinitely. }}{{#if:{{{hireling|}}}|If it is friendly, a {{lc:{{{title|creature}}}}} will perform innocuous labor for no less than {{hireling|{{{hireling|}}}}} rupees per day{{#if:{{{mercenary|}}}||. }}}}{{#if:{{{mercenary|}}}|{{#if:{{{hireling|}}}|, but will expect {{#ifexpr:{{{challenge|1}}}<2|20|{{#expr:({{{challenge|}}}^2) * 10}}}} rupees per day for mercenary work.|If it is friendly, a {{lc:{{{title|creature}}}}} will work as a mercenary for {{#ifexpr:{{{challenge|1}}}<2|20|{{#expr:({{{challenge|}}}^2) * 10}}}} rupees per day. |It will not perform hazardous jobs, such as mercenary work. }}}}{{#if:{{{spells|}}}|This creature will freely cast spells if doing so is inherently in its self-interest. For buying spellcasting services, see individual spell pages for cost per spell.}}</span>|}}{{#if:{{{gear|}}}|<br/><span style="font-size:16px; font-family:'bookinsanity';">{{tab}}'''''Gear.''''' {{{gear|}}}</span>|}} |
</div> | </div> | ||
<div style="max-width: {{{imagepx|800}}}px;" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/>[{{{imagelink|}}} <small>Source</small>]}}</div> | <div style="max-width: {{{imagepx|800}}}px;" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/>[{{{imagelink|}}} <small>Source</small>]}}</div> | ||
| Line 88: | Line 88: | ||
|alignment= LG, NG, CG, LN, N, CN, LE, NE, CE, U, any | |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. | |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. | |str= Strength score. The modifier is added automatically. | ||
| Line 164: | Line 171: | ||
<pre>{{CB | <pre>{{CB | ||
|title= | |title= | ||
| + | |image= | ||
| + | |imagelink= | ||
| + | |imagepx= | ||
| + | |quote= | ||
| + | |quotesource= | ||
|size=Tiny, Small, Medium, Large, Huge, or Gargantuan | |size=Tiny, Small, Medium, Large, Huge, or Gargantuan | ||
|type=aberration, beast, celestial, construct, dragon, elemental, fey, fiend, giant, monstrosity, ooze, plant, or undead | |type=aberration, beast, celestial, construct, dragon, elemental, fey, fiend, giant, monstrosity, ooze, plant, or undead | ||
Revision as of 16:29, 28 January 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.
|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=
|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=
|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}} |