Difference between revisions of "Template:Action Details"

From Mushpedia
Jump to: navigation, search
m (add field for daily limit)
m
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: {{{Available}}}|{{#ifeq:{{{1}}}|indent|***|**}} '''Available''': {{{Available}}}.|}}{{#ifeq: {{{Dirty|no}}}|yes|{{#ifeq:{{{1}}}|indent|***|**}} You might become {{Status|Dirty}} unless you are wearing the {{Item|Stainproof Apron}}.|}}{{#ifeq: {{{Dirty|no}}}|always|{{#ifeq:{{{1}}}|indent|***|**}} You will always become {{Status|Dirty}}, even wearing the {{Item|Stainproof Apron}}.|}}{{#if: {{{Affected by|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Affected by''': {{{Affected by}}}<br>|}}{{#if: {{{Room Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Room Log''': ''{{{Room Log}}}''<br>|}}</onlyinclude></includeonly>
+
{{{Effects}}}<br>|}}{{#ifeq: {{{Aggressive|no}}}|yes|{{#ifeq:{{{1}}}|indent|***|**}} This action is '''[[Aggression|Aggressive]]'''.|}}{{#if: {{{Available|}}}|{{#ifeq:{{{1}}}|indent|***|**}} '''Available''': {{{Available}}}.|}}{{#ifeq: {{{Dirty|no}}}|yes|{{#ifeq:{{{1}}}|indent|***|**}} You might become {{Status|Dirty}} unless you are wearing the {{Item|Stainproof Apron}}.|}}{{#ifeq: {{{Dirty|no}}}|always|{{#ifeq:{{{1}}}|indent|***|**}} You will always become {{Status|Dirty}}, even wearing the {{Item|Stainproof Apron}}.|}}{{#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 22:06, 9 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>
|Dirty =
<may make you dirty. optional: yes/always/(no)>
|Privacy =
<PRIVACY LEVEL>
|Target =
<TARGET OF ACTION>
|Available =
<DAILY LIMIT?>
|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

1 Action Point Slime Trap

  • Target: Other character
  • Effect: The target will become Icon Dirty within 1 to 4 cycles, on cycle change. This bypasses protection such as Icon Stainproof Apron and Icon OCD.
  • Icon Covert log: In a flash, [user] taps [target] affectionally but it seems as though some kind of putrid smoke came out of their fingers!