Template:Infobox Weapon: Difference between revisions

From Red Faction Wiki
No edit summary
mNo edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
<includeonly><infobox>
     <group>
     <group>
<title source="name"><default>{{PAGENAME}}</default><format>{{{name|{{PAGENAME}}}}}</format></title>
<title source="name"><default>{{PAGENAME}}</default><format>{{{name|{{PAGENAME}}}}}</format></title>
<media source="image"/>
<media source="image">
<header source="imageinfo"><small>{{{imageinfo}}}</small></header>
    <caption source="imageinfo"><small>{{{imageinfo}}}</small></caption>
    </media>
</group>
</group>


<group>
<group>
    <header><small>Information</small></header>
<data source="game"><label>'''Game'''</label></data>
<data source="game"><label>'''Game'''</label></data>
<data source="faction"><label>'''Faction'''</label></data>
<data source="faction"><label>'''Faction'''</label></data>
<data source="first"><label>'''Appears'''</label></data>
<data source="first"><label>'''First Seen'''</label></data>
</group>
</group>
 
    <panel>
<group>
    <section>
<header><small>Information</small></header>
    <label>Weapon</label>
<data source="type"><label>'''Type'''</label></data>
    <data source="ammo type"><label>'''Ammo Type'''</label></data>
<data source="ammo"><label>'''Ammo'''</label></data>
    <data source="ammo type alt"><label>'''Ammo Type (Alt)'''</label></data>
    <data source="damage type"><label>'''Damage Type'''</label></data>
<data source="range"><label>'''Range'''</label></data>
<data source="range"><label>'''Range'''</label></data>
<data source="price"><label>'''Price'''</label></data>
<data source="price"><label>'''Price'''</label></data>
<data source="clip"><label>'''Mag Size'''</label></data>
<data source="primary"><label>'''Primary Fire'''</label></data>
<data source="primary"><label>'''Primary Fire'''</label></data>
<data source="alt"><label>'''Alt. Fire'''</label></data>
<data source="alt"><label>'''Alt. Fire'''</label></data>
<data source="damage"><label>'''Damage'''</label></data>
    <data><default>
<data source="velocity"><label>'''Velocity'''</label></data>
{| style="margin: 0 auto; font-size: 9px; text-align: center; ce"
<data source="player"><label>'''Player Use?'''</label></data>
!style="width: 70px"|Player
<data source="sp"><label>'''Singleplayer'''</label></data>
!style="width: 70px"|Singleplayer
<data source="mp"><label>'''Multiplayer'''</label></data>
!style="width: 70px"|Multiplayer
</group>
|-
</infobox><noinclude>
|{{#switch: {{{player|}}}
|Yes = {{Icon|Icon_Tick.png|13px}}
|No  = {{Icon|Icon_Cross.png|13px}}
|#default = {{Icon|Icon_Tick.png|13px}}
}}
|{{#switch: {{{sp|}}}
|Yes = {{Icon|Icon_Tick.png|13px}}
|No  = {{Icon|Icon_Cross.png|13px}}
|#default = {{Icon|Icon_Tick.png|13px}}
}}
|{{#switch: {{{mp|}}}
|Yes = {{Icon|Icon_Tick.png|13px}}
|No  = {{Icon|Icon_Cross.png|13px}}
|#default = {{Icon|Icon_Tick.png|13px}}
}}
|}</default></data>
    </section>
