Шаблон:Guntable

Версия от 11:15, 6 февраля 2021; imported>Gohunt001 (test again since previewing templates is not easy reee)
Wrench.pngThis page is currently under construction!Wrench.png
The following page is currently in the process of being created, is undergoing a major structural rework and/or is being moved.
The reason for this is: "still under development to create a robust but easily usable gun template because ow my brain hurts trying to edit the marine equipment page"



A template for the TGMC wiki's marine equipment section, specifically the guns.
Using this effectively requires the addition of {| and |} before and after the {{guntable}}.
Using this, multiple tables can be stacked as long as it's between the brackety thingies. such as:
{|
{{guntable}}
{{guntable}}
|}



|- |style="width:150px; border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"|TGMC fix.png You forgot to set the name |style="border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"| You forgot the gun description

Ammo:
TGMC fix.png

You forgot the ammo name

You forgot the ammo description
Attachments:
Rail TGMC Magnetic Harness.png TGMC RDS.png TGMC QFA.png TGMC scope.png TGMC scope mini.png TGMC flashlight.gif
Muzzle TGMC Suppressor.png TGMC Extended Barrel.png TGMC heavy barrel.gif TGMC compensator.png TGMC bayonet.png
Underbarrel TGMC Laser Sight.png TGMC Vertical Grip.png TGMC Angled Grip.png TGMC bipod.gif TGMC gyro.png TGMC burstfire assembly.png TGMC attached gun flamer.gif TGMC attached gun shotgun.png TGMC attached gun grenade.png style="padding:5px" | Nothing
Stock TGMC t35stock.png TGMC t19stock.png TGMC stock vp70.png TGMC stock tx15.png TGMC stock tactical.png TGMC stock t18stock.png TGMC stock sx16.png TGMC stock smg.png TGMC stock slavic.png TGMC stock shotgun.png TGMC stock rifle.png TGMC stock revolver.png TGMC stock m16.png style="padding:5px" | Fixed




Variables:

  • imagefile: put your image file name here
  • gunanchorname: name of the gun's anchor
  • name: name of the gun
  • desc: description of the gun
  • ammofile: put your ammo image file name here
  • ammoanchorname: name of the ammo's anchor
  • ammoname: name of the ammo
  • ammodesc: description of the ammo