Ad placeholder

Template:Action page: Difference between revisions

Jump to navigation Jump to search
Move documentation out
(Add a "no spell slot" parameter to skip showing spell slot requirement)
(Move documentation out)
Line 308: Line 308:
}}<!-- End if type is not none -->
}}<!-- End if type is not none -->
</includeonly><noinclude>
</includeonly><noinclude>
=Usage=
{{/doc}}
<pre>
{{ActionPage
| this is an example =
| summary =
| description =
| image =
| level =
| school =
| cost =
| concentration =
| damage =
| damage2 =
| recharge =
| duration =
| save =
| attack roll =
| ritual =
| range =
| range m =
| range ft =
| aoe =
| aoe m =
| aoe ft =
| additional =
| higherlevels =
| variants =
| condition =
| condition duration =
| condition save =
| condition2 =
| condition2 duration =
| condition2 save =
| area =
| area category =
| area shape =
| area range m =
| area range ft =
| area duration =
| area turn start damage =
| area turn start damage type =
| area turn start damage save =
| area turn start damage save effect =
| area turn end damage =
| area turn end damage type =
| area turn end damage save =
| area turn end damage save effect =
| area condition =
| area condition save =
| area condition2 =
| area condition2 save =
| area condition3 =
| area condition3 save =
| area condition4 =
| area condition4 save =
| X learns at level X =
| granted by feats =
| granted by items =
| granted by spells =
| used by creatures =
| notes =
| video =
}}
</pre>
 
[[Category:Page Generating Templates]]
{{HorizontalRuleImage}}
 
