Difference between revisions of "Template:Guntable"
Jump to navigation
Jump to search
(a test) |
|||
Line 1: | Line 1: | ||
{{under construction | {{under construction | ||
− | |reason = | + | |reason = 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. | + | <nowiki>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}} | ||
+ | |} | ||
+ | </nowiki> | ||
<onlyinclude> | <onlyinclude> |
Revision as of 05:42, 6 February 2021
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
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