Difference between revisions of "Template:InfoboxWeapon"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 19: Line 19:
 
| {{{cost}}}
 
| {{{cost}}}
 
|-  
 
|-  
! Manufacturer
+
{{#if: {{{manufacturer|}}}|
| [[{{{manufacturer}}}]]
+
{{!}}'''Manufacturer'''
|-  
+
{{!}} [[{{{manufacturer}}}]]
 +
{{!}}-
 
! Ammo
 
! Ammo
 
| {{{ammo}}}
 
| {{{ammo}}}

Revision as of 14:52, 22 November 2017

{{#if: |
{{{name}}}
{{{image}}}
{{{caption}}}
Group: {{{group}}}
Tech Level {{{TL}}}
Size {{{size}}}
Weight {{{weight}}}
Cost {{{cost}}}
Manufacturer [[{{{manufacturer}}}]]
Ammo {{{ammo}}}
{{{footnote}}}

Template for weapons, uses the following parameters:

  • name
  • image
  • caption
  • group
  • manufacturer (auto link)
  • cost,
  • weight
  • size
  • TL
  • Ammo type(s)
  • Footnote
{{InfoboxWeapon
  |name={{{name}}}
  |TL={{{TL}}}
  |size={{{size}}}
  |volume={{{volume}}}
  |weight={{{weight}}}
  |cost={{{cost}}}
  |ammo={{{ammo size and type}}}
  |group={{{Type (Pistol, Rifle, etc) and ammo type (Slug, Beam, etc)}}}
  |manufacturer={{{manufacturer}}}
  |footnote={{{footnote}}}
}}