Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Hidden: Difference between revisions

Template page
Shane (talk | contribs)
No edit summary
Shane (talk | contribs)
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|{{{1}}}}}}&nbsp;</div>
<div class="NavHead" style="{{#if:{{{custom|}}}|font-weight:{{{fw1|bold}}}; background-color: {{{bg1|transparent}}};}} text-align: {{{ta1|center}}};">{{{header|}}}&nbsp;</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|{{{2}}}}}}
{{{content|}}}
</div></div></div>
</div></div></div>
</includeonly>
<noinclude>
<noinclude>
= Documentation =
= Documentation =
''Insert what this template is about.''
To show/hide items from view. This is a complex template.


== Usage ==
== Usage ==
<pre>
<pre>
''Insert full usage here.''
{{hidden
| header=
| custom=
| fw1=
| fw2=
| bg1=
| bg2=
| ta1=
| ta2=
| content=
}}
</pre>
</pre>
=== Required parameters ===
''Insert Required parameters''
=== Optional parameters ===
''Insert Optional parameters''


=== Required parameters ===
=== Required parameters ===
Line 27: Line 30:


=== Optional parameters ===
=== Optional parameters ===
* '''ta1''': Text align the header; Default '''center'''
* '''custom''': Must be enabled to use these.
* '''ta2''': Text align the content; Default '''center'''
** '''fw1''': Text weight the header; Default '''normal'''
* '''extra1''': Any extra vars for style for the header
** '''fw2''': Text weight the content; Default '''normal'''
* '''extra2''': Any extra vars for style for the content
** '''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 Start]]
[[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