Difference between revisions of "Template:Action Details"

From Mushpedia
Jump to: navigation, search
m
m
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{Action Button|{{#if:{{{Cost|}}}|{{{Cost}}}|}} {{{Name|Missing name}}}}}
+
<includeonly><onlyinclude>{{Action Button|{{#if:{{{Cost|}}}|{{{Cost}}}|}} {{{Name|Missing name}}}}}{{#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''':
{{#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>{{#ifeq: {{{Aggressive|no}}}|yes|{{#ifeq:{{{1}}}|indent|***|**}} This action is '''[[Aggressive]]'''.|}}|}}{{#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: {{{Privacy|}}}|{{#ifeq:{{{1}}}|indent|**|*}}{{Notification|{{{Privacy|}}}}}{{#if: {{{Room Log|}}}|<nowiki>:</nowiki> ''{{{Room Log}}}''|}}<br>|{{#if: {{{Room Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}'''Room Log''': {{todo|Privacy?}}''{{{Room Log}}}''<br>|}}}}{{#if: {{{Public Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}{{Notification|Public}}: ''{{{Public Log}}}''<br>|}}{{#if: {{{Covert Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}{{Notification|Covert}}: ''{{{Covert Log}}}''<br>|}}{{#if: {{{Secret Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}{{Notification|Secret}}: ''{{{Secret Log}}}''<br>|}}{{#if: {{{Private Log|}}}|{{#ifeq:{{{1}}}|indent|**|*}}{{Notification|Private}}: ''{{{Private Log}}}''<br>|}}{{#if: {{{Announcement|}}}|{{#ifeq:{{{1}}}|indent|**|*}}{{Notification|Announcement}}: {{{Announcement}}}<br>|}}
 +
</onlyinclude></includeonly>
 
This template displays the details of an action.
 
This template displays the details of an action.
  
Line 9: Line 11:
 
|Cost =
 
|Cost =
 
<COST IN POINTS>
 
<COST IN POINTS>
 +
|Success Chance =
 +
<BASE CHANCE OF SUCCESS>
 
|Requirement =
 
|Requirement =
 
<CONDITIONS THAT HAVE TO BE MET FOR THIS ACTION TO APPEAR>
 
<CONDITIONS THAT HAVE TO BE MET FOR THIS ACTION TO APPEAR>
 
|Aggressive =
 
|Aggressive =
 
<optional: yes>
 
<optional: yes>
 +
|Dirty =
 +
<may make you dirty. optional: yes/always/(no)>
 
|Privacy =
 
|Privacy =
 
<PRIVACY LEVEL>
 
<PRIVACY LEVEL>
 
|Target =
 
|Target =
 
<TARGET OF ACTION>
 
<TARGET OF ACTION>
 +
|Available =
 +
<DAILY LIMIT?>
 
|Effect =
 
|Effect =
<EFFECTS OF ACTION>
+
<IN-LINE EFFECTS OF ACTION>
 +
|Effect =
 +
<EFFECTS OF ACTION (LIST)>
 +
|Affected by =
 +
<SKILLS/RESEARCHES/ITEMS/... AFFECTING THE ACTION>
 
|Room Log =
 
|Room Log =
 
<ROOM LOG LEFT BY ACTION>
 
<ROOM LOG LEFT BY ACTION>
 
}}</pre>
 
}}</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]])
 
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]])
 +
 +
It is possible  to replace both parameters "Privacy=" and "Room Log=" by one of "Public Log=", "Announcement=", etc.
  
 
Parameters are optional and can be entirely omitted from the list.
 
Parameters are optional and can be entirely omitted from the list.

Latest revision as of 14:47, 10 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)

It is possible to replace both parameters "Privacy=" and "Room Log=" by one of "Public Log=", "Announcement=", etc.

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!