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" | |||
|- | |- | ||
|<div> | |<div> | ||
{| 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="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> | ||
Line 17: | Line 17: | ||
|- style="border-top: 1px solid #999;" | |- style="border-top: 1px solid #999;" | ||
| style="{{#if:{{{parent_unit|}}}| |display: none;}} background-color: #DCDCDC;" valign="top" halign="center" | '''Parent unit''' | | style="{{#if:{{{parent_unit|}}}| |display: none;}} background-color: #DCDCDC;" valign="top" halign="center" | '''Parent unit''' | ||
| style="{{#if:{{{parent_unit|}}}| |display: none;}}" class="infoboxcell" valign="top" | | | style="{{#if:{{{parent_unit|}}}| |display: none;}}" class="infoboxcell" valign="top" | test | ||
|- | |||
| '''Parent unit''' | |||
| test | |||
|}</div> | |}</div> | ||
<noinclude> | <noinclude> | ||
{{InfoboxCommandStructure | {{InfoboxCommandStructure |
Revision as of 01:44, 4 April 2024
| 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" |-
|
{{{unit_name}}} | |
---|---|
{{{native_name}}} | |
Parent unit | test |
| 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" |-
|
{{{unit_name}}} | |
---|---|
{{{native_name}}} | |
Parent unit | test |
Parent unit | test |
Example Usage: