Difference between revisions of "Template:Action Details"
From Mushpedia
| Line 1: | Line 1: | ||
| − | <includeonly><onlyinclude>{{Action Button|{{#if:{{{Cost|}}}|{{{Cost}}}|}} {{{Name|Missing name}}}}}{{#if: {{{Privacy|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Privacy Level''': {{Privacy|{{{Privacy}}}}}<br>|}}{{#if: {{{Success Chance|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Success chance''': {{{Success Chance}}}<br>|}}{{#if: {{{Requirement|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Requires''': {{{Requirement}}}<br>|}}{{#if: {{{Target|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Target''': {{{Target}}}<br>|}}{{#if: {{{Effect|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Effect''': {{{Effect}}}<br>|}}{{#if: {{{Effects|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Effects''': | + | <includeonly><onlyinclude>{{Action Button|{{#if:{{{Cost|}}}|{{{Cost}}}|}} {{{Name|Missing name}}}}}{{#if: {{{Privacy|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Privacy Level''': {{Privacy|{{{Privacy}}}}}<br>|}}{{#if: {{{Success Chance|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Success chance''': {{{Success Chance}}}<br>|}}{{#if: {{{Requirement|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Requires''': {{{Requirement}}}<br>|}}{{#if: {{{Target|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Target''': {{{Target}}}<br>|}}{{#if: {{{Effect|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Effect''': {{{Effect}}}<br>|}}{{#if: {{{Effects|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Effects''': |
| + | {{{Effects}}}<br>|}}{{#ifeq: {{{Aggressive|no}}}|yes|{{#ifeq:{{{1}}}|indent|***|**}} This action is '''[[Aggression|Aggressive]]'''.|}} | ||
{{#if: {{{Affected by|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Affected by''': {{{Affected by}}}<br>|}}{{#if: {{{Room Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Room Log''': ''{{{Room Log}}}''<br>|}}</onlyinclude></includeonly> | {{#if: {{{Affected by|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Affected by''': {{{Affected by}}}<br>|}}{{#if: {{{Room Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Room Log''': ''{{{Room Log}}}''<br>|}}</onlyinclude></includeonly> | ||
This template displays the details of an action. | This template displays the details of an action. | ||
Revision as of 16:18, 5 July 2014
This template displays the details of an action.
Usage
{{Action Details|<optional: indent>|
|Name =
<NAME OF ACTION>
|Cost =
<COST IN POINTS>
|Success Chance =
<BASE CHANCE OF SUCCESS>
|Requirement =
<CONDITIONS THAT HAVE TO BE MET FOR THIS ACTION TO APPEAR>
|Aggressive =
<optional: yes>
|Privacy =
<PRIVACY LEVEL>
|Target =
<TARGET OF ACTION>
|Effect =
<IN-LINE EFFECTS OF ACTION>
|Effect =
<EFFECTS OF ACTION (LIST)>
|Affected by =
<SKILLS/RESEARCHES/ITEMS/... AFFECTING THE ACTION>
|Room Log =
<ROOM LOG LEFT BY ACTION>
}}
The indent parameter is optional and indents the list of action properties once more. This is helpful if you're listing the action in an existing unnumbered list (such as the "New actions" section of a Skill page)
Parameters are optional and can be entirely omitted from the list.
Example
{{Action Details|
|Name =
Slime Trap
|Cost =
1 {{AP}}
|Privacy =
Covert
|Target =
Other [[character]]
|Effect =
The target will become {{Status|Dirty}} within 1 to 4 cycles, on cycle change. This bypasses protection such as {{Item|Stainproof Apron}} and {{Skill|OCD}}.
|Room Log =
In a flash, ['''user'''] taps ['''target'''] affectionally but it seems as though some kind of putrid smoke came out of their fingers!
}}
Result
- Target: Other character
- Effect: The target will become
Dirty within 1 to 4 cycles, on cycle change. This bypasses protection such as
Stainproof Apron and
OCD.
Covert log: In a flash, [user] taps [target] affectionally but it seems as though some kind of putrid smoke came out of their fingers!