Template:InfoboxCommandStructure: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{| class="mw-collapsible mw-collapsed" border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| class="mw-collapsible mw-collapsed" border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan=" | ! colspan="3" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{unit_name}}}</font> | ||
|- | |- | ||
| style="{{#if:{{{parent_unit|}}}|display: none;}}" colspan="2" valign="top" halign="center" | '''Parent unit''' | | style="{{#if:{{{parent_unit|}}}|display: none;}} background-color: #DCDCDC" colspan="2" valign="top" halign="center" | '''Parent unit''' | ||
| style="{{#if:{{{parent_unit|}}}|display: none;}}" class="infoboxcell" valign="top" | {{{parent_unit}}}} | | style="{{#if:{{{parent_unit|}}}|display: none;}}" class="infoboxcell" valign="top" | {{{parent_unit}}}} | ||
|- | |||
| style="{{#if:{{{components|}}}|display: none;}} background-color: #DCDCDC" colspan="2" valign="top" halign="center" | '''Components''' | |||
| style="{{#if:{{{components|}}}|display: none;}}" class="infoboxcell" valign="top" | {{{components}}}} | |||
|} | |} | ||
</div> | </div> |
Revision as of 01:47, 4 April 2024
|
|
Example Usage: