Template:InfoboxCommandStructure: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="mw-collapsible mw-collapsed" 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>
{| 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="3" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{name}}}</font><br /><font style="font-size:100%;">{{{date}}}</font>
|-
|-
| 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}}}}
|-
|-
! colspan="2" style="text-align:center; background:#F8F9FA;" | <font style="font-size:100%;">{{{native_name}}}</font>
|- colspan="3" style="background-color: #F8F9FA; height: 20px"
|- style="text-align:center;"
|-
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{components|}}}|display: none;}} background-color: #DCDCDC" colspan="2" valign="top" halign="center" | '''Components'''
{{#if:{{{image<includeonly>|</includeonly>}}} |
| style="{{#if:{{{components|}}}|display: none;}}" class="infoboxcell" valign="top" | {{{components}}}}
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image|}}}||display:none;}}" {{!}}{{{image}}}
|}
{{!}}-
</div>
}}
|- 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;}}" class="infoboxcell" valign="top" | {{{parent_unit|}}}
|}</div>
|}
|}
<noinclude>
<noinclude>

Latest revision as of 01:50, 4 April 2024

{{{name}}}
{{{date}}}
Parent unit {{{parent_unit}}}}
Components {{{components}}}}
Name of unit
Dates of operation
Parent unit
Components

Example Usage: