Template:Action: Difference between revisions

Template page
(Template created.)
 
(Changed custom table to InfoCard template.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Name: {{{name}}}</br>
{{InfoCard
Category: {{{category}}}</br>
|heading={{{name}}}
Exclusion: {{{exclusion}}}</br>
|content= <nowiki />
Type: {{{type}}}</br>
'''Category''': {{{category}}}</br> {{#if: {{{exclusion|}}}|
Range: {{{range}}}</br>
'''Exclusion''': {{{exclusion}}}</br> |}} {{#if: {{{type|}}}|
Ammunition: {{{ammunition}}}</br>
'''Type''': {{{type}}}</br> |}} {{#if: {{{range|}}}|
Roll: {{{roll}}}</br>
'''Range''': {{{range}}}</br> |}} {{#if: {{{ammunition|}}}|
Roll Against: {{{rollagainst}}}</br>
'''Ammunition''': {{{ammunition}}}</br> |}} {{#if: {{{roll|}}}|
Damage: {{{damage}}}</br>
'''Roll''': {{{roll}}}</br> |}} {{#if: {{{rollagainst|}}}|
Damage Type: {{{damagetype}}}</br>
'''Roll Against''': {{{rollagainst}}}</br> |}} {{#if: {{{damage|}}}|
Effect: {{{effect}}}</br>
'''Damage''': {{{damage}}}</br> |}} {{#if: {{{damagetype|}}}|
'''Damage Type''': {{{damagetype}}}</br> |}} {{#if: {{{effect|}}}|
'''Effect''': {{{effect}}}</br> |}}
}}
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": {},
"name": {
"category": {},
"label": "Name",
"exclusion": {},
"description": "The name of the aciton.",
"type": {},
"example": "Strike",
"range": {},
"type": "string",
"ammunition": {},
"required": true
"roll": {},
},
"rollagainst": {},
"category": {
"damage": {},
"label": "Category",
"damagetype": {},
"description": "The action category for this action.",
"effect": {}
"suggestedvalues": [
"Offensive",
"Defensive",
"Utility",
"Reaction",
"Social & Skill"
],
"required": true
},
"exclusion": {
"label": "Exclusion",
"description": "The category, or categories, that this cation holds and exclusion with.",
"type": "string",
"suggestedvalues": [
"Offensive",
"Defensive",
"Utility",
"Reaction",
"Social & Skill"
]
},
"type": {
"label": "Type",
"description": "The type of action, within the broader action category.",
"example": "Attack",
"type": "string",
"suggested": true
},
"range": {
"label": "Range",
"description": "The range within which the action can target or effect.",
"example": "60ft",
"type": "string",
"suggestedvalues": [
"10ft",
"30ft",
"60ft",
"120ft"
]
},
"ammunition": {
"label": "Ammunition",
"description": "The ammunition required (and typically consumed) to use the item.",
"type": "string"
},
"roll": {
"label": "Roll",
"description": "The roll associated with the action required by the creature performing the action.",
"type": "string"
},
"rollagainst": {
"label": "Roll Against",
"description": "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.",
"type": "string"
},
"damage": {
"label": "Damage",
"description": "The ramage dealt to the target of this action.",
"type": "string"
},
"damagetype": {
"label": "Damage Type",
"description": "The type of damage being dealt to the target of this action.",
"type": "string",
"suggestedvalues": [
"Slashing",
"Bludgeoning",
"Piercing",
"Concussive"
]
},
"effect": {
"label": "Effect",
"description": "The specific effect of the action on it's target, area of effect or the performer of the action.",
"type": "string",
"suggested": true
}
},
},
"description": "Creates a standardized layout for actions represented on the wiki. (incomplete)"
"description": "Creates a standardized layout for actions represented on the wiki."
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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