Difference between revisions of "Template:Example"

From NsdWiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
Here is an example of the example:
 
Here is an example of the example:
{{Example|caption=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.}}
+
{{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==
 
==See Also==
 
* [[Template:ExamplePlay]]</noinclude><includeonly>{| class="example" style="background-color: #fff; border: 1px solid #333;" cellpadding="0" cellspacing="10"
 
* [[Template:ExamplePlay]]</noinclude><includeonly>{| class="example" style="background-color: #fff; border: 1px solid #333;" cellpadding="0" cellspacing="10"
|+ {{{caption|Example}}}
+
|+ {{{1}}}
|-
+
|{{{2|}}}
|{{{0|}}}
 
 
|}</includeonly>
 
|}</includeonly>

Latest revision as of 00:10, 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
parameter #1
A description of the example

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