Difference between revisions of "Template:Action Details"

From Mushpedia
Jump to: navigation, search
m
Line 1: Line 1:
{{Action Button|{{#if:{{{Cost}}}|{{{Cost}}}|}} {{{Name|Missing name}}}}}
+
<includeonly><onlyinclude>{{Action Button|{{#if:{{{Cost}}}|{{{Cost}}}|}} {{{Name|Missing name}}}}}
{{#if: {{{Privacy}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Privacy Level''': {{Privacy|{{{Privacy}}}}}<br>|}}{{#if: {{{Target}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Target''': {{{Target}}}<br>|}}{{#if: {{{Effect}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Effect''': {{{Effect}}}<br>|}}{{#if: {{{Room Log}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Room Log''': ''{{{Room Log}}}''<br>|}}
+
{{#if: {{{Privacy}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Privacy Level''': {{Privacy|{{{Privacy}}}}}<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: {{{Room Log}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Room Log''': ''{{{Room Log}}}''<br>|}}</onlyinclude></includeonly>
 +
This template displays the details of an action.
 +
 
 +
=== Usage ===
 +
<pre>{{Action Details|<optional: indent>|
 +
|Name =
 +
<NAME OF ACTION>
 +
|Cost =
 +
<COST IN POINTS>
 +
|Privacy =
 +
<PRIVACY LEVEL>
 +
|Target =
 +
<TARGET OF ACTION>
 +
|Effect =
 +
<EFFECTS OF ACTION>
 +
|Room Log =
 +
<ROOM LOG LEFT BY ACTION>
 +
}}</pre>
 +
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 [[Skills|Skill page]])
 +
 
 +
=== Example ===
 +
<pre>{{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!
 +
}}</pre>
 +
 
 +
==== Result ====
 +
 
 +
{{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!
 +
}}

Revision as of 07:01, 12 February 2014

This template displays the details of an action.

Usage

{{Action Details|<optional: indent>|
|Name =
<NAME OF ACTION>
|Cost =
<COST IN POINTS>
|Privacy =
<PRIVACY LEVEL>
|Target =
<TARGET OF ACTION>
|Effect =
<EFFECTS OF 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)

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!