Actions

Template

Difference between revisions of "Hidden begin"

From Unofficial Stationeers Wiki

(Changed default text-alignment to "left", for readability's sake. (If you must, you can set the "ta1=" value to "center" on your article's pages.))
(<includeonly>, +parameter table)
Line 1: Line 1:
<div class="NavFrame" style="border: {{{border|none}}};"><div class="NavFrame" style="border: {{{border|none}}};">
+
<includeonly><div class="NavFrame" style="border:{{{border|none}}};"><div class="NavFrame" style="border:{{{border|none}}};">
<div class="NavHead" style="background-color: {{{bg1|transparent}}}; text-align: {{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}&nbsp;</div>
+
<div class="NavHead" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}&nbsp;</div>
<div class="NavContent" style="background-color: {{{bg2|transparent}}}; text-align: {{{ta2|left}}}; {{{extra2|}}}"><noinclude>
+
<div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}}"></includeonly><noinclude>
 +
 
 +
===Parameters===
 +
{| class="wikitable"
 +
! Parameter !! Description !! Default<tr/>
 +
| ''border'' || Border width and type (style="border:<nowiki>{{{border|}}}</nowiki>;") || none</tr>
 +
| ''bg1''    || Titlebar background color            || transparent</tr>
 +
| ''ta1''    || Titlebar text-alignment              || left</tr>
 +
| ''extra1'' || Any extra styles to apply to titlebar || (nothing)</tr>
 +
| ''bg2''    || Body background color                || transparent</tr>
 +
| ''ta2''    || Body text-alignment                  || left</tr>
 +
| ''extra2'' || Any extra styles to apply to body    || (nothing)</tr>
 +
|}
 +
 
 
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
 
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 21:08, 9 January 2007


Parameters

Parameter Description Default<tr/> border Border width and type (style="border:{{{border|}}};") none</tr> bg1 Titlebar background color transparent</tr> ta1 Titlebar text-alignment left</tr> extra1 Any extra styles to apply to titlebar (nothing)</tr> bg2 Body background color transparent</tr> ta2 Body text-alignment left</tr> extra2 Any extra styles to apply to body (nothing)</tr>