Difference between revisions of "Template:ExamplePlay"

From NsdWiki
Jump to: navigation, search
(New page: <noinclude> 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 ;actio...)
 
m
Line 17: Line 17:
 
{{ExamplePlay|caption=Example 1|when=The player wants to hit the other with a badger|action1=Player 1 rolls a 10.|action2=Player 2 rolls a 1.|result=Player 2 is hit with the badger.}}
 
{{ExamplePlay|caption=Example 1|when=The player wants to hit the other with a badger|action1=Player 1 rolls a 10.|action2=Player 2 rolls a 1.|result=Player 2 is hit with the badger.}}
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{| class="example" style="background-color: #fff; border: 1px solid #333;" cellpadding="0" cellspacing="10"
{| class="example" style="background-color: #fff; border: 1px solid #333;" cellpadding="0" cellspacing="10"
 
 
|+ {{{caption|Example}}}
 
|+ {{{caption|Example}}}
 
|{{{when|}}}
 
|{{{when|}}}
Line 25: Line 24:
 
|-
 
|-
 
|{{{result|}}}
 
|{{{result|}}}
|}
+
|}</includeonly>
</includeonly>
 

Revision as of 00:08, 2 March 2010

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
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.