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

Template:Infobox Structure: Difference between revisions

Template page
Content deleted Content added
No edit summary
Reformatted infobox
Line 1:
{{infobox
| aboveimage1 = {{#if:{{{name|image}}}|[[File:{{{nameimage}}}|100px|frameless|alt={{PAGENAMEBASE{alt|}}}|]]}}
 
| image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}}
| caption1 = {{{caption|}}}
| imagerowclass1 = infobox-image {{#if:{{{imagebg|}}}|{{#switch:{{{imagebg}}}|light=infobox-image--light|dark=infobox-image--dark|}}}}
 
| image2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|frameless|alt={{{alt|}}}|border|upright=.6|]]}}
| caption2 = {{{caption2|}}}
 
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em;
| headerstyle = background:#eaecee;
| autoheaders = y
<!-------------------------------------------------------------->
 
| header1 = {{#if:{{{type|}}}{{{cost|}}}{{{requirement|}}}{{{hull|}}}{{{income|}}}{{{ru_capacity|}}}{{{limit_cap|}}}{{{placement|}}}{{{special_property|}}}|Structure Stats{{PAGENAMEBASE}}}}
| rowclass1 = infobox-title
 
| label2 = Type
| data2 = {{{type|}}}
| rowclass2 = data-type infobox-data infobox-col2
 
| label3 = Cost
| data3 = {{{cost|}}}
| rowclass3 = data-cost infobox-data infobox-col2
 
| label4 = Requirement
| data4 = {{{requirement|}}}
| rowclass4 = data-requirement infobox-data infobox-col2
 
| label5 = Hull
| data5 = {{{hull|}}}
| rowclass5 = data-hull infobox-data infobox-col2
 
| label6 = Income
| data6 = {{{income|}}}
| rowclass6 = data-income infobox-data infobox-col2
 
| label7 = RU Capacity
| data7 = {{{ru_capacity|}}}
| rowclass7 = data-rucapacity infobox-data infobox-col2
 
| label8 = Limit Cap
| data8 = {{{limit_cap|}}}
| rowclass8 = data-limitcap infobox-data infobox-col2
 
| label9 = Can be placed at
| data9 = {{{placement|}}}
| rowclass9 = data-placement infobox-data infobox-col2
 
| label10 = Special Property
| data10 = {{{special_property|}}}
| rowclass10 = data-specialproperty infobox-data infobox-col2
 
<!---------------------------------->
Line 46 ⟶ 49:
| header20 = {{#if:{{{damage_1|}}}{{{ammo_1|}}}{{{rate_of_fire_1|}}}|{{{weapon_name_1|}}}}}
| data20 = {{{weapon_name_1|}}}
| rowclass20 = data-weaponname infobox-data infobox-title
 
| label21 = Damage
| data21 = {{{damage_1|}}}
| rowclass21 = data-damage infobox-data infobox-col2
 
| label22 = Ammo
| data22 = {{{ammo_1|}}}
| rowclass22 = data-ammo infobox-data infobox-col2
 
| label23 = Rate of Fire
| data23 = {{{rate_of_fire_1|}}}
| rowclass23 = data-rateoffire infobox-data infobox-col2
 
<!---------------------------------->
Line 60 ⟶ 67:
| header30 = {{#if:{{{damage_2|}}}{{{ammo_2|}}}{{{rate_of_fire_2|}}}|{{{weapon_name_2|}}}}}
| data30 = {{{weapon_name_2|}}}
| rowclass30 = data-weaponname2 infobox-data infobox-title
 
| label31 = Damage
| data31 = {{{damage_2|}}}
| rowclass31 = data-damage2 infobox-data infobox-col2
 
| label32 = Ammo
| data32 = {{{ammo_2|}}}
| rowclass32 = data-ammo2 infobox-data infobox-col2
 
| label33 = Rate of Fire
| data33 = {{{rate_of_fire_2|}}}
| rowclass33 = data-rateoffire infobox-data infobox-col2
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 09:11, 23 January 2024

[[File:{{{image}}}|100px|frameless|alt=|]]
Template documentation[create]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.