Template:Infobox Military Structure: Difference between revisions

wikademia>Kirill Lokshin
Add field
wikademia>Wikademia
m 44 revisions
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
{| {{WPMILHIST Infobox style|main_box|vcard}}
|-  
|-  
! colspan="2" {{WPMILHIST Infobox style|header_bar}} class="fn org"| {{{name|{{PAGENAME}}}}}
! colspan="2" {{WPMILHIST Infobox style|header_bar}} class="fn org" | {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{partof|}}} |
{{#if: {{{partof|}}} |
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Part of {{{partof|}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Part of {{{partof}}}
}}
}}
|-
|-
| colspan="2" {{WPMILHIST Infobox style|header_bar}} class="label"| {{{location}}}
| colspan="2" {{WPMILHIST Infobox style|header_bar}} class="label" | {{{location}}}
|-
|-
{{#if:{{{image|}}} |
{{#if: {{{image|}}} |
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{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="padding-right: 1em;" {{!}} Type
! style="padding-right: 1em;" {{!}} Type
{{!}} {{{type|}}}
{{!}} {{{type}}}
}}
}}
|-
|-
{{#if:{{{coordinates|}}} |
{{#if: {{{coordinates|}}} |
! style="padding-right: 1em;" {{!}} Coordinates
! style="padding-right: 1em;" {{!}} Coordinates
{{!}} {{{coordinates|}}}
{{!}} {{{coordinates}}}
}}
}}
|-
|-
{{#if:{{{code|}}} |
{{#if: {{{code|}}} |
! style="padding-right: 1em;" {{!}} Location code
! style="padding-right: 1em;" {{!}} Location code
{{!}} {{{code|}}}
{{!}} {{{code}}}
}}
}}
|- class="note"
|- class="note"
! style="padding-right: 1em;" | Built
{{#if: {{{built|}}} |
| {{{built|}}}
! style="padding-right: 1em;" {{!}} Built
{{!}} {{{built}}}
}}
|- class="note"
|- class="note"
{{#if:{{{builder|}}} |
{{#if: {{{builder|}}} |
! style="padding-right: 1em;" {{!}} Built&nbsp;by
! style="padding-right: 1em;" {{!}} Built&nbsp;by
{{!}} {{{builder|}}}
{{!}} {{{builder}}}
}}
}}
|-
|-
{{#if:{{{materials|}}} |
{{#if: {{{materials|}}} |
! style="padding-right: 1em;" {{!}} Construction<br/>materials
! style="padding-right: 1em;" {{!}} Construction<br/>materials
{{!}} {{{materials|}}}
{{!}} {{{materials}}}
}}
}}
|-
|-
{{#if:{{{height|}}} |
{{#if: {{{height|}}} |
! style="padding-right: 1em;" {{!}} Height
! style="padding-right: 1em;" {{!}} Height
{{!}} {{{height|}}}
{{!}} {{{height}}}
}}
}}
|-
|-
! style="padding-right: 1em;" | In&nbsp;use
{{#if: {{{used|}}} |
| {{{used|}}}
! style="padding-right: 1em;" {{!}} In&nbsp;use
{{!}} {{{used}}}
}}
|- class="note"
|- class="note"
{{#if:{{{demolished|}}} |
{{#if: {{{demolished|}}} |
! style="padding-right: 1em;" {{!}} Demolished
! style="padding-right: 1em;" {{!}} Demolished
{{!}} {{{demolished|}}}
{{!}} {{{demolished}}}
}}
}}
|-
|-
{{#if:{{{condition|}}} |
{{#if: {{{condition|}}} |
! style="padding-right: 1em;" {{!}} Current<br/>condition
! style="padding-right: 1em;" {{!}} Current<br/>condition
{{!}} {{{condition|}}}
{{!}} {{{condition}}}
}}
}}
|-
|-
{{#if:{{{ownership|}}} |
{{#if: {{{ownership|}}} |
! style="padding-right: 1em;" {{!}} Current<br/>owner
! style="padding-right: 1em;" {{!}} Current<br/>owner
{{!}} {{{ownership|}}}
{{!}} {{{ownership}}}
}}
}}
|-
|-
{{#if:{{{open_to_public|}}} |
{{#if: {{{open_to_public|}}} |
! style="padding-right: 1em;" {{!}} Open&nbsp;to<br/>the&nbsp;public
! style="padding-right: 1em;" {{!}} Open&nbsp;to<br/>the&nbsp;public
{{!}} {{{open_to_public|}}}
{{!}} {{{open_to_public}}}
}}
}}
|-
|-
{{#if:{{{controlledby|}}} |
{{#if: {{{controlledby|}}} |
! style="padding-right: 1em;" {{!}} Controlled&nbsp;by
! style="padding-right: 1em;" {{!}} Controlled&nbsp;by
{{!}} {{{controlledby|}}}
{{!}} {{{controlledby}}}
}}
}}
|-
|-
{{#if:{{{garrison|}}} |
{{#if: {{{garrison|}}} |
! style="padding-right: 1em;" {{!}} Garrison
! style="padding-right: 1em;" {{!}} Garrison
{{!}} {{{garrison|}}}
{{!}} {{{garrison}}}
}}
}}
|-
|-
{{#if:{{{current_commander|}}} |
{{#if: {{{current_commander|}}} |
! style="padding-right: 1em;" {{!}} Current<br/>commander
! style="padding-right: 1em;" {{!}} Current<br/>commander
{{!}} {{{current_commander|}}}
{{!}} {{{current_commander}}}
}}
}}
|-
|-
{{#if:{{{commanders|}}} |
{{#if: {{{commanders|}}} |
! style="padding-right: 1em;" {{!}} Commanders
! style="padding-right: 1em;" {{!}} Commanders
{{!}} {{{commanders|}}}
{{!}} {{{commanders}}}
}}
}}
|-
|-
{{#if:{{{occupants|}}} |
{{#if: {{{occupants|}}} |
! style="padding-right: 1em;" {{!}} Occupants
! style="padding-right: 1em;" {{!}} Occupants
{{!}} {{{occupants|}}}
{{!}} {{{occupants}}}
}}
}}
|-
|-
{{#if:{{{battles|}}} |
{{#if: {{{battles|}}} |
! style="padding-right: 1em;" {{!}} Battles/wars
! style="padding-right: 1em;" {{!}} Battles/wars
{{!}} {{{battles|}}}
{{!}} {{{battles}}}
}}
}}
|-
|-
{{#if:{{{events|}}} |
{{#if: {{{events|}}} |
! style="padding-right: 1em;" {{!}} Events
! style="padding-right: 1em;" {{!}} Events
{{!}} {{{events|}}}
{{!}} {{{events}}}
}}
|-
{{#if: {{{image2|}}} |
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box_plain}} {{!}} {{{image2}}}<br/>{{{caption2|}}}
}}
}}
|}</includeonly><noinclude>{{esoteric}}
|}</includeonly><noinclude>
 
{{Documentation}}
{{Wikipedia:WikiProject Military history/Military structure infobox}}
<!-- 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}}]]
 
[[fr:Modèle:Infobox structure militaire]]
[[sl:Predloga:Infopolje Vojaška zgradba]]
</noinclude>
</noinclude>