Template:InfoboxCommandStructure: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background-color: #F8F9FA; border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background-color: #F8F9FA; border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | ||
|- | |- | ||
|<div> | |<div> | ||
Line 6: | Line 6: | ||
! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{unit_name}}}</font> | ! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{unit_name}}}</font> | ||
|- | |- | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{parent_unit|}}} | | style="{{#if:{{{parent_unit|}}}|display: none;}}" colspan="2" valign="top" halign="center" | '''Parent unit''' | ||
| style="{{#if:{{{parent_unit|}}} | | style="{{#if:{{{parent_unit|}}}|display: none;}}" class="infoboxcell" valign="top" | {{{parent_unit}}}} | ||
| | |} | ||
</div> | |||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 01:46, 4 April 2024
|
|
Example Usage: