Infobox/Vehicle – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Some wiki formatting)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="width:23em; font-size:90%; text-align:left; border:1px solid #ddd; background-color:#E8E8E8; color:black; margin-bottom:0.5em; margin-left:1em; float:right; clear:right; padding:0;border-collapse: collapse;"
<includeonly>{| class="wikitable float-right" style="font-size: 0.85em; width: 286px"
! style="font-size:120%; text-align: center;" | ''{{{title}}}''
{{if defined call|{{{image|}}}|echo|[[Image:{{{image}}}|center|230px]]}}
|-
|-
! style="text-align: center;background-color: #6E8B3D;" | Crew
! colspan="2" style="background-color: #6E8B3D; color: #FFF; padding: 0.5em; font-size: 120%;" | '''{{{Name|{{PAGENAME}}}}}'''
|-
|-
! style="padding:0.3em; font-weight:normal" | {{{crew}}}
{{#if: {{{image|}}}|
{{!}} colspan="2" style="text-align: center; background-color: #FFF; padding: 0" {{!}} [[File:{{{image}}}|{{{size|286px}}}|frameless|center]]}}
|-
|-
! style="text-align: center;background-color: #6E8B3D;" | Armor
{{#if: {{{creator|}}}|
! colspan="2" style="line-height:1.2em; padding: 0.5em; text-align:center" {{!}} {{{creator}}} }}
|-
|-
! style="padding:0.3em; font-weight:normal" | {{{armor}}}
{{#if: {{{crew|}}}|
! Crew
{{!}} {{{crew}}} }}
|-
|-
! style="text-align: center;background-color: #6E8B3D;" | Speed
{{#if: {{{armor|}}}|
! Armor
{{!}} {{{armor}}} }}
|-
|-
! style="padding:0.3em; font-weight:normal" | {{{Speed}}}
{{#if: {{{speed|}}}|
! Speed
{{!}} {{{speed}}} }}
|-
|-
! style="text-align: center;background-color: #6E8B3D;" | Weapons
{{#if: {{{weapons|}}}|
! Weapons
{{!}} {{{weapons}}} }}
|-
|-
! style="padding:0.3em; font-weight:normal" | {{{weapons}}}
{{#if: {{{vehicleclasses|}}}|
|-
! Vehicle classes
! style="text-align: center;background-color: #6E8B3D;" | Vehicle classes
{{!}} {{{vehicleclasses}}} }}
|}</includeonly><noinclude>
== Usage ==
{| style="width: 100%"
|- style="background-color: #EEE"
! Code
! Result
|-
|-
! style="padding:0.3em; font-weight:normal" | {{{vehicleclasses}}}
| <pre>{{Infobox/Vehicle
|}
|creator = BI Studios
 
|image = Ofp m113.jpg
<noinclude>
|crew = 3 [[Crew|crew]] soldiers
 
|armor = 150
== Usage ==
|speed = 60
{| style="background: transparent; border: none;"
|weapons = Browning ({{ofp}})<br>M2 ({{arma1}})
|<pre>
|vehicleclasses = armored ({{ofp}})<br>tracked ({{arma1}})
{{Infobox_squad
}}</pre>
|title =  
| {{Infobox/Vehicle
|image =  
|creator = BI Studios
|crew =  
|image = Ofp m113.jpg
|armor =  
|crew = 3 [[Crew|crew]] soldiers
|speed =  
|armor = 150
|weapons =  
|speed = 60
|vehicleclasses =  
|weapons = Browning ({{ofp}})<br>M2 ({{arma1}})
|vehicleclasses = armored ({{ofp}})<br>tracked ({{arma1}})
}}
}}
</pre>
|}
|}


Picture thumbnail width is 230px. Image must be in form Imagename.jpg, without any tags.
{{Feature|informative|Picture thumbnail width is '''230px'''. Image must be in form Imagename.jpg, without any tags.}}
 
 
{{Important|Please do not try usage of infobox in this page, do it in you sandbox or in your squad article.}}


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
</noinclude>

Latest revision as of 10:26, 25 March 2024

Usage

Code Result
{{Infobox/Vehicle
|creator = BI Studios
|image = Ofp m113.jpg
|crew = 3 [[Crew|crew]] soldiers
|armor = 150
|speed = 60
|weapons = Browning ({{ofp}})<br>M2 ({{arma1}})
|vehicleclasses = armored ({{ofp}})<br>tracked ({{arma1}})
}}
Infobox/Vehicle
Ofp m113.jpg
BI Studios
Crew 3 crew soldiers
Armor 150
Speed 60
Weapons Browning (Operation Flashpoint)
M2 (Armed Assault)
Vehicle classes armored (Operation Flashpoint)
tracked (Armed Assault)
Picture thumbnail width is 230px. Image must be in form Imagename.jpg, without any tags.