Jump to content

Template:Infobox Military Structure: Difference between revisions

From IdeaWazaWiki
wikademia>Kirill Lokshin
Remove strange alignment
wikademia>Kirill Lokshin
Clean up code
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:315px; border-spacing:2px; font-size:95%;"
{| class="infobox" style="width: 315px; border-spacing: 2px; font-size: 95%; text-align: left;"
|-  
|-  
!colspan="2" style="background:lightsteelblue; text-align:center;"| {{{name}}}
! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{name}}}
|-
|-
|colspan="2" style="text-align:center; background:lightsteelblue;"| {{{location}}}
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}
|-
|-
{{#if:{{{image|}}} |
{{#if:{{{image|}}} |
{{!}}colspan="2" style="text-align:center; font-size:90%; border-bottom:1px solid #aaa;"{{!}} {{{image|}}}<br/>{{{caption|}}}
{{!}} colspan="2" style="text-align: center; font-size:90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
}}
}}
|-
|-
{{#if:{{{type|}}} |
{{#if:{{{type|}}} |
!style="text-align:left;"{{!}} Type
! style="padding-right: 1em;" {{!}} Type
{{!}} {{{type|}}}
{{!}} {{{type|}}}
}}
}}
|-
|-
!style="text-align:left;"| Built&nbsp;&nbsp;
! style="padding-right: 1em;" | Built
| {{{built|}}}
| {{{built|}}}
|-
|-
{{#if:{{{materials|}}} |
{{#if:{{{materials|}}} |
!style="text-align:left;"{{!}} Construction<br>materials
! style="padding-right: 1em;" {{!}} Construction<br/>materials
{{!}} {{{materials|}}}
{{!}} {{{materials|}}}
}}
}}
|-
|-
!style="text-align:left;"| In use
! style="padding-right: 1em;" | In use
| {{{used|}}}
| {{{used|}}}
|-
|-
{{#if:{{{controlledby|}}} |
{{#if:{{{controlledby|}}} |
!style="text-align:left;"{{!}} Controlled&nbsp;by&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Controlled&nbsp;by
{{!}} {{{controlledby|}}}
{{!}} {{{controlledby|}}}
}}
}}
|-
|-
{{#if:{{{garrison|}}} |
{{#if:{{{garrison|}}} |
!style="text-align:left;"{{!}} Garrison&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Garrison
{{!}} {{{garrison|}}}
{{!}} {{{garrison|}}}
}}
}}
|-
|-
{{#if:{{{commanders|}}} |
{{#if:{{{commanders|}}} |
!style="text-align:left;"{{!}} Commanders&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Commanders
{{!}} {{{commanders|}}}
{{!}} {{{commanders|}}}
}}
}}
|-
|-
{{#if:{{{battles|}}} |
{{#if:{{{battles|}}} |
!style="text-align:left;"{{!}} Battles/wars&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Battles/wars
{{!}} {{{battles|}}}
{{!}} {{{battles|}}}
}}
}}

Revision as of 15:19, 27 September 2006

{{Wikipedia:WikiProject Military history/Military structure infobox}}