Jump to content

Template:Infobox Military Structure: Difference between revisions

From IdeaWazaWiki
wikademia>Kirill Lokshin
Change label to allow different conflicts
wikademia>Ligulem
qif → #if: (see m:ParserFunctions) using AWB
Line 4: Line 4:
|-
|-
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}<!--
| colspan="2" style="text-align: center; background: lightsteelblue;" | {{{location}}}<!--
-->{{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>}}<!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;">{{{image|}}}<br />{{{caption|}}}</td></tr>}}<!--
-->{{qif|test={{{type|}}}|then=<tr><th style="text-align: left;">Type:</th><td>{{{type|}}}</td></tr>}}
-->{{#if:{{{type|}}}|<tr><th style="text-align: left;">Type:</th><td>{{{type|}}}</td></tr>}}
|-
|-
! style="text-align: left;" | Built:
! style="text-align: left;" | Built:
| {{{built|}}}<!--
| {{{built|}}}<!--
-->{{qif|test={{{materials|}}}|then=<tr><th style="text-align: left;">Construction materials:</th><td>{{{materials|}}}</td></tr>}}
-->{{#if:{{{materials|}}}|<tr><th style="text-align: left;">Construction materials:</th><td>{{{materials|}}}</td></tr>}}
|-
|-
! style="text-align: left;" | In use:
! style="text-align: left;" | In use:
| {{{used|}}}<!--
| {{{used|}}}<!--
-->{{qif|test={{{controlledby|}}}|then=<tr><th style="text-align: left;">Controlled by:</th><td>{{{controlledby|}}}</td></tr>}}<!--
-->{{#if:{{{controlledby|}}}|<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:{{{garrison|}}}|<tr><th style="text-align: left;">Garrison:</th><td>{{{garrison|}}}</td></tr>}}<!--
-->{{qif|test={{{commanders|}}}|then=<tr><th style="text-align: left;">Commanders:</th><td>{{{commanders|}}}</td></tr>}}<!--
-->{{#if:{{{commanders|}}}|<tr><th style="text-align: left;">Commanders:</th><td>{{{commanders|}}}</td></tr>}}<!--
-->{{qif|test={{{battles|}}}|then=<tr><th style="text-align: left;">Battles/wars:</th><td>{{{battles|}}}</td></tr>}}
-->{{#if:{{{battles|}}}|<tr><th style="text-align: left;">Battles/wars:</th><td>{{{battles|}}}</td></tr>}}
|}<noinclude>
|}<noinclude>
[[Category:Infobox templates|Military Structure]]
[[Category:Infobox templates|Military Structure]]
[[Category:WikiProject Military history templates|Infobox Military Structure]]
[[Category:WikiProject Military history templates|Infobox Military Structure]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 22:27, 21 April 2006

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