Difference between revisions of "Template:4E"

From Action
Jump to navigation Jump to search
m (Implemented conditional 4E category.)
m (Wrong template edited!)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{/doc}}
+
<noinclude>{{/doc}}</noinclude>
 
{| class="infobox" style="position:relative; float: right; clear: right; font-size: 100%; background: white; border: none; margin: 0; margin-bottom: 0.2em; margin-left: 5px;"
 
{| class="infobox" style="position:relative; float: right; clear: right; font-size: 100%; background: white; border: none; margin: 0; margin-bottom: 0.2em; margin-left: 5px;"
 
|-
 
|-
Line 10: Line 10:
 
|align="center" style="font-size:90%;"|4th Edition ''Dungeons & Dragons''
 
|align="center" style="font-size:90%;"|4th Edition ''Dungeons & Dragons''
 
|-
 
|-
|}<includeonly>{{ifexpr:{{{category|1}}}|[[Category:4E]]|}}</includeonly><noinclude>[[Category:Game templates]]</noinclude>
+
|}<includeonly>{{#ifexpr:{{{category|1}}}|[[Category:4E]]|}}</includeonly><noinclude>[[Category:Game templates]]</noinclude>

Latest revision as of 07:23, 19 January 2012

This template adds a logo and category to 4th Edition Dungeons & Dragons pages.

Usage

Call the template at the beginning of the page:

{{4E}}
<!-- Content -->
Powers are...

Arguments

  • category - Defaults to 1 (true). Adds the 4E category to the page. Use 0 if you do not want the to add the category.

Preview

4ED&D 4E
4th Edition Dungeons & Dragons