Template:Infobox Military Structure: Difference between revisions

wikademia>Kirill Lokshin
m Shrink the font a bit
wikademia>Wikademia
m 44 revisions
 
(27 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
{| class="infobox" style="width: 315px; border-spacing: 2px; font-size: 95%;"
|-  
|-  
! 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|}}} |
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Part of {{{partof}}}
}}
|-
| colspan="2" {{WPMILHIST Infobox style|header_bar}} class="label" | {{{location}}}
|-
|-
{{#if:{{{image|}}}|
{{#if: {{{image|}}} |
{{!}} colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image}}}<br/>{{{caption|}}}
}}
}}
{{#if: {{{map_type|}}} |
{{!}}-
{{!}} 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>}}
|-
|-
{{#if:{{{type|}}}|
{{#if: {{{type|}}} |
! style="text-align: left;" {{!}} Type:
! style="padding-right: 1em;" {{!}} Type
{{!}} {{{type|}}}
{{!}} {{{type}}}
}}
}}
|-
|-
! style="text-align: left;" | Built:
{{#if: {{{coordinates|}}} |
| {{{built|}}}
! style="padding-right: 1em;" {{!}} Coordinates
{{!}} {{{coordinates}}}
}}
|-
|-
{{#if:{{{materials|}}}|
{{#if: {{{code|}}} |
! style="text-align: left;" {{!}} Construction materials:
! style="padding-right: 1em;" {{!}} Location code
{{!}} {{{materials|}}}
{{!}} {{{code}}}
}}
|- class="note"
{{#if: {{{built|}}} |
! style="padding-right: 1em;" {{!}} Built
{{!}} {{{built}}}
}}
|- class="note"
{{#if: {{{builder|}}} |
! style="padding-right: 1em;" {{!}} Built&nbsp;by
{{!}} {{{builder}}}
}}
}}
|-
|-
! style="text-align: left;" | In use:
{{#if: {{{materials|}}} |
| {{{used|}}}
! 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:{{{controlledby|}}}|
{{#if: {{{occupants|}}} |
! style="text-align: left;" {{!}} Controlled by:
! style="padding-right: 1em;" {{!}} Occupants
{{!}} {{{controlledby|}}}
{{!}} {{{occupants}}}
}}
}}
|-
|-
{{#if:{{{garrison|}}}|
{{#if: {{{battles|}}} |
! style="text-align: left;" {{!}} Garrison:
! style="padding-right: 1em;" {{!}} Battles/wars
{{!}} {{{garrison|}}}
{{!}} {{{battles}}}
}}
}}
|-
|-
{{#if:{{{commanders|}}}|
{{#if: {{{events|}}} |
! style="text-align: left;" {{!}} Commanders:
! style="padding-right: 1em;" {{!}} Events
{{!}} {{{commanders|}}}
{{!}} {{{events}}}
}}
}}
|-
|-
{{#if:{{{battles|}}}|
{{#if: {{{image2|}}} |
! style="text-align: left;" {{!}} Battles/wars:
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box_plain}} {{!}} {{{image2}}}<br/>{{{caption2|}}}
{{!}} {{{battles|}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Wikipedia:WikiProject Military history/Military structure infobox}}
{{Documentation}}
[[Category:Geography infobox templates|Military Structure]]
<!-- Please add categories and interwikis to the /doc subpage, not here. -->
[[Category:Military infobox templates|Structure]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>