Difference between revisions of "Template:InfoboxWeapon"
Jump to navigation
Jump to search
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="va-infobox" | {| class="va-infobox" | ||
|- | |- | ||
− | ! colspan="2" class="color2" style="background: # | + | ! colspan="2" class="color2" style="background: #000;color: #FFFFFF" | {{{name}}} |
|- | |- | ||
− | |colspan="2 | + | {{#if: {{{image|}}}| |
− | + | {{!}}colspan="2" style="text-align: center; font-size: smaller;border-bottom: 1px solid #aaa;" {{!}}{{{image}}}<br>{{{caption}}} | |
− | + | {{!}}- | |
+ | }} | ||
+ | ! Group: | ||
+ | | {{{group}}} | ||
|- | |- | ||
![[Technology level|Tech Level]] | ![[Technology level|Tech Level]] | ||
− | | {{{TL}}} | + | | {{TL|{{{TL}}}}} |
|- | |- | ||
! Size | ! Size | ||
Line 19: | Line 22: | ||
| {{{cost}}} | | {{{cost}}} | ||
|- | |- | ||
+ | ! Ammo | ||
+ | | {{{ammo}}} | ||
+ | |- | ||
{{#if: {{{manufacturer|}}}| | {{#if: {{{manufacturer|}}}| | ||
{{!}}'''Manufacturer''' | {{!}}'''Manufacturer''' | ||
− | {{!}} [[{{{manufacturer}}}]] | + | {{!}} {{#ifeq: {{{manufacturer}}}|Various|{{{manufacturer}}}|[[{{{manufacturer}}}]]}} |
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{alsosee|}}}| | ||
+ | {{!}} Also see | ||
+ | {{!}} {{{alsosee|}}} | ||
{{!}}- | {{!}}- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | </ | + | {{#if: {{{ref|}}}| |
+ | {{!}} Reference | ||
+ | {{!}} {{{ref}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | | colspan="2" style="font-size: smaller; border-top: 1px solid #aaa;" | {{{footnote|}}} | ||
+ | |}<includeonly>[[Category:Goods]][[Category:Weapon]]</includeonly><noinclude>{{InfoboxWeapon/doc}} | ||
+ | [[Category:Infobox|Weapon]] | ||
+ | [[Category:Templates|Weapon]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:49, 26 June 2020
{{{name}}} | |
---|---|
Group: | {{{group}}} |
Tech Level | TL–{{{TL}}} |
Size | {{{size}}} |
Weight | {{{weight}}} |
Cost | {{{cost}}} |
Ammo | {{{ammo}}} |
Template for weapons, uses the following parameters:
- name
- Name of the weapon
- image
- Image for the weapon
- caption
- Caption for the image
- group
- Type group of the weapon (Pistol, rifle) and ammo type (Slug, Beam, etc)
- TL
- Technology level of manufacture of the weapon
- size
- Size of the weapon in liters
- weight
- Weight of the weapon in kg
- cost
- Cost of the weapon
- ammo
- The size and type ammunition for the weapon, if the weapon uses it
- manufacturer
- (Optional) the single primary manufacturer of the weapon, creates link
- ref
- Optional. Primary source reference for this item. Use Template:Ludography ref if at all possible.
- footnote
- Footnote for the weapon
{{InfoboxWeapon |name = {{{name}}} |image = {{{image}}} |caption = {{{caption}}} |group = {{{Type (Pistol, Rifle, etc) and ammo type (Slug, Beam, etc)}}} |TL = {{{TL}}} |size = {{{size}}} |weight = {{{weight}}} |cost = {{{cost}}} |ammo = {{{ammo size and type}}} |footnote= {{{footnote}}} |manufacturer= {{{manufacturer}}} |ref = {{{ref}}} }}