Wikia

GTA Wiki

Changes: Template:Infobox weapon

Edit

Back to page

(Darkened for readability)
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude>{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#A88; background-color: #b87f7f;" cellspacing="2"
+
<includeonly>
|-
+
<infobox layout="tabular" theme="gta-with-subtitle">
!colspan="2" style="text-align: center;"{{pipe}}<small>WEAPON</small><br /><span class="fn" style="font-size:18px;">{{{name}}}
+
<data><label>Type</label><default>WEAPON</default></data>
|-
+
<title source="name"><default>{{PAGENAME}}</default></title>
{{#if:{{{image|<noinclude>-</noinclude>}}} |
+
<image source="image"><caption source="caption"/></image>
! style="font-size: 90%; text-align: center;" colspan="2" {{!}} [[file:{{{image}}}|200px]]
+
<data source="aka"><label>Also known as</label></data>
{{!}}- valign=top
+
<data source="games"><label>Appearance(s)</label></data>
}}
+
<data source="slot"><label>Weapon type</label></data>
{{#if:{{{games|<noinclude>-</noinclude>}}} |
+
<data source="damage"><label>Damage</label></data>
! Appearance(s):
+
<data source="weight"><label>Weight</label></data>
{{!}} {{{games}}}
+
<data source="ammo"><label>Ammunition capacity</label></data>
{{!}}- valign=top
+
<data source="manufacturer"><label>Manufacturer</label></data>
}}
+
<data source="sold in"><label>Available from</label></data>
{{#if:{{{slot|<noinclude>-</noinclude>}}} |
+
<data source="price"><label>Price</label></data>
! Weapon type:
+
<data source="Unlocked After"><label>Unlocked After</label></data>
{{!}} {{{slot}}}
+
<data source="related"><label>Related Weapons</label></data>
{{!}}- valign=top
+
</infobox></includeonly>
}}
 
{{#if:{{{damage|<noinclude>-</noinclude>}}} |
 
! Damage:
 
{{!}} {{{damage}}}
 
{{!}}- valign=top
 
}}
 
{{#if:{{{weight|<noinclude>-</noinclude>}}} |
 
! Weight:
 
{{!}} {{{weight}}}
 
{{!}}- valign=top
 
}}
 
{{#if:{{{ammo|<noinclude>-</noinclude>}}} |
 
! Ammunition capacity:
 
{{!}} {{{ammo}}}
 
{{!}}- valign=top
 
}}
 
{{#if:{{{sold in|<noinclude>-</noinclude>}}} |
 
! Available from:
 
{{!}} {{{sold in}}}
 
{{!}}- valign=top
 
}}
 
{{#if:{{{price|<noinclude>-</noinclude>}}} |
 
! Price:
 
{{!}} {{{price}}}
 
{{!}}- valign=top
 
}}
 
|}</onlyinclude>
 
 
<noinclude>
 
<noinclude>
  +
Example infobox
  +
{{Infobox weapon
  +
|name = Assault Rifle
  +
|aka = AK-47
  +
|image = AssaultRifleGTAV.png
  +
|games = ''[[Grand Theft Auto III]]<br>[[GTA: San Andreas]]<br>[[Grand Theft Auto Advance]]<br>[[GTA Liberty City Stories]]<br>[[GTA Vice City Stories]]<br>[[Grand Theft Auto IV]]<br>[[GTA Chinatown Wars]]<br>[[Grand Theft Auto V]]<br>[[Grand Theft Auto Online]]''
  +
|slot = [[Assault Rifle]]
  +
|damage = 30 <small>(per shot)</small> {{Gtav pedhealth}} <small>([[GTA V]])</small>
  +
|manufacturer = [[Shrewsbury]] <small>(GTA V)</small>
  +
|weight = Medium
  +
|ammo = 30 rounds <small>(in most games)</small><Br>30 rounds ''(60 w/ Extended Clip)'' <small>(GTA V)
  +
|sold in = [[Ammu-Nation]]</small><br>[[Underground Gun Shops]] <small> (GTA IV only)
  +
|price = |caption = The Assault Rifle in [[Grand Theft Auto V|GTA V]]|Unlocked After = [[Last Requests]] <small>(GTA III)</small><br>[[Lure (GTA SA)|Lure]] <small>(GTA San Andreas)</small><br>[[Deconstruction for Beginners]] <small>(GTA IV)<br></small>[[Franklin and Lamar]] <small>(GTA V)</small><br>Rank 24 <small>(GTA Online)</small>}}
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 07:17, June 22, 2015


Example infobox

Around Wikia's network

Random Wiki