Difference between revisions of "Template:IdentifyFriendOrFoe"

From The Shartak Wiki
Jump to navigationJump to search
m (Improved the description and made the template better looking, IMHO.)
(Simplified the explanation so that the box could be shrunk to the size of a regular userbox.)
Line 1: Line 1:
{| border="0" cellpadding="5" cellspacing="0" style="background-color: #fff6cd; border: solid 1px #ffe671; border-collapse: collapse; clear: both; margin: 0 auto; width: 450px"
+
<div style="float:{{{float|left}}}; border:1px solid #ffe671; margin:1px">
|-
+
{| cellspacing="0" style="width:238px"
|align="center" colspan="2" bgcolor="#ffe671"|'''[[:Category:IFF_supporter|Identify Friend or Foe Supporter]]'''
+
| style="width:45px; height:45px; background:#ffe671; text-align:center" | [[Image:Guilder.png|35px]]
|-
+
| style="font-size: 90%; background:#fff6cd; line-height: 140%; padding: 5px" | This user or clan supports the '''[[Identify Friend or Foe]]''' initiative.
|<div style="margin: 0 0 0 5px">[[Image:Guilder.png|60px]]</div>||<span style="font-size: 90%">This user or clan supports the [[Identify Friend or Foe]] initiative and will not attack an unidentified target until they have been identified as a foe by the exchange of [[gold]].</span>
 
 
|}
 
|}
 +
</div><br style="clear: both" />
 
<includeonly>[[Category:IFF supporter|{{PAGENAME}}]]</includeonly><noinclude>
 
<includeonly>[[Category:IFF supporter|{{PAGENAME}}]]</includeonly><noinclude>
 
 
==Usage==
 
==Usage==
  
 
Simply add the following to any page where you with this to be displayed:
 
Simply add the following to any page where you with this to be displayed:
  
'''<nowiki>{{IdentifyFriendOrFoe}}</nowiki>'''
+
:<nowiki>{{IdentifyFriendOrFoe}}</nowiki>
 +
 
 +
An optional ''float'' parameter may be specified to display the image at the right of a page (''float=right'') instead of the left:
 +
:<nowiki>{{IdentifyFriendOrFoe|float=right}}</nowiki>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 06:59, 30 July 2006

Guilder.png This user or clan supports the Identify Friend or Foe initiative.


Usage

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

{{IdentifyFriendOrFoe}}

An optional float parameter may be specified to display the image at the right of a page (float=right) instead of the left:

{{IdentifyFriendOrFoe|float=right}}