Template:Hidden begin

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<!--
+
<div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}">
-->{{#ifeq:{{{toggle|}}}|left
+
<div class="NavHead">{{{title|{{{1}}}}}}</div>
  | <!------------------------------------------------------------
+
<div class="NavContent">
      toggle=left, so format [hide/show] link on lefthand side:
+
      -------------------------------------------------------------
+
      --><div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}" style="width:100%; position:relative; border:{{{border|1}}};"><!--
+
          --><div class="NavHead" style="width:2.8em; background:transparent; position:absolute;"></div><!--
+
          --><div style="height:1.6em; background:transparent; text-align:left; padding-left:2.3em; font-size:100%; font-weight:bold; {{{titlestyle|}}}"><!--
+
              -->&nbsp;&nbsp;<!--(deprecated:)-->{{{header|}}}<!---->{{{title|}}}</div><!--
+
          --><div class="NavContent" style="text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!--
+
 
+
-->| <!------------------------------------------------------------
+
      toggle/=left, so format [hide/show] link on righthand side:
+
      -------------------------------------------------------------
+
      --><div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}" style="border:{{{border|none}}};"><!--
+
          --><div class="NavHead" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!--
+
                  <!--(deprecated:)-->{{{header|}}}<!----> {{{title|}}}&nbsp;</div><!--
+
          --><div class="NavContent" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
+
 
+
-->}}
+
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Line 28: Line 11:
 
= Syntax =
 
= Syntax =
 
  <nowiki>{{</nowiki>Hidden begin
 
  <nowiki>{{</nowiki>Hidden begin
|toggle=
+
  |title=Title of hidden block
|border=
+
  |expanded=Whether to show hidden block as expanded
|header=
+
  |title=
+
  |titlestyle=
+
|bodystyle=
+
|bg1=
+
|bg2=
+
|ta1=
+
|ta2=
+
|extra1=
+
|extra2=
+
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:43, 15 July 2012


How to use

{{hidden begin | Block Caption }} 
{{hidden end }} 

Syntax

{{Hidden begin
|title=Title of hidden block
|expanded=Whether to show hidden block as expanded
}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox