Template:Military navigation: Difference between revisions

Jump to navigation Jump to search
imported>Kirill Lokshin
(Testing)
imported>Kirill Lokshin
(Testing)
Line 1: Line 1:
{{#switch:{{{style|}}}
<div {{#switch:{{{style|}}}
|nohide=
|wide= {{WPMILHIST Infobox style|folding_box_wide}}
{{{!}} {{WPMILHIST Infobox style|main_box}}
|nohide= {{WPMILHIST Infobox style|folding_box_nohide}}
{{!}}-
|#default= {{WPMILHIST Infobox style|folding_box}}
! {{WPMILHIST Infobox style|header_bar}} {{!}} <span>{{#if:{{{raw_name|}}}|{{Tnavbar|{{{raw_name}}}|mini=1|style=position: absolute; width: auto; left: 0.5em;}}}}'''{{{title}}}'''</span>
}}>
{{!}}-
{{!}} style="text-align: center; font-size:0.9em;" {{!}} {{{body}}}
{{!}}}
|#default=
<div {{WPMILHIST Infobox style|{{#ifeq:{{{style|}}}|wide|folding_box_wide|folding_box}}}}>
<div class="NavHead" {{WPMILHIST Infobox style|header_bar}}> {{#if:{{{raw_name|}}}|{{Tnavbar|{{{raw_name}}}|mini=1|style=position: absolute; width: auto; left: 0.5em;}}}}'''{{{title}}}'''</div>
<div class="NavHead" {{WPMILHIST Infobox style|header_bar}}> {{#if:{{{raw_name|}}}|{{Tnavbar|{{{raw_name}}}|mini=1|style=position: absolute; width: auto; left: 0.5em;}}}}'''{{{title}}}'''</div>
<div class="NavContent" style="text-align: center; font-size:0.9em;">{{{body}}}</div></div>
<div class="NavContent" style="text-align: center; font-size:0.9em;">{{{body}}}</div></div>
}}

Revision as of 04:34, 13 July 2007