Template:Infobox Weapon: Difference between revisions

From Red Faction Wiki
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="font-size:89%; float:{{{align|right}}}; width:250px; background-color:#cccccc;"
<infobox>
|-
    <group>
|colspan="2" style="text-align:center; background:#cccccc; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"|<big>'''{{{name}}}'''<big>
<title source="name"><default>{{PAGENAME}}</default><format>{{{name|{{PAGENAME}}}}}</format></title>
|-
<media source="image"/>
|colspan="2" style="text-align:center; background:#FFFFFF"|{{{image}}}
<header source="imageinfo"><small>{{{imageinfo}}}</small></header>
|-
</group>
|colspan="2" style="text-align:center; background:#cccccc"|''{{{game}}}''
 
|-
<group>
|style="background:#ffffff"|'''Faction'''
<data source="game"><label>'''Game'''</label></data>
|style="color:white; background:#aaaaaa"|{{{faction}}}
<data source="faction"><label>'''Faction'''</label></data>
|-
<data source="first"><label>'''First Appears'''</label></data>
|style="background:#ffffff"|'''Type'''
</group>
|style="color:white; background:#aaaaaa"|{{{type}}}
 
|-
<group>
|style="background:#ffffff"|'''When available'''
<header><small>Information</small></header>
|style="color:white; background:#aaaaaa"|{{{when available}}}
<data source="type"><label>'''Weapon Type'''</label></data>
|-
<data source="ammo"><label>'''Ammo Type'''</label></data>
|style="background:#ffffff"|'''Price'''
<data source="range"><label>'''Effective Range'''</label></data>
|style="color:white; background:#aaaaaa"|{{{price}}}
<data source="price"><label>'''Price'''</label></data>
|-
<data source="clip"><label>'''Magazine Size'''</label></data>
|style="background:#ffffff"|'''Upgrades'''
<data source="primary"><label>'''Primary Fire'''</label></data>
|style="color:white; background:#aaaaaa"|{{{upgrades}}}
<data source="alt"><label>'''Alt. Fire'''</label></data>
|-
<data source="damage"><label>'''Damage'''</label></data>
|style="background:#ffffff"|'''Power'''
<data source="velocity"><label>'''Velocity'''</label></data>
|style="color:white; background:#aaaaaa"|{{{power}}}
<data source="player"><label>'''Player Weapon?'''</label></data>
|-
<data source="sp"><label>'''Single Player?'''</label></data>
|style="background:#ffffff"|'''Range'''
<data source="mp"><label>'''Multiplayer?'''</label></data>
|style="color:white; background:#aaaaaa"|{{{range}}}
</group>
|-
</infobox><noinclude>
|style="background:#ffffff"|'''Rate of Fire'''
|style="color:white; background:#aaaaaa"|{{{rate of fire}}}
|-
|style="background:#ffffff"|'''Splash Damage'''
|style="color:white; background:#aaaaaa"|{{{splash damage}}}
|-
|style="background:#ffffff"|'''Ammo/Magazine'''
|style="color:white; background:#aaaaaa"|{{{ammo/magazine}}}
|-
|style="background:#ffffff"|'''Primary Fire'''
|style="color:white; background:#aaaaaa"|{{{primary fire}}}
|-
|style="background:#ffffff"|'''Secondary Fire'''
|style="color:white; background:#aaaaaa"|{{{secondary fire}}}
|-
|style="background:#ffffff"|'''Available in SP?'''
|style="color:white; background:#aaaaaa"|{{{singleplayer}}}
|-
|style="background:#ffffff"|'''Available in MP?'''
|style="color:white; background:#aaaaaa"|{{{multiplayer}}}
|}<noinclude>


{|float="left"
{|float="left"
Line 55: Line 34:
|name          =
|name          =
|image          =
|image          =
|imageinfo      =
|game          =
|game          =
|faction        =
|faction        =
|first          =
|type          =
|type          =
|when available =
|ammo          =
|range          =
|price          =
|price          =
|upgrades      =
|clip          =
|power          =
|primary        =
|range          =
|alt            =
|rate of fire  =
|damage         =
|splash damage =
|velocity      =
|ammo/magazine  =
|player        =
|primary fire  =
|sp            =
|secondary fire =
|mp            =
|singleplayer  =
|multiplayer    =
}}
}}
</pre>
</pre>
|}
|}


[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
NOTE: If "name" is omitted, it will default to the name of the page.
 
[[Category:Infobox Templates]]</noinclude>

Revision as of 13:15, 20 January 2024

{{Infobox Weapon
|name           =
|image          =
|imageinfo      =
|game           =
|faction        =
|first          =
|type           =
|ammo           =
|range          =
|price          =
|clip           =
|primary        =
|alt            =
|damage         =
|velocity       =
|player         =
|sp             =
|mp             =
}}

NOTE: If "name" is omitted, it will default to the name of the page.