Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:StructureORVehicle-Infobox: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
 
Line 1: Line 1:
<infobox>
{{infobox
| subheader = {{#if:{{{franchise|}}}|{{{franchise|}}}}}
<title source="title">
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
<default>{{PAGENAME}}</default>
| image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]
</title>
}}
<image source="image1">
<caption source="caption1"/>
| caption1 = {{{caption|}}}
</image>
<data source="type">
<label>Type</label>
</data>
<data source="cost">
<label>Cost</label>
</data>
<data source="hull">
<label>Hull</label>
</data>
<data source="cap">
<label>Capacity</label>
</data>
<data source="limit">
<label>Limit Cap</label>
</data>
<data source="arm">
<label>Armament</label>
</data>
</infobox>
<noinclude>
Example usage:
<pre>
{{StructureORVehicle-Infobox


| image2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}}
| title1=Example
| caption2 = {{{caption2|}}}
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em;
| headerstyle = background:#eaecee;
| autoheaders = y
<!-------------------------------------------------------------->


| header1 = {{#if:{{{type|}}}{{{cost|}}}{{{requirement|}}}{{{speed|}}}{{{acceleration|}}}{{{boost|}}}{{{recharge|}}}{{{speed_increase|}}}{{{drift_cost|}}}{{{duration|}}}{{{drift_speed_penalty|}}}{{{shield|}}}{{{recharge_delay|}}}{{{recharge_rate|}}}{{{hull|}}}|Vehicle Stats}}
| image1=Example


| label2 = Type
| caption1=Example
| data2 = {{{type|}}}


| label3 = Cost
| type=Example
| data3 = {{{cost|}}}


| label4 = Requirement
| cost=Example
| data4 = {{{requirement|}}}


| label5 = Speed
| hull=Example
| data5 = {{{speed|}}}


| label6 = Acceleration
| cap=Example
| data6 = {{{acceleration|}}}


| label7 = Boost
| limit=Example
| data7 = {{{boost|}}}


| label8 = Recharge
| arm=Example
| data8 = {{{recharge|}}}


| label9 = Speed Increase
}}
| data9 = {{{speed_increase|}}}
</pre>

<templatedata>
| label10 = Drift Cost
{
| data10 = {{{drift_cost|}}}
"params": {

"image": {
| label11 = Duration
"type": "wiki-file-name"
| data11 = {{{duration|}}}
},

"type": {
| label12 = Drift Speed Penalty
"type": "string"
| data12 = {{{drift_speed_penalty|}}}
},

"cost": {
| label13 = Shield
"type": "string"
| data13 = {{{shield|}}}
},

"hull": {
| label14 = Recharge Delay
"type": "string"
| data14 = {{{recharge_delay|}}}
},

"cap": {
| label15 = Recharge Rate
"type": "string"
| data15 = {{{recharge_rate|}}}
},

"limit": {
| label16 = Hull
"type": "string"
| data16 = {{{hull|}}}
},

"arm": {
<!---------------------------------->
"type": "content"

}
| header20 = {{#if:{{{damage|}}}{{{ammo|}}}{{{rate_of_fire|}}}|{{{weapon_1|}}}}}
}
| data20 = {{{weapon_1|}}}
}
| label21 = Damage
</templatedata>
| data21 = {{{damage|}}}
</noinclude>
| label22 = Ammo
| data22 = {{{ammo|}}}
| label23 = Rate of Fire
| data23 = {{{rate_of_fire|}}}

}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 00:02, 24 July 2023

StructureORVehicle-Infobox
Template documentation[create]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.