Template:Hidden: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
(Undo revision 100546172 by Drew R. Smith (Talk))
imported>Drew R. Smith
No edit summary
Line 7: Line 7:


--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|<!--
  -->#default=collapsed {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->#default=collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!--
  -->subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|<!--
  -->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
  -->#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
Line 20: Line 20:
  -->class="navbox-title"><!--
  -->class="navbox-title"><!--


-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
  -->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
  -->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
  -->{{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}|<!--
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}|<!--
  -->{{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}|<!--
  --><div style="float:left; width:6em;text-align:left;"><!--
  --><div style="float:left; width:6em;text-align:left;"><!--
-->{{Navbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}}<!--
  --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
  --></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--


  --><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
  --><span class="{{{titleclass|}}}" style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
  -->{{{title}}}</span></th></tr><!--
  -->{{{title}}}</span></th></tr>}}<!--





Revision as of 04:05, 7 August 2009

This documentation is transcluded from Template:Hidden/doc (edit | history)

This template was originally developed to serve a simple purpose. However, in its development, it grew into something with a much larger function.


Basic Usage

The basic use of this template is to hide text with a [show/hide] link.

Example

{{Hidden
| title = Title Here
| state = collapsed
| list1   = Hidden Stuff
}}