Content added Content deleted
BloodThermic (talk | contribs) No edit summary |
BloodThermic (talk | contribs) No edit summary |
||
Line 39: | Line 39: | ||
<td width "60%" style="padding:3px;">{{{Sell Cost}}}</td> |
<td width "60%" style="padding:3px;">{{{Sell Cost}}}</td> |
||
</tr>}} |
</tr>}} |
||
{{#if: |
{{#if:{{{Trader1|}}}|<tr> |
||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Trader</td> |
|||
⚫ | |||
<td width="60%" style="padding:3px;">[[{{{Trader}}}]]{{#if:{{{Trader2|}}}|<tr> |
|||
<td width="60%" style="padding:3px;">, [[{{{Trader2}}}]]</td> |
|||
⚫ | |||
{{#ifexpr: ({{#titleparts:{{{Trader}}}|1|1}}) contains ',' | |
|||
⚫ | |||
<!-- Case for two traders --> |
|||
[[{{#titleparts:{{{Trader}}}|1|1}}]]<br/> |
|||
[[{{#titleparts:{{{Trader}}}|1|2}}]] |
|||
| |
|||
<!-- Case for one trader --> |
|||
[[{{{Trader}}}]] |
|||
}} |
|||
⚫ | |||
</tr> |
|||
}} |
|||
</table> |
</table> |
Revision as of 12:07, 12 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 |