Template:Action: Difference between revisions
TheUnburied (talk | contribs) No edit summary |
TheUnburied (talk | contribs) No edit summary |
||
| (19 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ infobox | {{infobox | ||
| bodystyle = width: | | bodystyle = width: 50%; | ||
| 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 | | 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 = | | above = {{#if:{{{Type|}}}|{{{Type}}}:}} {{{Name|}}}{{#if:{{{AP|}}}|, {{{AP}}} AP}} | ||
| | | label10 = {{#if:{{{Requirement|}}}|Requirement:}} | ||
| data10 = {{{Requirement|}}} | |||
| label11 | | label11 = {{#if:{{{Trigger|}}}|Trigger:}} | ||
| data11 | | data11 = {{{Trigger|}}} | ||
| | | label12 = {{#if:{{{Range|}}}|Range:}} | ||
| | | data12 = {{{Range|}}} | ||
| | | label13 = {{#if:{{{Uses|}}}|Uses:}} | ||
| | | data13 = {{{Uses|}}} | ||
| | | header20 = {{{Description|}}} | ||
| label30 | | label30 = {{#if:{{{Roll|}}}{{{DC|}}}|Roll:}} | ||
| data30 | | data30 = {{#if:{{{Roll|}}}|{{{Roll}}}}}{{#if:{{{Roll|}}}{{{DC|}}}|{{#if:{{{Roll|}}}|{{#if:{{{DC|}}}| <span style="font-style:italic;"> vs </span> }}}}}}{{#if:{{{DC|}}}|{{{DC}}}}} | ||
| | | label40 = {{#if:{{{Success|}}}{{{Strong Success|}}}{{{Failure|}}}{{{Strong Failure|}}}|Outcome:}} | ||
| | | data40 = {{#if:{{{Success|}}}{{{Strong Success|}}}{{{Failure|}}}{{{Strong Failure|}}}| | ||
<div style="display:flex; align-items:stretch;"> | |||
<div style="flex:1;"> | |||
{{#if:{{{Success|}}}| | |||
;Success: | |||
:{{{Success}}}}} | |||
{{#if:{{{Strong Success|}}}| | |||
;Strong Success: | |||
:{{{Strong Success}}}}} | |||
</div> | |||
<div style="flex:1;"> | |||
| | {{#if:{{{Failure|}}}| | ||
;Failure: | |||
:{{{Failure}}} }} | |||
{{#if:{{{Strong Failure|}}}| | |||
;Strong Failure: | |||
:{{{Strong Failure}}} }} | |||
</div> | |||
</div> | |||
}} | |||
| | | label50 = Extra Info | ||
| | | data50 = {{{Extra Info|}}} | ||
| | | data60 = {{#if:{{{Rolltable|}}}| | ||
{{{Rolltable}}} | |||
}} | |||
| | |||
}} | }} | ||
<hr> | |||
<noinclude> | <noinclude> | ||
== Example == | |||
{{Action | |||
|Name= Action Name | |||
|Description= What does the Action do? | |||
|Type= Reaction | |||
|AP= 1 | |||
|Uses= <u>Bottle of Water</u> | |||
|Range= Adjacent tile | |||
|Requirement= Hidden Condition | |||
|Trigger= You are targeted by an attack or grapple. | |||
|Roll= Academia | |||
|DC= 15 | |||
|Success= You win. | |||
|Strong Success= You win so hard! | |||
|Failure= You lose. | |||
|Strong Failure= You really lost. | |||
|Extra Info=Extra shit | |||
|Rolltable= | |||
{{Rolltable | |||
|rows= | |||
{{Rolltable/row|4 and under|Object lands 5 tiles off target.<br />Strong Failure if Item calls for it.}} | |||
{{Rolltable/row|5-9|Object lands 3 tiles off target.}} | |||
{{Rolltable/row|10-14|Object lands 2 tiles off target.}} | |||
{{Rolltable/row|15-19|Object lands on target.}} | |||
{{Rolltable/row|20 and up|Object lands on target.<br />Strong Success if Item calls for it.}} | |||
}} | |||
}} | |||
== Usage == | |||
<pre> | |||
{{Action | {{Action | ||
|Name= | |Name = | ||
|Description= | |Description = | ||
|Type= | |Type = | ||
|AP= | |AP = | ||
|Uses= | |Uses = | ||
|Range= | |Range = | ||
|Requirement= | |Requirement = | ||
|Roll= | |Trigger = | ||
|DC= | |Roll = | ||
|Success= | |DC = | ||
| | |Success = | ||
|Failure= | |Strong Success = | ||
| | |Failure = | ||
|Strong Failure = | |||
|Rolltable = | |||
}} | }} | ||
</pre> | |||
== Usage with rolltable == | |||
<pre> | <pre> | ||
{{Action | {{Action | ||
|Name | |Name= Throw Object | ||
|Description | |Description= Throw an object at a target tile. | ||
|Type | |Type= | ||
|AP | |AP= 1 | ||
|Uses | |Uses= Throwable Object | ||
|Range | |Range= 10 Tiles | ||
|Requirement | |Requirement= | ||
|Roll | |Trigger= | ||
|DC | |Roll= Aiming | ||
|Success | |DC= 15 | ||
| | |Success= | ||
|Failure | |Strong Success= | ||
| | |Failure= | ||
|Strong Failure= | |||
|Rolltable= | |||
{{Rolltable | |||
|rows= | |||
{{Rolltable/row|4 and under|Object lands 5 tiles off target.<br />Strong Failure if Item calls for it.}} | |||
{{Rolltable/row|5-9|Object lands 3 tiles off target.}} | |||
{{Rolltable/row|10-14|Object lands 2 tiles off target.}} | |||
{{Rolltable/row|15-19|Object lands on target.}} | |||
{{Rolltable/row|20 and up|Object lands on target.<br />Strong Success if Item calls for it.}} | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Infobox for an action. Can optionally include a rolltable in the Outcome section.", | |||
"params": { | |||
"Name": { | |||
"required": true, | |||
"example": "Simple Melee Attack", | |||
"type": "string" | |||
}, | |||
"Description": { | |||
"suggested": true, | |||
"type": "string", | |||
"example": "Choose a target body area to attack with a melee weapon." | |||
}, | |||
"Type": { | |||
"description": "Only use this if it is a special type of action, such as a Reaction.", | |||
"suggestedvalues": [ | |||
"Reaction" | |||
] | |||
}, | |||
"AP": { | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"0", | |||
"1", | |||
"2", | |||
"3", | |||
"4" | |||
], | |||
"default": "0", | |||
"description": "How many Action Points are used by this action.", | |||
"required": true | |||
}, | |||
"Uses": { | |||
"example": "Melee Weapon", | |||
"description": "Does the action use any items? Underline if the item is consumed." | |||
}, | |||
"Range": { | |||
"suggestedvalues": [ | |||
"Adjacent Tile", | |||
"5 Tiles", | |||
"10 Tiles", | |||
"Visible" | |||
] | |||
}, | |||
"Requirement": { | |||
"description": "Any special requirements that are needed to perform the action.", | |||
"example": "Hidden Condition." | |||
}, | |||
"Trigger": { | |||
"description": "What starts the Reaction. Only use on Reactions.", | |||
"example": "You are targeted by an attack or grapple." | |||
}, | |||
"Roll": { | |||
"suggestedvalues": [ | |||
"Physique", | |||
"Athletics", | |||
"Melee", | |||
"Resilience", | |||
"Reason", | |||
"Awareness", | |||
"Medicine", | |||
"Technology", | |||
"Academia", | |||
"Agility", | |||
"Aiming", | |||
"Stealth", | |||
"Reflex", | |||
"Finesse", | |||
"Presence", | |||
"Morale", | |||
"Intimidation", | |||
"Persuasion", | |||
"Deception" | |||
], | |||
"description": "If there is a roll required for the action, which one?" | |||
}, | |||
"DC": { | |||
"description": "This can be a set number, or an opposing roll.", | |||
"suggestedvalues": [ | |||
"Target Defense DC" | |||
] | |||
}, | |||
"Success": { | |||
"type": "string" | |||
}, | |||
"Strong Success": { | |||
"type": "string" | |||
}, | |||
"Failure": { | |||
"type": "string" | |||
}, | |||
"Strong Failure": { | |||
"type": "string" | |||
}, | |||
"Rolltable": { | |||
"label": "Rolltable", | |||
"description": "Optional roll table shown underneath the normal outcome text. Use Template:Rolltable with Template:Rolltable/row.", | |||
"example": "{{Rolltable|rows={{Rolltable/row|4 and under|Object lands 5 tiles off target.}}{{Rolltable/row|20 and up|Object lands on target.}}}}", | |||
"type": "content", | |||
"suggested": false | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Name", | |||
"Description", | |||
"Type", | |||
"AP", | |||
"Requirement", | |||
"Trigger", | |||
"Range", | |||
"Uses", | |||
"Roll", | |||
"DC", | |||
"Success", | |||
"Strong Success", | |||
"Failure", | |||
"Strong Failure", | |||
"Rolltable" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata></noinclude> | |||
Latest revision as of 18:26, 2 June 2026
Example
| 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: |
| ||||||||||||
| Extra Info | Extra shit | ||||||||||||
| |||||||||||||
Usage
{{Action
|Name =
|Description =
|Type =
|AP =
|Uses =
|Range =
|Requirement =
|Trigger =
|Roll =
|DC =
|Success =
|Strong Success =
|Failure =
|Strong Failure =
|Rolltable =
}}
Usage with rolltable
{{Action
|Name= Throw Object
|Description= Throw an object at a target tile.
|Type=
|AP= 1
|Uses= Throwable Object
|Range= 10 Tiles
|Requirement=
|Trigger=
|Roll= Aiming
|DC= 15
|Success=
|Strong Success=
|Failure=
|Strong Failure=
|Rolltable=
{{Rolltable
|rows=
{{Rolltable/row|4 and under|Object lands 5 tiles off target.<br />Strong Failure if Item calls for it.}}
{{Rolltable/row|5-9|Object lands 3 tiles off target.}}
{{Rolltable/row|10-14|Object lands 2 tiles off target.}}
{{Rolltable/row|15-19|Object lands on target.}}
{{Rolltable/row|20 and up|Object lands on target.<br />Strong Success if Item calls for it.}}
}}
Infobox for an action. Can optionally include a rolltable in the Outcome section.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | no description
| String | required |
| Description | Description | no description
| String | suggested |
| Type | Type | Only use this if it is a special type of action, such as a Reaction.
| Unknown | optional |
| AP | AP | How many Action Points are used by this action.
| Number | required |
| Requirement | Requirement | Any special requirements that are needed to perform the action.
| Unknown | optional |
| Trigger | Trigger | What starts the Reaction. Only use on Reactions.
| Unknown | optional |
| Range | Range | no description
| Unknown | optional |
| Uses | Uses | Does the action use any items? Underline if the item is consumed.
| Unknown | optional |
| Roll | Roll | If there is a roll required for the action, which one?
| Unknown | optional |
| DC | DC | This can be a set number, or an opposing roll.
| Unknown | optional |
| Success | Success | no description | String | optional |
| Strong Success | Strong Success | no description | String | optional |
| Failure | Failure | no description | String | optional |
| Strong Failure | Strong Failure | no description | String | optional |
| Rolltable | Rolltable | Optional roll table shown underneath the normal outcome text. Use Template:Rolltable with Template:Rolltable/row.
| Content | optional |
