Template:Action: Difference between revisions

Template page
(Added conditional lines, bordered box.)
(Changed custom table to InfoCard template.)
 
Line 1: Line 1:
{| style="border-collapse: collapse"
{{InfoCard
|-
|heading={{{name}}}
| style="border-style: solid; border-width: 2px; padding: 3px" | '''Name''': {{{name}}}</br>
|content= <nowiki />
|-
| style="border-style: solid; border-width: 2px; padding: 3px" |
'''Category''': {{{category}}}</br> {{#if: {{{exclusion|}}}|
'''Category''': {{{category}}}</br> {{#if: {{{exclusion|}}}|
'''Exclusion''': {{{exclusion}}}</br> |}} {{#if: {{{type|}}}|
'''Exclusion''': {{{exclusion}}}</br> |}} {{#if: {{{type|}}}|
Line 14: Line 12:
'''Damage Type''': {{{damagetype}}}</br> |}} {{#if: {{{effect|}}}|
'''Damage Type''': {{{damagetype}}}</br> |}} {{#if: {{{effect|}}}|
'''Effect''': {{{effect}}}</br> |}}
'''Effect''': {{{effect}}}</br> |}}
|}
}}
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Latest revision as of 16:49, 16 October 2023

{{{name}}}

Category: {{{category}}}

Creates a standardized layout for actions represented on the wiki.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the aciton.

Example
Strike
Stringrequired
Categorycategory

The action category for this action.

Suggested values
Offensive Defensive Utility Reaction Social & Skill
Unknownrequired
Exclusionexclusion

The category, or categories, that this cation holds and exclusion with.

Suggested values
Offensive Defensive Utility Reaction Social & Skill
Stringoptional
Typetype

The type of action, within the broader action category.

Example
Attack
Stringsuggested
Rangerange

The range within which the action can target or effect.

Suggested values
10ft 30ft 60ft 120ft
Example
60ft
Stringoptional
Ammunitionammunition

The ammunition required (and typically consumed) to use the item.

Stringoptional
Rollroll

The roll associated with the action required by the creature performing the action.

Stringoptional
Roll Againstrollagainst

The roll performed by the target of the action, often used to set a DC that the creature performing the action may have to roll against.

Stringoptional
Damagedamage

The ramage dealt to the target of this action.

Stringoptional
Damage Typedamagetype

The type of damage being dealt to the target of this action.

Suggested values
Slashing Bludgeoning Piercing Concussive
Stringoptional
Effecteffect

The specific effect of the action on it's target, area of effect or the performer of the action.

Stringsuggested