Template:Infobox Military Structure: Difference between revisions

wikademia>Kirill Lokshin
Move "type" field up
wikademia>Wikademia
m 44 revisions
 
(39 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 315px; border-spacing: 2px; "
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
|-  
|-  
! colspan="2" style="background: lightsteelblue;" | {{{name}}}
! colspan="2" {{WPMILHIST Infobox style|header_bar}} class="fn org" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}
{{#if: {{{partof|}}} |
|- class{{{image|}}}="hiddenStructure"
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Part of {{{partof}}}
| colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" | {{{image|}}}<br/>{{{caption|}}}
}}
|- class{{{type|}}}="hiddenStructure"
! style="text-align: left;" | Type:
| {{{type|}}}
|-
|-
! style="text-align: left;" | Built:
| colspan="2" {{WPMILHIST Infobox style|header_bar}} class="label" | {{{location}}}
| {{{built|}}}
|- class{{{materials|}}}="hiddenStructure"
! style="text-align: left;" | Construction materials:
| {{{materials|}}}
|-
|-
! style="text-align: left;" | In use:
{{#if: {{{image|}}} |
| {{{used|}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image}}}<br/>{{{caption|}}}
|- class{{{controlledby|}}}="hiddenStructure"  
}}
! style="text-align: left;" | Controlled by:
{{#if: {{{map_type|}}} |
| {{{controlledby|}}}
{{!}}-
|- class{{{garrison|}}}="hiddenStructure"  
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} <center>{{Location map|{{{map_type}}}|lat={{{latitude}}}|long={{{longitude}}}|width={{{map_size|220}}}|float=center|border=none|caption={{{map_caption|Shown within {{{map_type}}}}}}}}</center>}}
! style="text-align: left;" | Garrison:
|-
| {{{garrison|}}}
{{#if: {{{type|}}} |
|- class{{{commanders|}}}="hiddenStructure"  
! style="padding-right: 1em;" {{!}} Type
! style="text-align: left;" | Notable commanders:
{{!}} {{{type}}}
| {{{commanders|}}}
}}
|- class{{{battles|}}}="hiddenStructure"  
|-
! style="text-align: left;" | Notable battles:
{{#if: {{{coordinates|}}} |
| {{{battles|}}}
! style="padding-right: 1em;" {{!}} Coordinates
|}<noinclude>
{{!}} {{{coordinates}}}
[[Category:Infobox templates|Military Structure]]
}}
|-
{{#if: {{{code|}}} |
! style="padding-right: 1em;" {{!}} Location code
{{!}} {{{code}}}
}}
|- class="note"
{{#if: {{{built|}}} |
! style="padding-right: 1em;" {{!}} Built
{{!}} {{{built}}}
}}
|- class="note"
{{#if: {{{builder|}}} |
! style="padding-right: 1em;" {{!}} Built&nbsp;by
{{!}} {{{builder}}}
}}
|-
{{#if: {{{materials|}}} |
! style="padding-right: 1em;" {{!}} Construction<br/>materials
{{!}} {{{materials}}}
}}
|-
{{#if: {{{height|}}} |
! style="padding-right: 1em;" {{!}} Height
{{!}} {{{height}}}
}}
|-
{{#if: {{{used|}}} |
! style="padding-right: 1em;" {{!}} In&nbsp;use
{{!}} {{{used}}}
}}
|- class="note"
{{#if: {{{demolished|}}} |
! style="padding-right: 1em;" {{!}} Demolished
{{!}} {{{demolished}}}
}}
|-
{{#if: {{{condition|}}} |
! style="padding-right: 1em;" {{!}} Current<br/>condition
{{!}} {{{condition}}}
}}
 
|-
{{#if: {{{ownership|}}} |
! style="padding-right: 1em;" {{!}} Current<br/>owner
{{!}} {{{ownership}}}
}}
|-
{{#if: {{{open_to_public|}}} |
! style="padding-right: 1em;" {{!}} Open&nbsp;to<br/>the&nbsp;public
{{!}} {{{open_to_public}}}
}}
|-
{{#if: {{{controlledby|}}} |
! style="padding-right: 1em;" {{!}} Controlled&nbsp;by
{{!}} {{{controlledby}}}
}}
|-
{{#if: {{{garrison|}}} |
! style="padding-right: 1em;" {{!}} Garrison
{{!}} {{{garrison}}}
}}
|-
{{#if: {{{current_commander|}}} |
! style="padding-right: 1em;" {{!}} Current<br/>commander
{{!}} {{{current_commander}}}
}}
|-
{{#if: {{{commanders|}}} |
! style="padding-right: 1em;" {{!}} Commanders
{{!}} {{{commanders}}}
}}
|-
{{#if: {{{occupants|}}} |
! style="padding-right: 1em;" {{!}} Occupants
{{!}} {{{occupants}}}
}}
|-
{{#if: {{{battles|}}} |
! style="padding-right: 1em;" {{!}} Battles/wars
{{!}} {{{battles}}}
}}
|-
{{#if: {{{events|}}} |
! style="padding-right: 1em;" {{!}} Events
{{!}} {{{events}}}
}}
|-
{{#if: {{{image2|}}} |
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box_plain}} {{!}} {{{image2}}}<br/>{{{caption2|}}}
}}
|}</includeonly><noinclude>
{{Documentation}}
<!-- Please add categories and interwikis to the /doc subpage, not here. -->
</noinclude>
</noinclude>