Content added Content deleted
BloodThermic (talk | contribs) No edit summary |
BloodThermic (talk | contribs) No edit summary Tag: Manual revert |
||
(11 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<table class="infobox-table floatright" style="padding-top:0"> |
<table class="infobox-table floatright" style="padding-top:0"> |
||
{{#if:{{{Image|}}}|<tr id="infobox-table-img-bg"> |
{{#if:{{{Image|}}}|<tr id="infobox-table-img-bg"> |
||
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">[[File:{{{Image}}}| |
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">[[File:{{{Image}}}|400px]]</td> |
||
</tr>|}} |
</tr>|}} |
||
<tr> |
<tr> |
||
Line 9: | Line 9: | ||
{{#if:{{{Type|}}}|<tr> |
{{#if:{{{Type|}}}|<tr> |
||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td> |
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td> |
||
<td width="60%" style="padding:3px;">[[:Category: |
<td width="60%" style="padding:3px;">[[:Category:{{{Type}}}|{{{Type}}}]]</td> |
||
</tr>}} |
</tr>}} |
||
{{#if:{{{Weight|}}}|<tr> |
{{#if:{{{Weight|}}}|<tr> |
||
Line 21: | Line 21: | ||
{{#if:{{{Caliber|}}}|<tr> |
{{#if:{{{Caliber|}}}|<tr> |
||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Caliber</td> |
<td width="40%" valign="top" colspan="2" style="padding:3px;">Caliber</td> |
||
<td width="60%" style="padding:3px;">[[{{{Caliber}}}]]</td> |
<td width="60%" style="padding:3px;">[[:Category:Ammunition:{{{Caliber}}}|{{{Caliber}}}]]</td> |
||
</tr>}} |
</tr>}} |
||
{{#if:{{{Muzzle Velocity|}}}|<tr> |
{{#if:{{{Muzzle Velocity|}}}|<tr> |
||
Line 50: | Line 50: | ||
<noinclude> |
<noinclude> |
||
{{/doc}} |
{{/doc}} |
||
[[Category:Infobox |
[[Category:Infobox/Templates]][[Category:Templates]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 23:49, 15 May 2024
Usage
{{Infobox Ammo | Image = | Type = | Weight = | Manufacturer = | Caliber = | Muzzle Velocity = | Dispersion = | Buy Cost = | Sell Cost = | Trader1 = (Name) | Trader2 = (Name) | Related = }}
Template Data
A Templated used in the creation of Ammo
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | Image | Image size is set to 200x200 | File | optional |
Type | Type | What type of ammo is this?
| String | required |
Weight | Weight | The weight of ammo per stack. | String | required |
Manufacturer | Manufacturer | The company to makes the Ammo stated on the Ammo stats. | String | required |
Caliber | Caliber | The size of the bullet | String | required |
Muzzle Velocity | Muzzle Velocity | How fast the bullet travels once shot | String | required |
Dispersion | Dispersion | String | required | |
Buy Cost | Buy Cost | The cost to buy Ammo (per 100) at the Trader. | String | required |
Sell Cost | Sell Cost | The cost to sell Ammo (per 100) at the Trader. | String | suggested |
Trader1 | Trader1 | The cost to buy at the Trader. | String | required |
Trader2 | Trader2 | The cost to buy at the Trader. | String | required |