Difference between revisions of "Template:ExamplePlay"

From NsdWiki
Jump to: navigation, search
m
Line 11: Line 11:
 
;action2
 
;action2
 
:The second action, usually a second player's roll
 
:The second action, usually a second player's roll
 +
;action3
 +
:The third action
 +
;action4
 +
:The fourth action
 
;result
 
;result
 
:A description of the result
 
:A description of the result
Line 19: Line 23:
 
|{{{when|}}}
 
|{{{when|}}}
 
|-
 
|-
|<ul><li>{{{action1|}}}</li><li>{{{action2|}}}</li></ul>
+
|<ul><li>{{{action1|}}}</li><li>{{{action2|}}}</li>{{#if:{{{action3|}}}|<li>{{{action3}}}</li>|}}{{#if:{{{action4|}}}|<li>{{{action4}}}</li>|}}</ul>
 
|-
 
|-
 
|{{{result|}}}
 
|{{{result|}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 12:25, 4 June 2011

This template is used to show an example of play.

The parameters that can be used are as follows:

caption
The caption on the table
when
The description of the setup
action1
The first action, usually one player's roll
action2
The second action, usually a second player's roll
action3
The third action
action4
The fourth action
result
A description of the result

Here is an example of the example:

Example 1
The player wants to hit the other with a badger
  • Player 1 rolls a 10.
  • Player 2 rolls a 1.
Player 2 is hit with the badger.