Actions

Template

Difference between revisions of "Hidden begin"

From Unofficial Stationeers Wiki

(made change per talk request)
(rv, see talk)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{show-hide|}}}|left <!--
+
<includeonly><!--
 +
-->{{#ifeq:{{{toggle|}}}|left
 +
  | <!------------------------------------------------------------
 +
      toggle=left, so format [hide/show] link on lefthand side:
 +
      -------------------------------------------------------------
 +
      --><div class="NavFrame" style="width:100%; position:relative; border:{{{border|none}}};"><!--
 +
          --><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="display:none; text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!--
  
  -->| <!------------------------------------------------------------
+
-->| <!------------------------------------------------------------
        show-hide=left, so place [show/hide] link on lefthand side:
+
      toggle/=left, so format [hide/show] link on righthand side:
        -------------------------------------------------------------
+
      -------------------------------------------------------------
        --><div class="NavFrame" <!--
+
      --><div class="NavFrame" style="border:{{{border|none}}};"><!--
            -->style="position:relative; <!--
+
          --><div class="NavHead" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!--
                    -->width:100%; border:{{{border|none}}};"><!--
+
                  <!--(deprecated:)-->{{{header|}}}<!----> {{{title|}}}&nbsp;</div><!--
                --------positioning [show/hide]--------
+
          --><div class="NavContent" style="display:none; background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
            --><div class="NavHead" <!--
 
                -->style="position:absolute; <!--
 
                        -->width:3.4em;<!--to move [show/hide] onto titlebar--> <!--
 
                        -->background:transparent;"><!--
 
            --></div><!--
 
                ----------------Title------------------
 
            --><div style="height:1.6em; <!--
 
                        -->padding-left:3.6em;<!--i.e. NavHead width above plus 0.2em--> <!--
 
                        -->background:{{{titlebackground|transparent}}}; <!--
 
                        -->text-align:{{{titlealign|left}}}; font-size:100%; <!--
 
                        -->font-weight:bold; {{{titlestyle|}}}"><!--
 
                -->{{{title|}}}</div><!--
 
                ------------Body formatting------------
 
            --><div class="NavContent" <!--
 
                -->style="display:none; <!--
 
                        -->background:{{{bodybackground|transparent}}}; <!--
 
                        -->text-align:{{{bodyalign|left}}}; {{{bodystyle|}}}"><!--
 
  
  -->| <!--------------------------------------------------------------
+
-->}}</includeonly><noinclude><!--
        show-hide/=left, so place [show/hide] link on righthand side:
 
        ---------------------------------------------------------------
 
        --><div class="NavFrame" <!--
 
            -->style="border:{{{border|none}}};"><!--
 
                ---------Title and [show/hide]---------
 
            --><div class="NavHead" <!--
 
                -->style="background:{{{titlebackground|transparent}}}; <!--
 
                        -->text-align:{{{titlealign|left}}}; {{{titlestyle|}}}"><!--
 
                -->{{{title|}}} </div><!--
 
                ------------Body formatting------------
 
            --><div class="NavContent" <!--
 
                -->style="display:none; <!--
 
                        -->background:{{{bodybackground|transparent}}}; <!--
 
                        -->text-align:{{{bodyalign|left}}}; {{{bodystyle|}}}"><!--
 
  
-->}}</includeonly><noinclude>
+
 
{{pp-template|small=yes}}
+
-->{{documentation|Template:Hidden begin-end/doc}}
{{documentation|Template:Hidden begin-end/doc}}
+
 
<!---Please add metadata to the <includeonly> section at the bottom
+
<!--- Please add metadata to the <includeonly> section at the bottom of Template:Hidden begin-end/doc --->
    of [[Template:Hidden begin-end/doc]], not here - thank you!--->
 
 
</noinclude>
 
</noinclude>

Revision as of 21:58, 29 August 2008

Template documentation[create]