Template:WeaponInfobox/doc: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
==Usage==
==Usage==
To use the template, copy and paste the following at the top of the article. Then add the appropriate parameter values.
To use the template, copy and paste the following at the top of the article. Then add the appropriate parameter values.
<div id="usage" style="background-color: transparent; width: 250px;">
<div id="usage" style="background-color: transparent; width: 350px;">
<pre><nowiki>{{</nowiki>WeaponInfoboxhorizontal
<pre><nowiki>{{</nowiki>WeaponInfobox
| name            =
| name            =
| image            =
| image            =
Line 13: Line 13:
| type            =
| type            =
| origin          =
| origin          =
<!-- Production history -->
<nowiki><!-- Production history --></nowiki>
| design_date      =
| design_date      =
| manufacturer    =
| manufacturer    =
Line 28: Line 28:
| crew            =
| crew            =
| passengers      =
| passengers      =
<!-- Ranged weapon specifications -->  
<nowiki><!-- Ranged weapon specifications --></nowiki>
| cartridge        =
| cartridge        =
| caliber          =
| caliber          =
Line 40: Line 40:
| range            =
| range            =
| max_range        =
| max_range        =
<!-- Features -->
<nowiki><!-- Artillery weapon specification --></nowiki>
| shell            =
| breech          =
| carriage        =
| elevation        =
| carriage        =
<nowiki><!-- Features --></nowiki>
| sights          =
| sights          =
| modes            =
| modes            =

Revision as of 04:35, 13 December 2024

This is a documentation subpage for Template:WeaponInfobox.
It may contain usage information, categories and other content that is not part of the original template page.

The {{WeaponInfobox}} is used to create an infobox for a weapon or weapon system.

Usage

To use the template, copy and paste the following at the top of the article. Then add the appropriate parameter values.

{{WeaponInfobox
| name             =
| image            =
| image_size       =
| alt              =
| caption          =
| type             =
| origin           =
<!-- Production history -->
| design_date      =
| manufacturer     =
| cost             =
| production_dates =
| number           =
| variants         =
| mass             =
| length           =
| barrel_length    =
| width            =
| height           =
| diameter         =
| crew             =
| passengers       =
<!-- Ranged weapon specifications -->
| cartridge        =
| caliber          =
| barrels          =
| action           =
| feed             =
| rate             =
| velocity         =
| muzzle_energy    =
| recoil_energy    =
| range            =
| max_range        =
<!-- Artillery weapon specification -->
| shell            =
| breech           =
| carriage         =
| elevation        =
| carriage         =
<!-- Features -->
| sights           =
| modes            =
| safety           =
| material         =
| durability       =
| accessories      =
| special_use      =
| features         =
| cultural_design  =
| notes            =
|}