Template:Infobox Military Structure: Difference between revisions

wikademia>David Kernow
rm colons per here
wikademia>Wikademia
m 44 revisions
 
(26 intermediate revisions by 12 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|}}} |
{{!}} 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|}}} |
! 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:{{{image|}}} |
{{#if: {{{ownership|}}} |
{{!}}colspan="2" style="text-align:center; font-size:90%; border-bottom:1px solid #aaa;"{{!}} {{{image|}}}<br/>{{{caption|}}}
! style="padding-right: 1em;" {{!}} Current<br/>owner
{{!}} {{{ownership}}}
}}
}}
|-
|-
{{#if:{{{type|}}} |
{{#if: {{{open_to_public|}}} |
!style="text-align:left;"{{!}} Type
! style="padding-right: 1em;" {{!}} Open&nbsp;to<br/>the&nbsp;public
{{!}} {{{type|}}}
{{!}} {{{open_to_public}}}
}}
}}
|-
|-
!style="text-align:left;"| Built&nbsp;&nbsp;
{{#if: {{{controlledby|}}} |
| {{{built|}}}
! style="padding-right: 1em;" {{!}} Controlled&nbsp;by
{{!}} {{{controlledby}}}
}}
|-
|-
{{#if:{{{materials|}}} |
{{#if: {{{garrison|}}} |
!style="text-align:left;"{{!}} Construction<br>materials
! style="padding-right: 1em;" {{!}} Garrison
{{!}}style="vertical-align:middle;"{{!}} {{{materials|}}}
{{!}} {{{garrison}}}
}}
}}
|-
|-
!style="text-align:left;"| In use
{{#if: {{{current_commander|}}} |
| {{{used|}}}
! style="padding-right: 1em;" {{!}} Current<br/>commander
{{!}} {{{current_commander}}}
}}
|-
|-
{{#if:{{{controlledby|}}} |
{{#if: {{{commanders|}}} |
!style="text-align:left;"{{!}} Controlled&nbsp;by&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Commanders
{{!}} {{{controlledby|}}}
{{!}} {{{commanders}}}
}}
}}
|-
|-
{{#if:{{{garrison|}}} |
{{#if: {{{occupants|}}} |
!style="text-align:left;"{{!}} Garrison&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Occupants
{{!}} {{{garrison|}}}
{{!}} {{{occupants}}}
}}
}}
|-
|-
{{#if:{{{commanders|}}} |
{{#if: {{{battles|}}} |
!style="text-align:left;"{{!}} Commanders&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Battles/wars
{{!}} {{{commanders|}}}
{{!}} {{{battles}}}
}}
}}
|-
|-
{{#if:{{{battles|}}} |
{{#if: {{{events|}}} |
!style="text-align:left;"{{!}} Battles/wars&nbsp;&nbsp;
! style="padding-right: 1em;" {{!}} Events
{{!}} {{{battles|}}}
{{!}} {{{events}}}
}}
|-
{{#if: {{{image2|}}} |
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box_plain}} {{!}} {{{image2}}}<br/>{{{caption2|}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Wikipedia:WikiProject Military history/Military structure infobox}}
{{Documentation}}
 
<!-- Please add categories and interwikis to the /doc subpage, not here. -->
[[Category:Geography infobox templates|Military Structure]]
[[Category:Military infobox templates|Structure]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
</noinclude>
</noinclude>