Template:Hidden begin: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>David Kernow
m (typo correction)
>David Kernow
({{{type}}} →{{{toggle}}})
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><div class="NavFrame" style="border:{{{border|none}}};"><!--
--><div class="NavFrame" style="border:{{{border|none}}};"><!--
-->{{#if:{{{type|}}}
-->{{#ifeq:{{{toggle|}}} |<!--equals:-->left
   |<!--then:
   |<!--then:
     -------------------------------------------------------------------------------
     ----------------------------------------------------------------
     {{{type}}} instantiated, so use format with [hide/show] link on lefthand side
     toggle=left, so format [hide/show] link on lefthand side:
     -------------------------------------------------------------------------------
     ----------------------------------------------------------------
      --><div class="NavFrame"   style="width:100%; position:relative; border:{{{border|none}}};">
    --><div class="NavFrame" style="width:100%; position:relative; border:{{{border|none}}};"><!--
        <div class="NavHead"     style="width:2.3em; background:transparent; position:absolute;"></div><div style="height:1.6em; background:transparent; text-align:left; padding-left:2em; font-size:100%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</div>
    --><div class="NavHead" style="width:2.3em; background:transparent; position:absolute;"></div><div style="height:1.6em; background:transparent; text-align:left; padding-left:2em; font-size:100%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</div><!--
        <div class="NavContent" style="text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!--
    --><div class="NavContent" style="text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!--


-->|<!--else:
-->|<!--else:
     --------------------------------------------------------------------------------------
     -------------------------------------------------------------
     {{{type}}} not instantiated, so standard format ([hide/show] link on righthand side)
     toggle/=left, so format [hide/show] link on righthand side:
     --------------------------------------------------------------------------------------
     -------------------------------------------------------------
      --><div class="NavFrame"   style="border:{{{border|none}}};"><!--
    --><div class="NavFrame" style="border:{{{border|none}}};"><!--
      --><div class="NavHead"     style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!---deprecated:--->{{{header|}}}<!----> {{{title|}}}&nbsp;</div>
    --><div class="NavHead" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!---deprecated:--->{{{header|}}}<!----> {{{title|}}}&nbsp;</div><!--
        <div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
    --><div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--


-->}}</includeonly><noinclude><!--
-->}}</includeonly><noinclude><!--

Revision as of 03:28, 3 June 2007