Template:Infobox Military Structure: Difference between revisions

wikademia>Kirill Lokshin
Remove "Notable"
wikademia>Wikademia
m 44 revisions
 
(35 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; text-align: center;" | {{{name}}}
! colspan="2" {{WPMILHIST Infobox style|header_bar}} class="fn org" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}<!--
{{#if: {{{partof|}}} |
-->{{qif|test={{{image|}}}|then=<tr><td colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;">{{{image|}}}<br />{{{caption|}}}</td></tr>}}<!--
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Part of {{{partof}}}
-->{{qif|test={{{type|}}}|then=<tr><th style="text-align: left;">Type:</th><td>{{{type|}}}</td></tr>}}
}}
|-
|-
! style="text-align: left;" | Built:
| colspan="2" {{WPMILHIST Infobox style|header_bar}} class="label" | {{{location}}}
| {{{built|}}}<!--
-->{{qif|test={{{materials|}}}|then=<tr><th style="text-align: left;">Construction materials:</th><td>{{{materials|}}}</td></tr>}}
|-
|-
! style="text-align: left;" | In use:
{{#if: {{{image|}}} |
| {{{used|}}}<!--
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image}}}<br/>{{{caption|}}}
-->{{qif|test={{{controlledby|}}}|then=<tr><th style="text-align: left;">Controlled by:</th><td>{{{controlledby|}}}</td></tr>}}<!--
}}
-->{{qif|test={{{garrison|}}}|then=<tr><th style="text-align: left;">Garrison:</th><td>{{{garrison|}}}</td></tr>}}<!--
{{#if: {{{map_type|}}} |
-->{{qif|test={{{commanders|}}}|then=<tr><th style="text-align: left;">Commanders:</th><td>{{{commanders|}}}</td></tr>}}<!--
{{!}}-
-->{{qif|test={{{battles|}}}|then=<tr><th style="text-align: left;">Battles:</th><td>{{{battles|}}}</td></tr>}}
{{!}} 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>}}
|}<noinclude>
|-
[[Category:Infobox templates|Military Structure]]
{{#if: {{{type|}}} |
[[Category:WikiProject Military history templates|Infobox Military Structure]]
! style="padding-right: 1em;" {{!}} Type
{{!}} {{{type}}}
}}
|-
{{#if: {{{coordinates|}}} |
! style="padding-right: 1em;" {{!}} Coordinates
{{!}} {{{coordinates}}}
}}
|-
{{#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>