More actions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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> | |||
= Documentation = | |||
To show/hide items from view. This is a complex template. | |||
== Usage == | |||
<pre> | |||
{{hidden | |||
| header= | |||
| custom= | |||
| fw1= | |||
| fw2= | |||
| bg1= | |||
| bg2= | |||
| ta1= | |||
| ta2= | |||
| content= | |||
}} | |||
</pre> | |||
=== 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''' | |||
[[Category:Special effects templates|Hidden]] | |||
</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