Template:Action page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(move docs over to templatedata)
(video support)
Line 197: Line 197:
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
{{{notes}}}
</div>| {{blank}}}}}}
</div>| {{blank}}}}}}{{#if: {{{video|}}} |
 
<h2> Visuals </h2>
 
[[File:{{{video}}}]]
 
}}
<!-- CATEGORIES -->{{#ifeq: {{{this is an example|}}} ||
<!-- CATEGORIES -->{{#ifeq: {{{this is an example|}}} ||
{{#if: {{{level|}}} | [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }}    {{#if: {{{school|}}} | [[Category:{{{school}}} Spells]]}} {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}}
{{#if: {{{level|}}} | [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }}    {{#if: {{{school|}}} | [[Category:{{{school}}} Spells]]}} {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}}

Revision as of 17:41, 6 September 2023

This is a page to transclude to generate action pages. It is generally for pages that do not fit the {{SpellPage}} Template

Usage

{{User:MetalPlateMage/ActionTemplate
| this is an example = 
| summary =
| description =
| image =
| level =
| cost =
| concentration =
| damage =
| damage2 =
| recharge =
| duration =
| save =
| attack roll = 
| ritual =
| range =
| range m = 
| range ft = 
| aoe =
| aoe m =
| aoe ft =
| condition =
| condition duration = 
| condition save = 
| additional = 
| higherlevels =
| X learns at level X =
| notes =
}}
Bg3 content hr.png

This is a page to transclude to generate action pages. It is generally for pages that do not fit Template:SpellPage

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
If this is an examplethis is an example

If this is an example and you don't want the page to be categorized and related.

Example
yes
Stringoptional
Action description summarysummary

The summary of the action. This will be used as the wiki's description as well as the SEO text.

Example
This spell allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.
Contentrequired
Action descriptiondescription

The in-game description of the action. This description is NOT for SEO 'See: summary'.

Example
Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.
Stringrequired
Action image/iconimage

The image that will be used in the page's SEO and be the page's main image.<br/>IF THIS IS LEFT EMPTY, [[File:NoImage Icon.webp|x40px]] WILL BE USED INSTEAD!

Example
Fireball Icon.png
Stringsuggested
Spell levellevel

Spell level if a spell. This overrides the resource portion of the cost parameter. Use "cantrip" to indicate a 0th level or cantrip spell.

Suggested values
cantrip 1 2 3 4 5 6
Example
2
Stringoptional
Spell schoolschool

The school of magic that the spell belongs to.

Suggested values
Abjuration Conjuration Divination Enchantment Evocation Illusion Necromancy Transmutation
Example
Evocation
Stringoptional
costcost

The resource cost of the action. Format is {Resource}:{Amount}, {"action" if action etc.}. Resource types:

  • Arcane Recovery: barins
  • Channel Divinity: chadiv
  • Channel Oath: chaoat
  • Ki: ki
  • Lay On Hands: layonh
  • Natural Recovery: natrec
  • Rage: rage
  • Superiority Die: supdie
  • War Priest: warpri
  • Wild Shape: wldshp

    Suggested values
    ki:1, action supdie:1, bonus reaction
    Example
    action
Stringsuggested
damagedamage

The damage of the action.

  • amount: amount in number or die like 1d8
  • amounttext: if your amount is text instead of a number or die you need to do this instead
  • type: damage type, i.e. Healing

    Example
    amount:3d6, type:Acid
  • Stringoptional
    damage2damage2

    The secondary damage of the action. Will be output as damage + damage2. Same params as damage.

    Example
    amount:6d20, type:Radiant
    Stringoptional
    rechargerecharge

    Action recharge time, if applicable

    Example
    Long Rest
    Stringoptional
    durationduration

    Duration in turns of the action. Generally you will use condition duration instead.

    Example
    10
    Stringoptional
    ritualritual

    Indicates whether the spell is a ritual spell or not. Leave blank if not a ritual spell.

    Example
    yes
    Stringoptional
    attack rollattack roll

    Whether the spell creates an attack roll or not. Leave blank if no attack roll is made.

    Suggested values
    Yes
    Default
    No
    Example
    Yes
    Stringoptional
    savesave

    The save (if any) that a target must roll against the damage effect of the action, with the result after the comma.

    Suggested values
    Strength, half damage Dexterity, negated Constitution Intelligence Wisdom Charisma
    Example
    Dexterity
    Stringoptional
    concentrationconcentration

    If this skill is a concentration, type something here. Can be any value you want. Otherwise, leave it blank or delete the field entirely.

    Suggested values
    Yes No
    Default
    No
    Example
    Yes
    Stringoptional
    rangerange

    The range of the action.

    Suggested values
    ranged melee self
    Example
    ranged
    Stringoptional
    range mrange m

    Use this parameter if the spell's range does not fit into one of the presets, "melee", "ranged", or "self". Indicates the range in meters.

    Example
    5
    Numberoptional
    range ftrange ft

    Use this parameter if the spell's range does not fit into one of the presets, "melee", "ranged", or "self". Indicates the range in feet.

    Example
    35
    Numberoptional
    aoeaoe

    Indicates if the action affects an area, and what type of shape its effect is.

    Suggested values
    radius cone cube line
    Example
    cone
    Stringoptional
    aoe maoe m

    This indicates the range of the spell's aoe shape, in meters.

    Example
    5
    Numberoptional
    aoe ftaoe ft

    This indicates the range of the spell's aoe shape, in feet.

    Example
    15
    Numberoptional
    additionaladditional

    Any additional properties about the skill that are not covered by template go here, which goes under damage in properties

    Example
    Contentoptional
    conditioncondition

    The full name of the condition (if any) that this action applies to its target/s. Leave blank if there is no condition.

    Example
    Hastened
    Stringoptional
    condition durationcondition duration

    The duration in turns of the action's applied condition. Leave blank if the duration is unlimited.

    Example
    5
    Numberoptional
    condition savecondition save

    The save that the action's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

    Suggested values
    Strength Dexterity Constitution Intelligence Wisdom Charisma
    Example
    WIS
    Stringoptional
    higher levelshigher levels

    If the skills changes at higher levels, put info about that here

    Example
    When the spell is cast at 2nd Level or higher, the damage increases 1d6 Fire damage for each spell slot level above 1st.
    Contentoptional
    variantsvariants

    Comma-separated list of variants of the action, like the element types of Chromatic Orb.

    Example
    Chromatic Orb: Fire, Chromatic Orb: Ice, Chromatic Orb: Acid, ...
    Stringoptional
    class learns at level Xclass learns at level X

    This specifies what level the classes get access to this action. Use e.g. "class learns at level 5" with a comma-separated list of classes to specify classes that learn this spell at class level 5. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

    Example
    Sorcerer, Wizard, Fiend, Light Domain
    Stringsuggested
    race learns at level Xrace learns at level X

    This specifies what level the races get access to this action. Use e.g. "race learns at level 5" with a comma-separated list of races to specify which races learn this spell at level 5. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

    Example
    Elf, Seldarine Drow
    Stringsuggested
    notesnotes

    Any extra or related information about the action.

    Contentoptional
    videovideo

    Name of an uploaded video file showcasing the action.

    Fileoptional

    Example

    {{User:MetalPlateMage/ActionTemplate
    | this is an example = yes
    | description = abc
    | image = Fly Icon.png
    | summary = fly you fools
    | cost = ki:2, action
    | damage = amounttext: 1d4+1, type:Bludgeoning
    | damage2 = amount: 1d6, type: Fire
    | recharge = Long Rest
    | range = melee
    | duration = LR
    | save = DEX, abc
    | additional = * abcd
    | condition = Flight
    | condition duration = 1
    | higherlevels = go far
    | notes = * bar
    | class learns at level 3 = Monk
    | race learns at level 5 = Wood Elf
    }}
    Fly Icon.png

    fly you fools

    Description

    abc

    Properties

    Cost:
    Action + 2Ki Points
    Damage:
    1d4+1 Damage TypesBludgeoning +
    D6 Fire.png 1d6 (1~6) Damage TypesFire
    Details:
     Melee: 1.5 m / 5  ft
    Recharge: Long rest
    Duration: LR turns
    DexterityDEX Save (On Save: abc)
    • abcd

    At Higher Levels

    go far

    Condition: Flight

    Flight Flight

    Duration: 1 turn

    • Fly up to target position, up to 18 m / 60 ft each turn using your Movement Speed.

    How to Learn

    Classes:

    • Class Level 3: Monk Monk

    Races:

    (Character Level is the sum of all Class Levels for a multi-classed character.)

    Notes

    • bar