Difference between revisions of "Template:Weapon infobox"

From Valve Cut Content
Jump to: navigation, search
oldwiki>Livelong2
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">...")
 
oldwiki>Livelong2
(port; minor fixing)
Line 6: Line 6:
 
     <caption source="caption1"/>
 
     <caption source="caption1"/>
 
   </image>
 
   </image>
   <data source="row1">
+
   <image source="image2">
     <label>Label</label>
+
    <caption source="caption2"/>
   </data>
+
  </image>
   <data source="row2">
+
  <image source="image3">
     <label>Label</label>
+
    <caption source="caption3"/>
   </data>
+
  </image>
 +
  <image source="image4">
 +
    <caption source="caption4"/>
 +
  </image>
 +
  <group>
 +
    <header>Basic Information</header>
 +
    <data source="name">
 +
      <label>Name</label>
 +
    </data>
 +
    <data source="faction">
 +
      <label>Faction</label>
 +
    </data>
 +
     <data source="origin">
 +
      <label>Origin</label>
 +
    </data>
 +
   </group>
 +
  <group>
 +
    <header>Technical Specifications</header>
 +
    <data source="alt_fire">
 +
      <label>Is there altfire?</label>
 +
    </data>
 +
    <data source="fire_rate">
 +
      <label>Fire rate</label>
 +
    </data>
 +
    <data source="damage">
 +
      <label>Damage</label>
 +
    </data>
 +
    <data source="accuracy">
 +
      <label>Accuracy</label>
 +
    </data>
 +
    <data source="firemode">
 +
      <label>Fire Mode</label>
 +
    </data>
 +
    <data source="recoil">
 +
      <label>Recoil</label>
 +
    </data>
 +
    <data source="clipsize">
 +
      <label>Clip Size</label>
 +
    </data>
 +
    <data source="clips">
 +
      <label>Clips</label>
 +
    </data>
 +
    <data source="ammo_on_wpickup">
 +
      <label>Ammo on fallen weapon pickup</label>
 +
    </data>
 +
    <data source="ammo_on_apickup">
 +
      <label>Ammo on ammopack pickup</label>
 +
    </data>
 +
   </group>
 +
  <group>
 +
    <header>Technical Specifications (altfire)</header>
 +
    <data source="fire_rate2">
 +
      <label>Fire rate</label>
 +
    </data>
 +
    <data source="damage2">
 +
      <label>Damage</label>
 +
    </data>
 +
    <data source="accuracy2">
 +
      <label>Accuracy</label>
 +
    </data>
 +
    <data source="firemode2">
 +
      <label>Fire Mode</label>
 +
    </data>
 +
    <data source="recoil2">
 +
      <label>Ammo on pickup</label>
 +
    </data>
 +
    <data source="clipsize2">
 +
      <label>Clip Size</label>
 +
    </data>
 +
    <data source="clips2">
 +
      <label>Clips</label>
 +
    </data>
 +
  </group>
 +
  <group>
 +
     <header>Usage</header>
 +
    <data source="ugroup1">
 +
      <label>Used By:</label>
 +
    </data>
 +
   </group>
 +
  <group>
 +
    <header>Game Information</header>
 +
    <data source="vmodel_name">
 +
      <label>View Model Name</label>
 +
    </data>
 +
    <data source="wmodel_name">
 +
      <label>World Model Name</label>
 +
    </data>
 +
    <data source="weapon_ent_info">
 +
      <label>Weapon Entity Name</label>
 +
    </data>
 +
    <data source="ammo_ent_info">
 +
      <label>Ammo Entity Name</label>
 +
    </data>
 +
    <data source="ammo_type">
 +
      <label>Ammo Type</label>
 +
    </data>
 +
  </group>
 
</infobox>
 
</infobox>
 
<noinclude>
 
<noinclude>
Line 19: Line 115:
 
|image1=Example
 
|image1=Example
 
|caption1=Example
 
|caption1=Example
|row1=Example
+
|image2=Example
|row2=Example
+
|caption2=Example
 +
|image3=Example
 +
|caption3=Example
 +
|image4=Example
 +
|caption4=Example
 +
<!--- Basic Information --->
 +
|name=Example
 +
|faction=Example <!---(combine, rebels, conscripts, etc)--->
 +
|origin=Example
 +
<!--- 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)--->
 +
<!--- Technical specifications for ALTFIRE--->
 +
|fire_rate2=
 +
|damage2=
 +
|accuracy2=
 +
|firemode2=
 +
|recoil2=
 +
|clipsize2=
 +
|clips2=
 +
|ammo_on_apickup= <!---(when you pick an ammopack (if applicable) 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.--->
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 23:25, 25 March 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
<!--- 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)--->
<!--- Technical specifications for ALTFIRE--->
|fire_rate2=
|damage2=
|accuracy2=
|firemode2=
|recoil2=
|clipsize2= 
|clips2=
|ammo_on_apickup= <!---(when you pick an ammopack (if applicable) 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.--->
}}