Difference between revisions of "Template:Weapon infobox"

From Valve Cut Content
Jump to: navigation, search
oldwiki>Livelong2
(improving)
oldwiki>Livelong2
(experimental lineheight change)
Line 20: Line 20:
 
       <label>Name</label>
 
       <label>Name</label>
 
     </data>
 
     </data>
     <data source="faction">
+
     <data style="LINE-HEIGHT:5px" source="faction">
 
       <label>Faction</label>
 
       <label>Faction</label>
 
     </data>
 
     </data>
     <data source="origin">
+
     <data style="LINE-HEIGHT:5px" source="origin">
 
       <label>Origin</label>
 
       <label>Origin</label>
 
     </data>
 
     </data>
Line 29: Line 29:
 
   <group>
 
   <group>
 
     <header>Technical Specifications</header>
 
     <header>Technical Specifications</header>
     <data source="alt_fire">
+
     <data style="LINE-HEIGHT:5px" source="alt_fire">
 
       <label>Is there altfire?</label>
 
       <label>Is there altfire?</label>
 
     </data>
 
     </data>
     <data source="fire_rate">
+
     <data style="LINE-HEIGHT:5px" source="fire_rate">
 
       <label>Fire rate</label>
 
       <label>Fire rate</label>
 
     </data>
 
     </data>
     <data source="damage">
+
     <data style="LINE-HEIGHT:5px" source="damage">
 
       <label>Damage</label>
 
       <label>Damage</label>
 
     </data>
 
     </data>
     <data source="accuracy">
+
     <data style="LINE-HEIGHT:5px" source="accuracy">
 
       <label>Accuracy</label>
 
       <label>Accuracy</label>
 
     </data>
 
     </data>
     <data source="firemode">
+
     <data style="LINE-HEIGHT:5px" source="firemode">
 
       <label>Fire Mode</label>
 
       <label>Fire Mode</label>
 
     </data>
 
     </data>
     <data source="recoil">
+
     <data style="LINE-HEIGHT:5px" source="recoil">
 
       <label>Recoil</label>
 
       <label>Recoil</label>
 
     </data>
 
     </data>
     <data source="clipsize">
+
     <data style="LINE-HEIGHT:5px" source="clipsize">
 
       <label>Clip Size</label>
 
       <label>Clip Size</label>
 
     </data>
 
     </data>
     <data source="clips">
+
     <data style="LINE-HEIGHT:5px" source="clips">
 
       <label>Clips</label>
 
       <label>Clips</label>
 
     </data>
 
     </data>
     <data source="ammo_on_wpickup">
+
     <data style="LINE-HEIGHT:5px" source="ammo_on_wpickup">
 
       <label>Ammo on fallen weapon pickup</label>
 
       <label>Ammo on fallen weapon pickup</label>
 
     </data>
 
     </data>
     <data source="ammo_on_apickup">
+
     <data style="LINE-HEIGHT:5px" source="ammo_on_apickup">
 
       <label>Ammo on ammopack pickup</label>
 
       <label>Ammo on ammopack pickup</label>
 
     </data>
 
     </data>
     <data source="ammo_on_apickuplrg">
+
     <data style="LINE-HEIGHT:5px" source="ammo_on_apickuplrg">
 
       <label>Ammo on ammopack pickup</label>
 
       <label>Ammo on ammopack pickup</label>
 
     </data>
 
     </data>
Line 65: Line 65:
 
   <group>
 
   <group>
 
     <header>Technical Specifications (altfire)</header>
 
     <header>Technical Specifications (altfire)</header>
     <data source="fire_rate2">
+
     <data style="LINE-HEIGHT:5px" source="fire_rate2">
 
       <label>Fire rate</label>
 
       <label>Fire rate</label>
 
     </data>
 
     </data>
     <data source="damage2">
+
     <data style="LINE-HEIGHT:5px" source="damage2">
 
       <label>Damage</label>
 
       <label>Damage</label>
 
     </data>
 
     </data>
     <data source="accuracy2">
+
     <data style="LINE-HEIGHT:5px" source="accuracy2">
 
       <label>Accuracy</label>
 
       <label>Accuracy</label>
 
     </data>
 
     </data>
     <data source="firemode2">
+
     <data style="LINE-HEIGHT:5px" source="firemode2">
 
       <label>Fire Mode</label>
 
       <label>Fire Mode</label>
 
     </data>
 
     </data>
     <data source="recoil2">
+
     <data style="LINE-HEIGHT:5px" source="recoil2">
 
       <label>Ammo on pickup</label>
 
       <label>Ammo on pickup</label>
 
     </data>
 
     </data>
     <data source="clipsize2">
