Difference between revisions of "Template:Non-canon section"

From FreeSpace Wiki
Jump to: navigation, search
(test for 'non-canon section' template box)
 
m (phrasing? i dunno.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="notice metadata" id="non-canon">
 
<div class="notice metadata" id="non-canon">
  
{| border=0 align=center cellpadding=2 cellspacing=0 width=95% style="margin: 0 0 1em 1em; background: #311; border: 1px #D33 solid; border-collapse: collapse; font-size: 100%;"
+
{| border=0 align=center cellpadding=2 cellspacing=0 width={{#if:{{{width|}}}|{{{width}}}|95%}} style="margin: 0 0 1em 1em; background: #311; border: 1px #D33 solid; border-collapse: collapse; font-size: 100%;"
 
! style="color: white; height: 30px; background: #522; 100%;"|'''''The following information has not been confirmed by Volition and is therefore [[canon|not canon]] for the FreeSpace universe.'''''
 
! style="color: white; height: 30px; background: #522; 100%;"|'''''The following information has not been confirmed by Volition and is therefore [[canon|not canon]] for the FreeSpace universe.'''''
 
|-
 
|-
Line 10: Line 10:
 
</div>
 
</div>
  
<noinclude>[[Category:Templates|Non-canon section]]</noinclude>
+
<noinclude>
 +
==Usage==
 +
<pre>{{non-canon section|content here}}</pre>
 +
 
 +
If you want to change the width add an optional parameter:
 +
 
 +
<pre>{{non-canon section|content here|width=number or percentage}}</pre>
 +
 
 +
[[Category:Templates|Non-canon section]]</noinclude>

Latest revision as of 04:28, 12 August 2011


Usage

{{non-canon section|content here}}

If you want to change the width add an optional parameter:

{{non-canon section|content here|width=number or percentage}}