Difference between revisions of "Template:4E"

From Action
Jump to navigation Jump to search
m (Changed subtitle.)
m (Implemented conditional 4E category.)
Line 1: Line 1:
 +
{{/doc}}
 
{| 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 9: Line 10:
 
|align="center" style="font-size:90%;"|4th Edition ''Dungeons & Dragons''
 
|align="center" style="font-size:90%;"|4th Edition ''Dungeons & Dragons''
 
|-
 
|-
|}<includeonly>[[Category:4E]]</includeonly><noinclude>[[Category:Game templates]]</noinclude>
+
|}<includeonly>{{ifexpr:{{{category|1}}}|[[Category:4E]]|}}</includeonly><noinclude>[[Category:Game templates]]</noinclude>

Revision as of 07:58, 30 September 2008

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