<section>
    <label>Statistics</label>
    <data source="damage"><label>'''Damage'''</label>
    <format>{{{damage}}} {{#if: {{{damage multi|}}}| / {{{damage multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="damage alt"><label>'''Damage (Alt)'''</label>
    <format>{{{damage alt}}} {{#if: {{{damage alt multi|}}}| / {{{damage alt multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="damage ai scale"><label>'''AI Dmg Scale'''</label></data>
    <data source="damage radius"><label>'''Dmg Radius'''</label>
    <format>{{{damage radius}}} {{#if: {{{damage radius multi|}}}| / {{{damage radius multi}}} <small>'''(Multi)'''</small>}}
    </format>
    </data>
    <data source="velocity"><label>'''Velocity'''</label>
    <format>{{{velocity}}} {{#if: {{{velocity multi|}}}| / {{{velocity multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="lifetime"><label>'''Lifetime'''</label>
    <format>{{{lifetime}}} {{#if: {{{lifetime multi|}}}| / {{{lifetime multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="thrust lifetime"><label>'''Thrust Lifetime'''</label></data>
    <data source="fire wait"><label>'''Fire Wait'''</label></data>
    <data source="fire wait alt"><label>'''Fire Wait (Alt)'''</label></data>
    <data source="num projectiles"><label>'''Projectiles'''</label></data>
    <data source="spread"><label>'''Spread'''</label>
    <format>{{{spread}}} {{#if: {{{spread multi|}}}}| / {{{spread multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="spread alt"><label>'''Spread (Alt)'''</label>
    <format>{{{spread alt}}} {{#if: {{{spread alt multi|}}}}| / {{{spread alt multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="mag size"><label>'''Mag Size'''</label>
    <format>{{{mag size}}} {{#if: {{{mag size multi|}}}| / {{{mag size multi}}} <small>'''(Multi)'''</small>|}}</format>
    </data>
    <data source="mag size alt"><label>'''Mag Size (Alt)'''</label>
    <format>{{{mag size alt}}} {{#if: {{{mag size alt multi|}}}| / {{{mag size alt multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="max ammo"><label>'''Max Ammo'''</label>
    <format>{{{max ammo}}} {{#if: {{{max ammo multi|}}}| / {{{max ammo multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="max ammo alt"><label>'''Max Ammo (Alt)'''</label>
    <format>{{{max ammo alt}}} {{#if: {{{max ammo alt multi|}}}| / {{{max ammo alt multi}}} <small>'''(Multi)'''</small>}}</format>
    </data>
    <data source="reload time"><label>'''Reload Time'''</label></data>
    </section>
    </panel>
</infobox></includeonly><noinclude><templatedata>
{
"params": {
"name": {},
"imageinfo": {},
"player": {},
"sp": {},
"mp": {},
"damage": {},
"damage multi": {},
"damage alt": {},
"damage alt multi": {},
"damage radius": {},
"damage radius multi": {},
"velocity": {},
"velocity multi": {},
"lifetime": {},
"lifetime multi": {},
"spread": {},
"spread multi": {},
"spread alt": {},
"spread alt multi": {},
"mag size": {},
"mag size multi": {},
"max ammo": {},
"max ammo multi": {},
"image": {},
"game": {},
"faction": {},
"first": {},
"damage type": {},
"ammo type": {},
"range": {},
"primary": {},
"alt": {},
"damage ai scale": {},
"thrust lifetime": {},
"fire wait": {},
"fire wait alt": {},
"reload time": {}
},
"paramOrder": [
"name",
"image",
"imageinfo",
"game",
"faction",
"first",
"damage type",
"ammo type",
"range",
"primary",
"alt",
"player",
"sp",
"mp",
"damage",
"damage multi",
"damage ai scale",
"damage alt",
"damage alt multi",
"damage radius",
"damage radius multi",
"velocity",
"velocity multi",
"lifetime",
"lifetime multi",
"thrust lifetime",
"fire wait",
"fire wait alt",
"spread",
"spread multi",
"spread alt",
"spread alt multi",
"mag size",
"mag size multi",
"max ammo",
"max ammo multi",
"reload time"
]
}
</templatedata>
{{Infobox Weapon
|name                =
|image              =
|game                = {{Game|}}
|faction            = {{Team|}}
|first              =
|damage type        =
|ammo type          =
|range              =
|primary            =
|alt                =
|player              =
|sp                  =
|mp                  =
|damage              =
|damage multi        =
|damage ai scale    =
|damage alt          =
|damage alt multi    =
|damage radius      =
|damage radius multi =
|velocity            =
|velocity multi      =
|lifetime            =
|lifetime multi      =
|thrust lifetime    =
|fire wait          =
|fire wait alt      =
|spread              =
|spread multi        =
|spread alt          =
|spread alt multi    =
|mag size            =
|mag size multi      =
|max ammo            =
|max ammo multi      =
|reload time        =
}}


{|float="left"
'''Usage:'''
|<pre>
<tabber>
|-|Red Faction 1=
<pre>
{{Infobox Weapon
{{Infobox Weapon
|name           =
|name               =  
|image         =
|image               =  
|imageinfo      =
|game                = {{Game|}}
|game          =
|faction             = {{Team|}}
|faction       =
|first               =  
|first         =
|damage type         =  
|type           =
|ammo type           =  
|ammo          =
|range               =
|range         =
|primary            =
|price          =
|alt                =
|clip          =
|player              =
|primary       =
|sp                  =  
|alt           =
|mp                  =  
|damage         =
|damage              =  
|velocity      =
|damage multi       =  
|player        =
|damage ai scale    =
|sp            =
|damage alt         =
|mp            =
|damage alt multi    =
|damage radius      =  
|damage radius multi =
|velocity            =  
|velocity multi      =
|lifetime            =
|lifetime multi      =
|thrust lifetime    =
|fire wait          =
|fire wait alt       =  
|spread              =
|spread multi        =
|spread alt          =
|spread alt multi    =
|mag size            =
|mag size multi      =
|max ammo            =  
|max ammo multi      =  
|reload time        =  
}}
}}
</pre>
</pre>
|}
</tabber>
 
NOTE: If "name" is omitted, it will default to the name of the page.
NOTE: If "name" is omitted, it will default to the name of the page.


[[Category:Infobox Templates]]</noinclude>
[[Category:Infobox Templates]]</noinclude>

Latest revision as of 22:31, 11 March 2024

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
imageinfoimageinfo

no description

Unknownoptional
gamegame

no description

Unknownoptional
factionfaction

no description

Unknownoptional
firstfirst

no description

Unknownoptional
damage typedamage type

no description

Unknownoptional
ammo typeammo type

no description

Unknownoptional
rangerange

no description

Unknownoptional
primaryprimary

no description

Unknownoptional
altalt

no description

Unknownoptional
playerplayer

no description

Unknownoptional
spsp

no description

Unknownoptional
mpmp

no description

Unknownoptional
damagedamage

no description

Unknownoptional
damage multidamage multi

no description

Unknownoptional
damage ai scaledamage ai scale

no description

Unknownoptional
damage altdamage alt

no description

Unknownoptional
damage alt multidamage alt multi

no description

Unknownoptional
damage radiusdamage radius

no description

Unknownoptional
damage radius multidamage radius multi

no description

Unknownoptional
velocityvelocity

no description

Unknownoptional
velocity multivelocity multi

no description

Unknownoptional
lifetimelifetime

no description

Unknownoptional
lifetime multilifetime multi

no description

Unknownoptional
thrust lifetimethrust lifetime

no description

Unknownoptional
fire waitfire wait

no description

Unknownoptional
fire wait altfire wait alt

no description

Unknownoptional
spreadspread

no description

Unknownoptional
spread multispread multi

no description

Unknownoptional
spread altspread alt

no description

Unknownoptional
spread alt multispread alt multi

no description

Unknownoptional
mag sizemag size

no description

Unknownoptional
mag size multimag size multi

no description

Unknownoptional
max ammomax ammo

no description

Unknownoptional
max ammo multimax ammo multi

no description

Unknownoptional
reload timereload time

no description

Unknownoptional

Usage:

{{Infobox Weapon
|name                = 
|image               = 
|game                = {{Game|}}
|faction             = {{Team|}}
|first               = 
|damage type         = 
|ammo type           = 
|range               = 
|primary             = 
|alt                 = 
|player              = 
|sp                  = 
|mp                  = 
|damage              = 
|damage multi        = 
|damage ai scale     = 
|damage alt          = 
|damage alt multi    = 
|damage radius       = 
|damage radius multi = 
|velocity            = 
|velocity multi      = 
|lifetime            = 
|lifetime multi      = 
|thrust lifetime     = 
|fire wait           = 
|fire wait alt       = 
|spread              = 
|spread multi        = 
|spread alt          = 
|spread alt multi    = 
|mag size            = 
|mag size multi      = 
|max ammo            = 
|max ammo multi      = 
|reload time         = 
}}

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