Difference between revisions of "Template:NativesAgainstExorcism"

From The Shartak Wiki
Jump to navigationJump to search
(New Tamplate: NAE)
 
(Fixed)
 
Line 1: Line 1:
{| cellspacing="0" style="border:1px solid #2191FE; {{ifeq:{{{float|none}}}|none|margin-left: auto; margin-right: auto;|float: {{{float|left}}};}} margin-top: 1px; margin-bottom: 1px; width: 238px"
+
{| cellspacing="0" style="border:1px solid #2191FE; {{#ifeq:{{{float|none}}}|none|margin-left: auto; margin-right: auto;|float: {{{float|left}}};}} margin-top: 1px; margin-bottom: 1px; width: 238px"
 
| style="width:45px; height:45px; background:white; text-align:center" | [[Image:NAE.png]]
 
| style="width:45px; height:45px; background:white; text-align:center" | [[Image:NAE.png]]
 
| style="font-size: 90%; background:#96C8F9; line-height: 140%; padding: 5px; text-align:center" | This user or clan supports the '''[[Natives Against Exorcism]]''' initiative.
 
| style="font-size: 90%; background:#96C8F9; line-height: 140%; padding: 5px; text-align:center" | This user or clan supports the '''[[Natives Against Exorcism]]''' initiative.
|}{{ifeq:{{{float|none}}}|none||<br style="clear: both" />}}
+
|}{{#ifeq:{{{float|none}}}|none||<br style="clear: both" />}}
 
<includeonly>[[Category:NAE supporter|{{PAGENAME}}]]</includeonly><noinclude>
 
<includeonly>[[Category:NAE supporter|{{PAGENAME}}]]</includeonly><noinclude>
 
==Usage==
 
==Usage==

Latest revision as of 22:57, 3 September 2008

NAE.png This user or clan supports the Natives Against Exorcism initiative.

Usage

Simply add the following to any page where you wish this to be displayed:

{{NativesAgainstExorcism}}

The template will be centered by default. An optional float parameter may be specified to display the image at the left or right of a page instead of the left, as in:

{{NativesAgainstExorcism|float=left}}

Changing "left" to "right" will show the template at the right of the page instead.


Code borrowed from the Identify Friend or Foe initiative.