<templatedata>
{
"params": {
"this is an example": {
"label": "If this is an example",
"description": "If this is an example and you don't want the page to be categorized and related.",
"example": "yes",
"type": "string"
},
"summary": {
"label": "Action summary",
"description": "The summary of the action and its effects. This goes at the top of the article. Use description for the in-game text description.",
"example": "This action allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.",
"type": "content",
"required": true
},
"description": {
"label": "Action description",
"description": "The raw in-game description of the action. Use summary for summarizing the action and its effects.",
"example": "Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.",
"type": "string",
"required": true
},
"image": {
"label": "Action image/icon",
"description": "The page's main image. [[File:NoImage Icon.webp|x40px]] will be used if empty.",
"example": "Fireball Icon.png",
"type": "string",
"suggested": true
},
"cost": {
"description": "The resource cost of the action. \"action\", \"bonus\", \"reaction\", and \"freeaction\" are acceptable by themselves or in combination with a resource in the format {Resource}:{Amount}. Resource types: Arcane Recovery: arcrec, Bardic Inspiration: barins, Channel Divinity: chadiv, Channel Oath: chaoat, Fungal Infestation: fnginf, Ki: ki, Lay On Hands: layonh, Natural Recovery: natrec, Rage: rage, Superiority Die: supdie, War Priest: warpri, and Wild Shape: wldshp.",
"example": "ki:1, action",
"suggestedvalues": [
"action",
"bonus",
"reaction",
"freeaction",
"ki:1, action",
"supdie:1, bonus"
],
"suggested": true,
"type": "string"
},
"level": {
"label": "Spell level",
"description": "Spell level if a spell. This overrides the resource portion of the cost parameter. Use \"cantrip\" to indicate a 0th level or cantrip spell.",
"example": "2",
"type": "string",
"suggestedvalues": [
"cantrip",
"1",
"2",
"3",
"4",
"5",
"6"
]
},
"school": {
"label": "Spell school",
"description": "The school of magic that the spell belongs to.",
"example": "Evocation",
"type": "string",
"suggestedvalues": [
"Abjuration",
"Conjuration",
"Divination",
"Enchantment",
"Evocation",
"Illusion",
"Necromancy",
"Transmutation"
]
},
"ritual": {
"description": "Indicates whether the action is a ritual spell or not. Leave blank if not a ritual spell.",
"example": "yes",
"type": "string"
},
"attack roll": {
"description": "Whether the action is reliant on a attack roll. Leave blank if no attack roll is made.",
"example": "Yes",
"type": "string",
"suggestedvalues": [
"Yes"
],
"default": "No"
},
"damage": {
"description": "The damage of the action. \n* amount: amount in number or die like 1d8 \n* amounttext: if your amount is text instead of a number or die you need to do this instead \n* type: damage type, i.e. Healing",
"example": "amount:3d6, type:Acid",
"type": "string",
"suggestedvalues": [
"amounttext:Weapon, type:Physical"
]
},
"damage2": {
"description": "The secondary damage of the action. Will be output as damage + damage2. Same params as damage.",
"example": "amount:6d20, type:Radiant",
"type": "string",
"suggestedvalues": [
"amounttext:Weapon, type:Physical"
]
},
"recharge": {
"description": "Action recharge time, if applicable",
"example": "Long Rest",
"type": "string"
},
"duration": {
"description": "Duration in turns of the action. Generally you will use condition duration instead.",
"example": "10",
"type": "string"
},
"save": {
"description": "The save (if any) that a target must roll against the damage effect of the action, with the result after the comma.",
"example": "Dexterity",
"suggestedvalues": [
"Strength, half damage",
"Dexterity, negated",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
],
"type": "string"
},
"concentration": {
"description": "Whether or not the action requires concentration. Blank = No, otherwise = Yes.",
"example": "Yes",
"type": "string",
"suggestedvalues": [
"Yes",
""
],
"default": "No"
},
"range": {
"description": "The range of the action.",
"example": "ranged",
"suggestedvalues": [
"ranged",
"melee",
"self"
],
"type": "string"
},
"range m": {
"description": "Use this parameter if the action's range does not fit into one of the presets, \"melee\", \"ranged\", or \"self\". Indicates the range in meters.",
"example": "5",
"type": "number"
},
"range ft": {
"description": "Use this parameter if the action's range does not fit into one of the presets, \"melee\", \"ranged\", or \"self\". Indicates the range in feet.",
"example": "35",
"type": "number"
},
"aoe": {
"description": "Indicates if the action affects an area, and what type of shape its effect is.",
"example": "cone",
"type": "string",
"suggestedvalues": [
"radius",
"cone",
"cube",
"line"
]
},
"aoe m": {
"description": "This indicates the range of the action's aoe shape, in meters.",
"example": "5",
"type": "number"
},
"aoe ft": {
"description": "This indicates the range of the action's aoe shape, in feet.",
"example": "15",
"type": "number"
},
"additional": {
        "label": "additional properties",
"description": "Any additional properties about the skill that are not covered by template go here, which goes under damage in properties",
"example": "",
"type": "content"
},
"higher levels": {
"description": "If the action changes at higher levels, put info about that here",
"example": "At level 10 with [[File:Generic Damage Icon.png|frameless|25px]] '''Improved Superiority Dice''' the damage bonus increases to {{C|[[File:D10 Physical.png|frameless|40px]]1d10}}.",
"type": "content"
},
"condition": {
"description": "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",
"type": "string"
},
"condition duration": {
"description": "The duration in turns of the action's applied condition. Leave blank if the duration is unlimited.",
"example": "5",
"type": "number"
},
"condition save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"condition2": {
"description": "The full name of the condition (if any) that is applied if there is a second condition.",
"example": "Hastened",
"type": "string"
},
"condition2 duration": {
"description": "The duration in turns of the action's second condition. Leave blank if the duration is unlimited.",
"example": "5",
"type": "number"
},
"condition2 save": {
"description": "The save that the action's target must roll to avoid or reduce the effects of the second condition. Can use short or long name, e.g: \"STR\" or \"Strength\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area": {
"label": "Action area name",
"description": "Indicates the name of a special area/field/surface/cloud created by the action (if any). Leave blank if there is none.",
"example": "Hunger of Hadar",
"type": "string"
},
"area category": {
"description": "This indicates the type of area created by the action.",
"example": "surface",
"type": "string",
"suggestedvalues": [
"cloud",
"surface",
"area"
],
"default": "area"
},
"area shape": {
"description": "This indicates the shape that the special area created by the action takes.",
"example": "Radius",
"type": "string",
"suggestedvalues": [
"Radius",
"Cone",
"Cube"
]
},
"area range m": {
"description": "Indicates the range of the area created by action, in meters.",
"example": "5",
"type": "number"
},
"area range ft": {
"description": "Indicates the range of the area created by action, in feet.",
"example": "12",
"type": "number"
},
"area duration": {
"description": "This indicates how long the area created by the action lasts, in turns.",
"example": "6",
"type": "number"
},
"area turn start damage": {
"description": "How much damage this area does to an entity starting its turn in it.",
"example": "2d4",
"type": "string"
},
"area turn start damage type": {
"description": "The type of damage dealt to a creature starting its turn in the area created by this action.",
"example": "Cold",
"type": "string"
},
"area turn start damage save": {
"description": "The saving throw an entity starting its turn in the area created by this action must roll in order to reduce or negate its damage.",
"example": "Dexterity",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"WIsdom",
"Charisma"
]
},
"area turn start damage save effect": {
"description": "This indicates what effect a successful saving throw has on the damage applied to a creature starting its turn in this action's area. Leave blank to default to \"negate\".",
"example": "half",
"type": "string",
"suggestedvalues": [
"half",
"negate"
],
"default": "negate"
},
"area turn end damage": {
"description": "How much damage this area does to an entity ending its turn in it.",
"example": "2d4",
"type": "string"
},
"area turn end damage type": {
"description": "The type of damage dealt to a creature ending its turn in the area created by this action.",
"example": "Necrotic",
"type": "string"
},
"area turn end damage save": {
"description": "The saving throw an entity ending its turn in the area created by this action must roll in order to reduce or negate its damage.",
"example": "Dexterity",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area turn end damage save effect": {
"description": "This indicates what effect a successful saving throw has on the damage applied to a creature ending its turn in this action's area. Leave blank to default to \"negate\".",
"type": "string",
"suggestedvalues": [
"half",
"negate"
],
"default": "negate"
},
"area condition": {
"description": "The full name of the condition applied by this action's area, leave blank if no condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area condition2": {
"description": "The full name of the second condition applied by this action's area, leave blank if no second condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition2 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area condition3": {
"description": "The full name of the third condition applied by this action's area, leave blank if no third condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition3 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"area condition4": {
"description": "The full name of the fourth condition applied by this action's area, leave blank if no fourth condition is applied.",
"example": "Burning",
"type": "string"
},
"area condition4 save": {
"description": "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\"",
"example": "WIS",
"type": "string",
"suggestedvalues": [
"Strength",
"Dexterity",
"Constitution",
"Intelligence",
"Wisdom",
"Charisma"
]
},
"variants": {
"description": "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, ...",
"type": "string"
},
"class learns at level 1": {
"description": "This specifies what level the classes get access to this action at level 1. 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",
"type": "string",
"suggested": false
},
"class learns at level 2": {
"description": "This specifies what level the classes get access to this action at level 2. 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",
"type": "string",
"suggested": false
},
"class learns at level 3": {
"description": "This specifies what level the classes get access to this action at level 3. 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",
"type": "string",
"suggested": false
},
"class learns at level 4": {
"description": "This specifies what level the classes get access to this action at level 4. 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",
"type": "string",
"suggested": false
},
"class learns at level 5": {
"description": "This specifies what level the classes get access to this action at 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",
"type": "string",
"suggested": false
},
"class learns at level 6": {
"description": "This specifies what level the classes get access to this action at level 6. 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",
"type": "string",
"suggested": false
},
"class learns at level 7": {
"description": "This specifies what level the classes get access to this action at level 7. 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",
"type": "string",
"suggested": false
},
"class learns at level 8": {
"description": "This specifies what level the classes get access to this action at level 8. 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",
"type": "string",
"suggested": false
},
"class learns at level 9": {
"description": "This specifies what level the classes get access to this action at level 9. 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",
"type": "string",
"suggested": false
},
"class learns at level 10": {
"description": "This specifies what level the classes get access to this action at level 10. 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",
"type": "string",
"suggested": false
},
"class learns at level 11": {
"description": "This specifies what level the classes get access to this action at level 11. 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",
"type": "string",
"suggested": false
},
"class learns at level 12": {
"description": "This specifies what level the classes get access to this action at level 12. 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",
"type": "string",
"suggested": false
},
"race learns at level 1": {
"description": "This specifies what level the races get access to this action at level 1. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 2": {
"description": "This specifies what level the races get access to this action at level 2. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 3": {
"description": "This specifies what level the races get access to this action at level 3. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 4": {
"description": "This specifies what level the races get access to this action at level 4. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 5": {
"description": "This specifies what level the races get access to this action at level 5. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 6": {
"description": "This specifies what level the races get access to this action at level 6. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 7": {
"description": "This specifies what level the races get access to this action at level 7. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 8": {
"description": "This specifies what level the races get access to this action at level 8. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 9": {
"description": "This specifies what level the races get access to this action at level 9. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 10": {
"description": "This specifies what level the races get access to this action at level 10. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 11": {
"description": "This specifies what level the races get access to this action at level 11. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 12": {
"description": "This specifies what level the races get access to this action at level 12. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
        "granted by feats": {
"description": "This specifies what feats get access to this action. Similar to the class and race arguments, this list can be comma-separated as well.",
"example": "Magic Initiate: Druid",
"type": "string",
"suggested": false
},
        "granted by items": {
"description": "This specifies what items get access to this action. Similar to the class and race arguments, this list can be comma-separated as well.",
"example": "Poisoner's Ring",
"type": "string",
"suggested": false
},
        "granted by spells": {
"description": "This specifies what spells get access to or trigger this action. Similar to the class and race arguments, this list can be comma-separated as well.",
"example": "Poisoner's Ring",
"type": "string",
"suggested": false
},
        "used by creatures": {
"description": "This specifies which creatures use this action.",
"example": "Magma Mephit",
"type": "string",
"suggested": false
},
"notes": {
"description": "Any extra or related information about the action.",
"type": "content"
},
"video": {
"description": "Name of an uploaded video file showcasing the action.",
"type": "wiki-file-name"
}
},
"description": "This generates pages that don't fit other generators, automatically formatting and categorizing the page. Don't be daunted by the number of parameters/options and fill in what you need.",
"format": "block",
"paramOrder": [
"summary",
"description",
"image",
"level",
"school",
"cost",
"damage",
"damage2",
  "recharge",
  "duration",
"ritual",
"attack roll",
        "save",
        "concentration",
"range",
"range m",
"range ft",
"aoe",
"aoe m",
"aoe ft",
"additional",
"condition",
"condition duration",
"condition save",
"condition2",
"condition2 duration",
"condition2 save",
"area",
"area category",
"area shape",
"area range m",
"area range ft",
"area duration",
"area turn start damage",
"area turn start damage type",
"area turn start damage save",
"area turn start damage save effect",
"area turn end damage",
"area turn end damage type",
"area turn end damage save",
"area turn end damage save effect",
"area condition",
"area condition save",
"area condition2",
"area condition2 save",
"area condition3",
"area condition3 save",
"area condition4",
"area condition4 save",
"higher levels",
"variants",
"class learns at level 1",
"class learns at level 2",
"class learns at level 3",
"class learns at level 4",
"class learns at level 5",
"class learns at level 6",
"class learns at level 7",
"class learns at level 8",
"class learns at level 9",
"class learns at level 10",
"class learns at level 11",
"class learns at level 12",
"race learns at level 1",
"race learns at level 2",
"race learns at level 3",
"race learns at level 4",
"race learns at level 5",
"race learns at level 6",
"race learns at level 7",
"race learns at level 8",
"race learns at level 9",
"race learns at level 10",
"race learns at level 11",
"race learns at level 12",
        "granted by feats",
        "granted by items",
        "granted by spells",
        "used by creatures",
"notes",
"video",
"this is an example"
]
}
</templatedata>
 
=Example=
<pre>{{ActionPage| 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, per:beam, type: Fire
| recharge = Long Rest
| range = melee
| duration = LR
| save = DEX, abc
| additional = * abcd
| higherlevels = go far
| condition = Flight
| condition duration = 1
| area = Darkness
| area category = cloud
| area shape = Radius
| area range m = 5
| area range ft = 17
| area duration = 10
| area condition = Blinded
| area condition save = STR
| class learns at level 3 = Monk
| race learns at level 5 = Wood Elf
| notes = * bar
| video = Fireball-showcase.mp4
}}</pre>
{{ActionPage| 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, per:beam, type: Fire
| recharge = Long Rest
| range = melee
| duration = LR
| save = DEX, abc
| additional = * abcd
| higherlevels = go far
| condition = Flight
| condition duration = 1
| area = Darkness
| area category = cloud
| area shape = Radius
| area range m = 5
| area range ft = 17
| area duration = 10
| area condition = Blinded
| area condition save = STR
| class learns at level 3 = Monk
| race learns at level 5 = Wood Elf
| notes = * bar
| video = Fireball-showcase.mp4
}}
</noinclude>
</noinclude>

Navigation menu