Template:InfoboxCommandStructure: Difference between revisions

From RoNations Wiki
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>
|-
|-
|-
! colspan="2" style="text-align:center; background:#F8F9FA;" | <font style="font-size:100%;">{{{native_name}}}</font>
|- style="text-align:center;"
|-
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image|}}}||display:none;}}" {{!}}{{{image}}}
{{!}}-
}}
|- 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;}}" colspan="2" valign="top" halign="center" | '''Parent unit'''
| style="{{#if:{{{parent_unit|}}}| |display: none;}}" class="infoboxcell" valign="top" | test
| style="{{#if:{{{parent_unit|}}}|display: none;}}" class="infoboxcell" valign="top" | {{{parent_unit}}}}
|-
|}
| '''Parent unit'''
</div>
| test
|}</div>
|}
|}
<noinclude>
<noinclude>

Revision as of 02:46, 4 April 2024

{{{unit_name}}}
Parent unit {{{parent_unit}}}}
{{{unit_name}}}
Parent unit

Example Usage: