Difference between revisions of "Template:Rule"

From AmtWiki
(formatting)
(formatting)
Line 1: Line 1:
<includeonly><div style="margin: 2em; padding: 1em; background-color: #FFFFee; border-style: groove; border-color: #FFFF55; position: relative;">{{{1}}}<div style="position: absolute; bottom: 5px; right: 10px; font-size: small; color: #666;">{{#if:{{{2|}}}|{{rulebook|{{{2}}}|Rulebook {{{2}}}}}|<span style="color: red;">Rulebook version missing!</span>}}</div></div>[[Category:{{{2}}} Rulebook Content]]</includeonly><noinclude>Creates a box that contains rulebook text. The rulebook version should be appended to the end as parameter 2. Example:
+
<includeonly><div style="margin: 1em; padding: 1em; background-color: #FFFFee; border-style: groove; border-color: #FFFF55; position: relative;">{{{1}}}<div style="position: absolute; bottom: 5px; right: 10px; font-size: small; color: #666;">{{#if:{{{2|}}}|{{rulebook|{{{2}}}|Rulebook {{{2}}}}}|<span style="color: red;">Rulebook version missing!</span>}}</div></div>[[Category:{{{2}}} Rulebook Content]]</includeonly><noinclude>Creates a box that contains rulebook text. The rulebook version should be appended to the end as parameter 2. Example:
  
 
<pre><nowiki>{{rule
 
<pre><nowiki>{{rule

Revision as of 15:03, 11 February 2025

Creates a box that contains rulebook text. The rulebook version should be appended to the end as parameter 2. Example:

{{rule
|'''Persuasion'''

Intelligent monsters and NPCs find the players arguments
more convincing than they otherwise would and are more
likely to be influenced by the player.
|8.6.2}}

becomes:

Persuasion

Intelligent monsters and NPCs find the players arguments more convincing than they otherwise would and are more likely to be influenced by the player.