Difference between revisions of "Template:Historical Article"

From The Shartak Wiki
Jump to navigationJump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellspacing="0" style="border:1px solid #ffe671; {{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 #ffe671; {{#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:#ffe671; text-align:center" | [[Image:Scroll.PNG]]
 
| style="width:45px; height:45px; background:#ffe671; text-align:center" | [[Image:Scroll.PNG]]
| style="font-size: 90%; background:#fff6cd; line-height: 140%; padding: 5px" | This is a [[Historians' Guild|historical]] article, describing a past event that occurred on Shartak.
+
| style="font-size: 90%; background:#fff6cd; line-height: 140%; padding: 5px" | This is a [[:Category:Historical_Article|historical]] article, describing a past event or events that occurred on Shartak.
|}{{ifeq:{{{float|none}}}|none||<br style="clear: both" />}}
+
|}{{#ifeq:{{{float|none}}}|none||<br style="clear: both" />}}
 
<includeonly>[[Category:Historical Article|{{PAGENAME}}]]</includeonly><noinclude>
 
<includeonly>[[Category:Historical Article|{{PAGENAME}}]]</includeonly><noinclude>
 
==Usage==
 
==Usage==

Latest revision as of 03:04, 7 October 2010

Scroll.PNG This is a historical article, describing a past event or events that occurred on Shartak.

Usage

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

{{Historical_Article}}

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:

{{Historical_Article|float=left}}

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