Jump to content

Template:Infobox Military Structure: Difference between revisions

From IdeaWazaWiki
wikademia>Kirill Lokshin
Add usage notes; remove now-redundant category
wikademia>Kirill Lokshin
Change to cleaner code in preparation for HTML processing changes in MediaWiki
Line 3: Line 3:
! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{name}}}
! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{name}}}
|-
|-
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}<!--
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;">{{{image|}}}<br />{{{caption|}}}</td></tr>}}<!--
|-
-->{{#if:{{{type|}}}|<tr><th style="text-align: left;">Type:</th><td>{{{type|}}}</td></tr>}}
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
}}
|-
{{#if:{{{type|}}}|
! style="text-align: left;" {{!}} Type:
{{!}} {{{type|}}}
}}
|-
|-
! style="text-align: left;" | Built:
! style="text-align: left;" | Built:
| {{{built|}}}<!--
| {{{built|}}}
-->{{#if:{{{materials|}}}|<tr><th style="text-align: left;">Construction materials:</th><td>{{{materials|}}}</td></tr>}}
|-
{{#if:{{{materials|}}}|
! style="text-align: left;" {{!}} Construction materials:
{{!}} {{{materials|}}}
}}
|-
|-
! style="text-align: left;" | In use:
! style="text-align: left;" | In use:
| {{{used|}}}<!--
| {{{used|}}}
-->{{#if:{{{controlledby|}}}|<tr><th style="text-align: left;">Controlled by:</th><td>{{{controlledby|}}}</td></tr>}}<!--
|-
-->{{#if:{{{garrison|}}}|<tr><th style="text-align: left;">Garrison:</th><td>{{{garrison|}}}</td></tr>}}<!--
{{#if:{{{controlledby|}}}|
-->{{#if:{{{commanders|}}}|<tr><th style="text-align: left;">Commanders:</th><td>{{{commanders|}}}</td></tr>}}<!--
! style="text-align: left;" {{!}} Controlled by:
-->{{#if:{{{battles|}}}|<tr><th style="text-align: left;">Battles/wars:</th><td>{{{battles|}}}</td></tr>}}
{{!}} {{{controlledby|}}}
}}
|-
{{#if:{{{garrison|}}}|
! style="text-align: left;" {{!}} Garrison:
{{!}} {{{garrison|}}}
}}
|-
{{#if:{{{commanders|}}}|
! style="text-align: left;" {{!}} Commanders:
{{!}} {{{commanders|}}}
}}
|-
{{#if:{{{battles|}}}|
! style="text-align: left;" {{!}} Battles/wars:
{{!}} {{{battles|}}}
}}
|}<noinclude> {{clear}}
|}<noinclude> {{clear}}
== Usage ==
== Usage ==

Revision as of 23:52, 6 June 2006

{{{name}}}
{{{location}}}
Built:
In use:

Usage

{{Wikipedia:WikiProject Military history/Military structure infobox}}