More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | |||
<div class="NavFrame" style="border: none;"><div class="NavFrame" style="border: none;"> | <div class="NavFrame" style="border: none;"><div class="NavFrame" style="border: none;"> | ||
<div class="NavHead" style="font-weight:{{{fw1|bold}}}; background-color: {{{bg1|transparent}}}; text-align: {{{ta1|center}}};">{{{header| | <div class="NavHead" style="{{#if:{{{custom|}}}|font-weight:{{{fw1|bold}}}; background-color: {{{bg1|transparent}}};}} text-align: {{{ta1|center}}};">{{{header|}}} </div> | ||
<div class="NavContent" style="font-weight:{{{fw2|normal}}}; background-color: {{{bg2|transparent}}}; text-align: {{{ta2|left}}}; display:none;"> | <div class="NavContent" style="{{#if:{{{custom|}}}|font-weight:{{{fw2|normal}}}; background-color: {{{bg2|transparent}}};}} text-align: {{{ta2|left}}}; display:none;"> | ||
{{{content| | {{{content|}}} | ||
</div></div></div> | </div></div></div> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
= Documentation = | = Documentation = | ||
To show/hide items from view. This is a complex template. | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{hidden | |||
| header= | |||
| custom= | |||
| fw1= | |||
| fw2= | |||
| bg1= | |||
| bg2= | |||
| ta1= | |||
| ta2= | |||
| content= | |||
}} | |||
</pre> | </pre> | ||
=== Required parameters === | === Required parameters === | ||
Line 27: | Line 30: | ||
=== Optional parameters === | === Optional parameters === | ||
* ''' | * '''custom''': Must be enabled to use these. | ||
* ''' | ** '''fw1''': Text weight the header; Default '''normal''' | ||
* ''' | ** '''fw2''': Text weight the content; Default '''normal''' | ||
* ''' | ** '''bg1''': Background color the header; Default '''center''' | ||
** '''bg2''': Background color the content; Default '''center''' | |||
** '''ta1''': Text align the header; Default '''center''' | |||
** '''ta2''': Text align the content; Default '''center''' | |||
[[Category:Special effects templates|Hidden | [[Category:Special effects templates|Hidden]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:07, 23 August 2006
Documentation
To show/hide items from view. This is a complex template.
Usage
{{hidden | header= | custom= | fw1= | fw2= | bg1= | bg2= | ta1= | ta2= | content= }}
Required parameters
- header: What is the title of this "hidden" section.
- content: What you want displayed
Optional parameters
- custom: Must be enabled to use these.
- fw1: Text weight the header; Default normal
- fw2: Text weight the content; Default normal
- bg1: Background color the header; Default center
- bg2: Background color the content; Default center
- ta1: Text align the header; Default center
- ta2: Text align the content; Default center