Difference between revisions of "Template:REOperation"

From The Shartak Wiki
Jump to navigationJump to search
(Simplified the text and shrunk the box greatly; +Category:Templates.)
(Allowed for left/center/right alignment and updated usage notes.)
Line 1: Line 1:
<div style="float:{{{float|left}}}; border:1px solid #cc6600; margin:1px">
+
{| cellspacing="0" style="border:1px solid #cc6600; {{ifeq:{{{float|none}}}|none|margin: 0 auto;|float: {{{float|left}}};}} width:238px"
{| cellspacing="0" style="width:238px"
 
 
| style="width:45px; height:45px;  text-align:center" | [[Image:Untitled-1 copy.jpg|35px]]
 
| style="width:45px; height:45px;  text-align:center" | [[Image:Untitled-1 copy.jpg|35px]]
 
| style="font-size: 90%; background:#ffe7d1; line-height: 140%; padding: 5px" | The '''[[Royal Expedition]]''' asks non-members of their clan to not edit this page.
 
| style="font-size: 90%; background:#ffe7d1; line-height: 140%; padding: 5px" | The '''[[Royal Expedition]]''' asks non-members of their clan to not edit this page.
 
|}
 
|}
</div><br style="clear: both" />
+
<br style="clear: both" />
 
<includeonly>[[Category:RE pages|{{PAGENAME}}]]</includeonly><noinclude>
 
<includeonly>[[Category:RE pages|{{PAGENAME}}]]</includeonly><noinclude>
 
==Usage==
 
==Usage==
Simply add ''<nowiki>{{REOperation}}</nowiki>'' to any page where you with this to be displayed.
+
Simply add the following to any page where you wish this to be displayed:
 +
:<nowiki>{{REOperation}}</nowiki>
 +
 
 +
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:
 +
:<nowiki>{{REOperation|float=left}}</nowiki>
 +
 
 +
Changing "left" to "right" will show the template at the right of the page instead.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 02:08, 1 August 2006

Untitled-1 copy.jpg The Royal Expedition asks non-members of their clan to not edit this page.


Usage

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

{{REOperation}}

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:

{{REOperation|float=left}}

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