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...)
 
 
(3 intermediate revisions by the same user not shown)
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
  
 
Here is an example of the example:
 
Here is an example of the example:
 +
 
{{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>
+
==See Also==
<includeonly>
+
* [[Template:Example]]</noinclude><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|}}}
 
|-
 
|-
|<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>
 

Latest revision as of 00:03, 7 April 2015

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.

See Also