+
     <data style="LINE-HEIGHT:5px" source="clipsize2">
 
       <label>Clip Size</label>
 
       <label>Clip Size</label>
 
     </data>
 
     </data>
     <data source="clips2">
+
     <data style="LINE-HEIGHT:5px" source="clips2">
 
       <label>Clips</label>
 
       <label>Clips</label>
 
     </data>
 
     </data>
     <data source="ammo_on_apickup2">
+
     <data style="LINE-HEIGHT:5px" source="ammo_on_apickup2">
 
       <label>Clips</label>
 
       <label>Clips</label>
 
     </data>
 
     </data>
Line 92: Line 92:
 
   <group>
 
   <group>
 
     <header>Usage</header>
 
     <header>Usage</header>
     <data source="ugroup1">
+
     <data style="LINE-HEIGHT:5px" source="ugroup1">
 
       <label>Used By:</label>
 
       <label>Used By:</label>
 
     </data>
 
     </data>
Line 98: Line 98:
 
   <group>
 
   <group>
 
     <header>Game Information</header>
 
     <header>Game Information</header>
     <data source="vmodel_name">
+
     <data style="LINE-HEIGHT:5px" source="vmodel_name">
 
       <label>View Model Name</label>
 
       <label>View Model Name</label>
 
     </data>
 
     </data>
     <data source="wmodel_name">
+
     <data style="LINE-HEIGHT:5px" source="wmodel_name">
 
       <label>World Model Name</label>
 
       <label>World Model Name</label>
 
     </data>
 
     </data>
     <data source="weapon_ent_info">
+
     <data style="LINE-HEIGHT:5px" source="weapon_ent_info">
 
       <label>Weapon Entity Name</label>
 
       <label>Weapon Entity Name</label>
 
     </data>
 
     </data>
     <data source="ammo_ent_info">
+
     <data style="LINE-HEIGHT:5px" source="ammo_ent_info">
 
       <label>Ammo Entity Name</label>
 
       <label>Ammo Entity Name</label>
 
     </data>
 
     </data>
     <data source="ammo_type">
+
     <data style="LINE-HEIGHT:5px" source="ammo_type">
 
       <label>Ammo Type</label>
 
       <label>Ammo Type</label>
 
     </data>
 
     </data>

Revision as of 01:13, 10 October 2017

Example usage:

{{Weapon infobox
|title1=Example
|image1=Example
|caption1=Example
|image2=Example
|caption2=Example
|image3=Example
|caption3=Example
|image4=Example
|caption4=Example
<!--- Basic Information --->
|name=Example
|faction=Example <!---(combine, rebels, conscripts, etc)--->
|origin=Example <!---What faction it originates from--->
<!--- Technical specifications --->
|alt_fire= <!---(Yes/No) "is there altfire?"--->
|fire_rate=
|damage= <!--- Enter like this: 
*100 (To you)
*20 (To enemies)
--->
|accuracy= <!---(aka spread)--->
|firemode= <!---(i.e. full-auto; semi-auto; burst-fire)--->
|recoil=
|clipsize= 
|clips= <!---(max qty of clips, including "active" one)--->
|ammo_on_wpickup= <!---(when you pick this weapon up how much ammo do you get)--->
|ammo_on_apickup= <!---(when you pick an ammopack (if applicable) up how much ammo do you get)--->
|ammo_on_apickuplrg= <!---How much ammo is gained when a large ammopack for this is picked up--->
<!--- Technical specifications for ALTFIRE--->
|fire_rate2=
|damage2=
|accuracy2=
|firemode2=
|recoil2=
|clipsize2= 
|clips2=
|ammo_on_apickup2= <!---(when you pick an ammopack (for the altfire!) up how much ammo do you get)--->
<!--- Usage --->
|ugroup1= <!---Who uses the weapon?, in "normal" circumstances? Enter like this: (bulleted list)
*combine
*monkey boy
*shit on my floor
*god damn it
--->
<!--- Game Info --->
|vmodel_name=Example <!---(the .mdl file; view model)--->
|wmodel_name=Example <!---(the .mdl file; world model)--->
|weapon_ent_info=<!---The weapon's entity name in hammer--->
|ammo_ent_info=<!---Entities related to the weapon's ammo; Enter like this: (bulleted list)
*item_ammo_ar2<br>(ammo entity)
*item_ammo_ar2_large<br>(ammo entity, large)
*item_ammo_ar2_altfire<br>(ball ammo entity)
If there's only one ammo entity, just put that one without any bulleting.--->
|ammo_type=<!---What type of "leak-era" ammo it uses. Buckshot, Medium round, Small round, Sniper round, etc.--->
}}