(Template created.) |
(Changed custom table to InfoCard template.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{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. | "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}}}
Creates a standardized layout for actions represented on the wiki.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the aciton.
| String | required |
| Category | category | The action category for this action.
| Unknown | required |
| Exclusion | exclusion | The category, or categories, that this cation holds and exclusion with.
| String | optional |
| Type | type | The type of action, within the broader action category.
| String | suggested |
| Range | range | The range within which the action can target or effect.
| String | optional |
| Ammunition | ammunition | The ammunition required (and typically consumed) to use the item. | String | optional |
| Roll | roll | The roll associated with the action required by the creature performing the action. | String | optional |
| Roll Against | rollagainst | 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. | String | optional |
| Damage | damage | The ramage dealt to the target of this action. | String | optional |
| Damage Type | damagetype | The type of damage being dealt to the target of this action.
| String | optional |
| Effect | effect | The specific effect of the action on it's target, area of effect or the performer of the action. | String | suggested |