Template:Action: Difference between revisions

From The Undead Archive
Niuf (talk | contribs)
Adding required fields, examples and suggestions.
Niuf (talk | contribs)
No edit summary
Line 1: Line 1:
{{ infobox
{{infobox
| bodystyle  = width: 100%; min-width: 100%;
| bodystyle  = width: 100%; min-width: 100%;
| labelstyle  = width:150px; vertical-align: top; font-size: .8em;
| labelstyle  = width:150px; vertical-align: top; font-size: .8em; padding: 4px 6px; font-weight: bold;
| abovestyle  = padding-bottom: 3px; font-weight: bold; font-size: 1.5em; text-align: center; background: #362E2D;
| datastyle  = vertical-align: top; padding: 4px 6px; font-size: .9em;
| headerstyle = font-style:italic; background: rgba(0,0,0,0); text-align: center; font-weight: 400;
| abovestyle  = padding: 6px 8px 7px; font-weight: bold; font-size: 1.5em; text-align: center; background: #362E2D;
| headerstyle = font-style:italic; background: rgba(0,0,0,0); text-align: center; font-weight: 400; padding: 6px 8px;


| above      = <center>{{{Name|}}}</center>
| above      = {{#if:{{{Type|}}}|{{{Type}}}:}} {{{Name|}}}{{#if:{{{AP|}}}|, {{{AP}}} AP}}


| header10     = {{{Description|}}}
| label10     = {{#if:{{{Requirement|}}}|Requirement:}}
| data10      = {{{Requirement|}}}


| label11     = '''Type:'''
| label11     = {{#if:{{{Trigger|}}}|Trigger:}}
| data11       = {{{Type|}}}
| data11     = {{{Trigger|}}}


| label15      = '''AP Cost:'''
| label12    = {{#if:{{{Range|}}}|Range:}}
| data15      = {{{AP|}}}
| data12      = {{{Range|}}}


| label20      = '''Uses:'''
| label13    = {{#if:{{{Uses|}}}|Uses:}}
| data20      = {{{Uses|}}}
| data13      = {{{Uses|}}}


| label25      = '''Range:'''
| header20    = {{{Description|}}}
| data25      = {{{Range|}}}


| label30     = '''Requirement:'''
| label30     = {{#if:{{{Roll|}}}{{{DC|}}}|Roll:}}
| data30       = {{{Requirement|}}}
| data30     = {{#if:{{{Roll|}}}|{{{Roll}}}}}{{#if:{{{Roll|}}}{{{DC|}}}|{{#if:{{{Roll|}}}|{{#if:{{{DC|}}}| <span style="font-style:italic;"> vs </span> }}}}}}{{#if:{{{DC|}}}|{{{DC}}}}}


| label31      = '''Trigger:'''
| label40    = {{#if:{{{Success|}}}{{{Strong Success|}}}{{{Failure|}}}{{{Strong Failure|}}}|Outcome:}}
| data31      = {{{Trigger|}}}
| data40     = {{#if:{{{Success|}}}{{{Strong Success|}}}{{{Failure|}}}{{{Strong Failure|}}}|
 
<div style="display:flex; align-items:stretch;">
| label35     = '''Roll:'''
<div style="flex:1; padding:6px 8px;">
| data35      = {{{Roll|}}}
{{#if:{{{Success|}}}|<div><b>Success:</b> {{{Success}}}</div>}}
 
{{#if:{{{Strong Success|}}}|<div><b>Strong Success:</b> {{{Strong Success}}}</div>}}
| label40      = '''DC:'''
</div>
| data40      = {{{DC|}}}
<div style="width:1px; background:#362E2D; margin:0 8px;"></div>
 
<div style="flex:1; padding:6px 8px;">
| label45      = '''Success:'''
{{#if:{{{Failure|}}}|<div><b>Failure:</b> {{{Failure}}}</div>}}
| data45      = {{{Success|}}}
{{#if:{{{Strong Failure|}}}|<div><b>Strong Failure:</b> {{{Strong Failure}}}</div>}}
 
</div>
| label50      = '''Strong Success:'''
</div>
| data50      = {{{Strong Success|}}}
}}
 
| label55      = '''Failure:'''
| data55      = {{{Failure|}}}
 
| label60      = '''Strong Failure:'''
| data60      = {{{Strong Failure|}}}


}}
}}
<noinclude>
<noinclude>
{{Action
{{Action
|Name=Action Name
|Name= Action Name
|Description= What does the Action do?
|Description= What does the Action do?
|Type= Reaction
|Type= Reaction
|AP= 1
|AP= 1
|Uses= Bottle of Water
|Uses= <u>Bottle of Water</u>
|Range= Adjacent tile
|Range= Adjacent tile
|Requirement= Hidden Condition
|Requirement= Hidden Condition
|Trigger= You are targeted by an attack or grapple.
|Roll= Academia
|Roll= Academia
|DC= 15
|DC= 15
Line 72: Line 68:
|Range          =
|Range          =
|Requirement    =
|Requirement    =
|Trigger        =
|Roll          =
|Roll          =
|DC            =
|DC            =
Line 91: Line 88:
"suggested": true,
"suggested": true,
"type": "string",
"type": "string",
"example": " Choose a target body area to attack with a melee weapon."
"example": "Choose a target body area to attack with a melee weapon."
},
},
"Type": {
"Type": {
"description": "Only use this is its a special type of action, such as a Reaction",
"description": "Only use this if it is a special type of action, such as a Reaction.",
"suggestedvalues": [
"suggestedvalues": [
"Reaction"
"Reaction"
Line 102: Line 99:
"type": "number",
"type": "number",
"suggestedvalues": [
"suggestedvalues": [
"0",
"1",
"1",
"2",
"2",
"3",
"3",
"4",
"4"
"0"
],
],
"default": "0",
"default": "0",
"description": "How much Action Points are used by this action.",
"description": "How many Action Points are used by this action.",
"required": true
"required": true
},
},
Line 129: Line 126:
},
},
"Trigger": {
"Trigger": {
"description": "What starts the Reaction. ONLY USE ON REACTIONS.",
"description": "What starts the Reaction. Only use on Reactions.",
"example": "You are targeted by an attack or grapple."
"example": "You are targeted by an attack or grapple."
},
},
Line 185: Line 182:
"Type",
"Type",
"AP",
"AP",
"Uses",
"Range",
"Requirement",
"Requirement",
"Trigger",
"Trigger",
"Range",
"Uses",
"Roll",
"Roll",
"DC",
"DC",

Revision as of 07:54, 23 May 2026

Reaction: Action Name, 1 AP
Requirement:Hidden Condition
Trigger:You are targeted by an attack or grapple.
Range:Adjacent tile
Uses:Bottle of Water
What does the Action do?
Roll:Academia vs 15
Outcome:
Success: You win.
Strong Success: You win so hard!
Failure: You lose.
Strong Failure: You really lost.


{{Action
|Name           =
|Description    =
|Type           =
|AP             =
|Uses           =
|Range          =
|Requirement    =
|Trigger        =
|Roll           =
|DC             =
|Success        =
|Strong Success =
|Failure        =
|Strong Failure =
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

no description

Example
Simple Melee Attack
Stringrequired
DescriptionDescription

no description

Example
Choose a target body area to attack with a melee weapon.
Stringsuggested
TypeType

Only use this if it is a special type of action, such as a Reaction.

Suggested values
Reaction
Unknownoptional
APAP

How many Action Points are used by this action.

Suggested values
0 1 2 3 4
Default
0
Numberrequired
RequirementRequirement

Any special requirements that are needed to perform the action.

Example
Hidden Condition.
Unknownoptional
TriggerTrigger

What starts the Reaction. Only use on Reactions.

Example
You are targeted by an attack or grapple.
Unknownoptional
RangeRange

no description

Suggested values
Adjacent Tile 5 Tiles 10 Tiles Visible
Unknownoptional
UsesUses

Does the action use any items? Underline if the item is consumed.

Example
Melee Weapon
Unknownoptional
RollRoll

If there is a roll required for the action, which one?

Suggested values
Physique Athletics Melee Resilience Reason Awareness Medicine Technology Academia Agility Aiming Stealth Reflex Finesse Presence Morale Intimidation Persuasion Deception
Unknownoptional
DCDC

This can be a set number, or an opposing roll.

Unknownoptional
SuccessSuccess

no description

Suggested values
Deal 1 Damage
Unknownoptional
Strong SuccessStrong Success

no description

Suggested values
Strong Attack Table (Weapon Dmg.)
Unknownoptional
FailureFailure

no description

Suggested values
Attack Misses
Unknownoptional
Strong FailureStrong Failure

no description

Suggested values
You gain 1 Stress
Unknownoptional