Template:Guntable

From tgwiki2
Revision as of 11:15, 6 February 2021 by imported>Gohunt001 (test again since previewing templates is not easy reee)
Jump to navigation Jump to search
This page is currently under construction!

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;"| You forgot to set the name |style="border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"| You forgot the gun description

Ammo:

You forgot the ammo name

You forgot the ammo description
Attachments:
Rail
Muzzle
Underbarrel style="padding:5px" | Nothing
Stock 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