60,675
editsAd placeholder
Template:Action page/doc: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
m (Sky moved page Template:ActionPage/doc to Template:Action Page/doc: Spaces preferred in titles) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(23 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
==Usage== | |||
=Usage= | |||
<pre> | <pre> | ||
{{ActionPage | {{ActionPage | ||
Line 7: | Line 5: | ||
| summary = | | summary = | ||
| description = | | description = | ||
| extra description = | |||
| image = | | image = | ||
| | | controller icon = | ||
| | | icon = | ||
| cost = | | cost = | ||
| hit cost = | |||
| concentration = | | concentration = | ||
| damage = | | damage = | ||
| | | damage type = | ||
| damage modifier = | |||
| extra damage = | |||
| extra damage type = | |||
| extra damage modifier = | |||
| recharge = | | recharge = | ||
| duration = | | duration = | ||
| save = | | save = | ||
| on save = | |||
| attack roll = | | attack roll = | ||
| | | on miss = | ||
| range = | | range = | ||
| range m = | | range m = | ||
Line 26: | Line 31: | ||
| aoe ft = | | aoe ft = | ||
| additional = | | additional = | ||
| | | higher levels = | ||
| variants = | | variants = | ||
| variant of = | |||
| condition = | | condition = | ||
| condition duration = | | condition duration = | ||
| condition save = | | condition save = | ||
| condition dc = | |||
| condition2 = | | condition2 = | ||
| condition2 duration = | | condition2 duration = | ||
| condition2 save = | | condition2 save = | ||
| condition2 dc = | |||
| area = | | area = | ||
| area shape = | | area shape = | ||
| area range m = | | area range m = | ||
| area range ft = | | area range ft = | ||
| area duration = | | area duration = | ||
| X learns at level X = | | X learns at level X = | ||
| granted by feats = | | granted by feats = | ||
Line 61: | Line 52: | ||
| granted by spells = | | granted by spells = | ||
| used by creatures = | | used by creatures = | ||
| warning = | |||
| notes = | | notes = | ||
| bugs = | |||
| video = | | video = | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Page | [[Category:Page generating templates]] | ||
{{HorizontalRuleImage}} | {{HorizontalRuleImage}} | ||
Line 91: | Line 84: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"extra description": { | |||
"label": "Extra description", | |||
"description": "The extra in-game description of the action, shown when the tooltip is locked on screen.", | |||
"type": "string" | |||
}, | }, | ||
"image": { | "image": { | ||
"label": " | "label": "Tooltip image", | ||
"description": "The page's main image. | "description": "The page's main tool image, used in the in-game tooltips. Should be 380x380.", | ||
"example": "Fireball Icon. | "example": "Fireball.webp", | ||
"type": "string", | |||
"suggested": true | |||
}, | |||
"controller icon": { | |||
"label": "Controller icon", | |||
"description": "The class action's controller icon, used in the controller only interface. Should be 144x144.", | |||
"example": "Fireball Icon.webp", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"icon": { | |||
"label": "icon", | |||
"description": "The class action's small icon, used in the hotkey bar. Should be 64x64.", | |||
"example": "Fireball Icon.webp", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"cost": { | "cost": { | ||
"description": " | "description": "A comma separated list of resources used to perform the action. Use a colon and a number to specify > 1 cost. Valid resources are any resource available in the Resource Template.", | ||
"example": "ki: | "example": "action, ki:2", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"action", | "action", | ||
"bonus", | "bonus", | ||
"reaction", | "reaction", | ||
" | "movement", | ||
"ki | "half movement", | ||
"supdie | "ki", | ||
"supdie" | |||
], | ], | ||
"suggested": true, | "suggested": true, | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "hit cost": { | ||
" | "description": "A comma separated list of resources used only if the action is successful. Any resource defined in [[Template:Resource]] can be used", | ||
"description": " | "example": "ki, bonus", | ||
"example": " | "suggestedvalues": [ | ||
"action", | |||
"bonus", | |||
"reaction", | |||
"supdie", | |||
"ki" | |||
], | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"attack roll": { | |||
"description": "Whether the action is reliant on a attack roll and it's type. Leave blank if no attack roll is made.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"yes", | |||
"melee weapon", | |||
"melee spell", | |||
"melee unarmed", | |||
"melee off-hand weapon", | |||
"ranged weapon", | |||
"ranged spell", | |||
"ranged unarmed", | |||
"ranged off-hand weapon" | |||
], | |||
"default": "No" | |||
}, | |||
"on miss": { | |||
"description": "Used in conjunction with 'attack roll' describes what happens if the action misses its attack roll.", | |||
"example": "Targets still take half damage.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Targets still take half damage." | |||
] | |||
}, | |||
"damage": { | |||
"description": "The damage of the action, expressed as a number, damage dice, or in text", | |||
"example": "3d6", | |||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "1d4", | ||
"20", | |||
"Weapon Damage" | |||
] | ] | ||
}, | }, | ||
" | "damage type": { | ||
"description": "The type of damage being dealt", | |||
"description": "The | "example": "Acid", | ||
"example": " | |||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "Slashing", | ||
"Piercing", | |||
"Bludgeoning", | |||
"Acid", | |||
"Fire", | |||
"Cold", | |||
"Lightning", | |||
"Thunder", | |||
"Necrotic", | |||
"Poison", | |||
"Healing" | |||
] | ] | ||
}, | }, | ||
"damage modifier": { | |||
"description": " | "description": "Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.", | ||
"example": " | "example": "STR", | ||
"type": "string" | "type": "string", | ||
"suggestedvalues": [ | |||
"STR", | |||
"DEX", | |||
"Spellcasting" | |||
] | |||
}, | }, | ||
"extra damage": { | |||
"description": " | "description": "The secondary damage of the action, if applicable. Will be output as damage + damage2. Same parameters as damage. Extra damage can be added up to six times by adding and incrementing the parameters each additional time, i.e. extra damage 2, extra damage type 2 etc.", | ||
"example": " | "example": "3d6", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "1d4", | ||
"20", | |||
"Weapon Damage" | |||
] | |||
}, | }, | ||
"damage": { | "extra damage type": { | ||
"description": "The | "description": "The type of damage being dealt", | ||
"example": " | "example": "Acid", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "Slashing", | ||
"Piercing", | |||
"Bludgeoning", | |||
"Acid", | |||
"Fire", | |||
"Cold", | |||
"Lightning", | |||
"Thunder", | |||
"Necrotic", | |||
"Poison", | |||
"Healing" | |||
] | ] | ||
}, | }, | ||
"extra damage modifier": { | |||
"description": " | "description": "Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.", | ||
"example": " | "example": "STR", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "STR", | ||
"DEX", | |||
"Spellcasting" | |||
] | ] | ||
}, | }, | ||
Line 196: | Line 261: | ||
], | ], | ||
"type": "string" | "type": "string" | ||
}, | |||
"on save": { | |||
"description": "Used in conjunction with 'save', describes what happens when the target successfully makes their saving throw.", | |||
"example": "Targets still take half damage.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Targets still take half damage." | |||
] | |||
}, | }, | ||
"concentration": { | "concentration": { | ||
Line 280: | Line 353: | ||
"Charisma" | "Charisma" | ||
] | ] | ||
}, | |||
"condition dc": { | |||
"description": "The optional fixed DC of the condition that targets have to pass to apply it", | |||
"example": "12", | |||
"type": "number" | |||
}, | }, | ||
"condition2": { | "condition2": { | ||
Line 303: | Line 381: | ||
"Charisma" | "Charisma" | ||
] | ] | ||
}, | |||
"condition2 dc": { | |||
"description": "The optional fixed DC of the second condition that targets have to pass to apply it", | |||
"example": "12", | |||
"type": "number" | |||
}, | }, | ||
"area": { | "area": { | ||
Line 309: | Line 392: | ||
"example": "Hunger of Hadar", | "example": "Hunger of Hadar", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"area shape": { | "area shape": { | ||
Line 346: | Line 418: | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
" | "warning": { | ||
"description": " | "description": "Warning text for the tooltip that doesn't belong in the description.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"variants": { | "variants": { | ||
"description": "Comma-separated list of variants of the action, like the element types of Chromatic Orb.", | "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, ...", | "example": "Chromatic Orb: Fire, Chromatic Orb: Ice, Chromatic Orb: Acid, ...", | ||
"type": "string" | |||
}, | |||
"variant of": { | |||
"description": "The spell that is the parent of this spell", | |||
"example": "Chromatic Orb", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 658: | Line 602: | ||
"notes": { | "notes": { | ||
"description": "Any extra or related information about the action.", | "description": "Any extra or related information about the action.", | ||
"type": "content" | |||
}, | |||
"bugs": { | |||
"description": "Any known bugs about the action.", | |||
"type": "content" | "type": "content" | ||
}, | }, | ||
Line 664: | Line 612: | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
" | "other ways to learn": { | ||
"description": "Other ways to learn. These will be inserted as-is at the end of the how to learn field.", | |||
"type": "string" | |||
"description": " | } | ||
"type": " | |||
}, | }, | ||
"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.", | "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.", | ||
Line 677: | Line 622: | ||
"summary", | "summary", | ||
"description", | "description", | ||
"extra description", | |||
"image", | "image", | ||
" | "controller icon", | ||
" | "icon", | ||
"cost", | "cost", | ||
"hit cost", | |||
"damage", | "damage", | ||
" | "damage type", | ||
"damage modifier", | |||
"extra damage", | |||
"extra damage type", | |||
"extra damage modifier", | |||
"recharge", | "recharge", | ||
"duration", | "duration", | ||
"attack roll", | "attack roll", | ||
"on miss", | |||
"save", | "save", | ||
"on save", | |||
"concentration", | "concentration", | ||
"range", | "range", | ||
Line 699: | Line 651: | ||
"condition duration", | "condition duration", | ||
"condition save", | "condition save", | ||
"condition dc", | |||
"condition2", | "condition2", | ||
"condition2 duration", | "condition2 duration", | ||
"condition2 save", | "condition2 save", | ||
"condition2 dc", | |||
"area", | "area", | ||
"area shape", | "area shape", | ||
"area range m", | "area range m", | ||
"area range ft", | "area range ft", | ||
"area duration", | "area duration", | ||
"higher levels", | "higher levels", | ||
"variants", | "variants", | ||
"variant of", | |||
"class learns at level 1", | "class learns at level 1", | ||
"class learns at level 2", | "class learns at level 2", | ||
Line 750: | Line 688: | ||
"race learns at level 11", | "race learns at level 11", | ||
"race learns at level 12", | "race learns at level 12", | ||
"warning", | |||
"granted by feats", | "granted by feats", | ||
"granted by items", | "granted by items", | ||
Line 755: | Line 694: | ||
"used by creatures", | "used by creatures", | ||
"notes", | "notes", | ||
"bugs", | |||
"video", | "video", | ||
"this is an example", | "this is an example", | ||
" | "other ways to learn" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
=Example= | ==Example== | ||
<pre>{{ActionPage| this is an example = yes | <pre>{{ActionPage| this is an example = yes | ||
| description = abc | | description = abc | ||
| image = Fly Icon.png | | image = Fly Icon.png | ||
| summary = fly you fools | | summary = fly you fools | ||
| cost = ki | | cost = action | ||
| hit cost = ki | |||
| hit cost amount = 2 | |||
| damage = amounttext: 1d4+1, type:Bludgeoning | | damage = amounttext: 1d4+1, type:Bludgeoning | ||
| damage2 = amount: 1d6, per:beam, type: Fire | | damage2 = amount: 1d6, per:beam, type: Fire | ||
Line 778: | Line 717: | ||
| save = DEX, abc | | save = DEX, abc | ||
| additional = * abcd | | additional = * abcd | ||
| | | higher levels = go far | ||
| condition = Flight | | condition = Flight | ||
| condition duration = 1 | | condition duration = 1 | ||
Line 791: | Line 730: | ||
| class learns at level 3 = Monk | | class learns at level 3 = Monk | ||
| race learns at level 5 = Wood Elf | | race learns at level 5 = Wood Elf | ||
| notes = * | | notes = | ||
* Some note. | |||
| bugs = | |||
* Some known bug. | |||
| video = Fireball-showcase.mp4 | | video = Fireball-showcase.mp4 | ||
}}</pre> | }}</pre> | ||
Line 798: | Line 740: | ||
| image = Fly Icon.png | | image = Fly Icon.png | ||
| summary = fly you fools | | summary = fly you fools | ||
| cost = ki | | cost = ki | ||
| cost amount = 2 | |||
| cost2 = action | |||
| hit cost = sp | |||
| damage = amounttext: 1d4+1, type:Bludgeoning | | damage = amounttext: 1d4+1, type:Bludgeoning | ||
| damage2 = amount: 1d6, per:beam, type: Fire | | damage2 = amount: 1d6, per:beam, type: Fire | ||
Line 806: | Line 751: | ||
| save = DEX, abc | | save = DEX, abc | ||
| additional = * abcd | | additional = * abcd | ||
| | | higher levels = go far | ||
| condition = Flight | | condition = Flight | ||
| condition duration = 1 | | condition duration = 1 | ||
Line 819: | Line 764: | ||
| class learns at level 3 = Monk | | class learns at level 3 = Monk | ||
| race learns at level 5 = Wood Elf | | race learns at level 5 = Wood Elf | ||
| notes = * | | notes = | ||
* Some note. | |||
| bugs = | |||
* Some known bug. | |||
| video = Fireball-showcase.mp4 | | video = Fireball-showcase.mp4 | ||
}} | }} | ||
Line 828: | Line 776: | ||
| image = Fly Icon.png | | image = Fly Icon.png | ||
| summary = fly you fools 2 | | summary = fly you fools 2 | ||
| cost = action | | cost = action | ||
| cost2 = toc | |||
| damage = amounttext: 1d4+1, type:Bludgeoning | | damage = amounttext: 1d4+1, type:Bludgeoning | ||
| recharge = Long Rest | | recharge = Long Rest | ||
Line 835: | Line 784: | ||
| save = DEX, abc | | save = DEX, abc | ||
| additional = * abcd | | additional = * abcd | ||
| | | higher levels = go far | ||
| other ways to learn = | |||
* By ticking a giant space hamster | |||
* Carameldansen under the Mouth of Bhaal | |||
}} | }} |