Difference between revisions of "Template:Example"

From NsdWiki
Jump to: navigation, search
Line 5: Line 5:
 
;caption
 
;caption
 
:The caption on the table
 
:The caption on the table
;parameter #0
+
;parameter #1
 
:A description of the example
 
:A description of the example
  
 
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|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.}}
 
==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}}}
 
|+ {{{caption|Example}}}
|{{{0|}}}
+
|{{{1|}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 00:09, 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:

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