Difference between revisions of "Template:Guntable"
Jump to navigation
Jump to search
m |
m |
||
Line 72: | Line 72: | ||
|| style="padding:5px" | Fixed | || style="padding:5px" | Fixed | ||
|- | |- | ||
− | |} | + | |}{{#switch: {{{end|}}} |
− | {{#switch: {{{end|}}} | + | | true = {{!}}} |
− | | true ={{!}}} | + | | |
− | | | ||
}} | }} | ||
</onlyinclude> | </onlyinclude> |
Revision as of 11:34, 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