Difference between revisions of "Template:TGMC-Guntemplate"

From /tg/station 13 Wiki
Jump to navigation Jump to search
(Undo revision 33362 by TheOneAndMightyRed (talk))
Line 15: Line 15:
 
|{{{mag_desc|Holds X number of boolets, make you go 'Ow'.}}}
 
|{{{mag_desc|Holds X number of boolets, make you go 'Ow'.}}}
 
|}
 
|}
{{#switch: {{{table_end|yes}}} | yes = {{!}}} | no = {{!}} }}
+
{{#switch: {{{table_end}}} | yes | no | yes = |} | no = | }}
 +
|}
 
</noinclude></code>
 
</noinclude></code>
  

Revision as of 00:29, 12 July 2020

TGMC fix.png

Gun name

Looks like someone failed to write a description

Ammo:
TGMC fix.png

{{{mag_name}}}

Holds X number of boolets, make you go 'Ow'.

Example

Example

Template loop detected: Template:TGMC-Guntemplate

Meaning of Parameters

table_start adds the coloumbs for the table if the variable is set to 'yes', should only be used at the start of tables
table_end adds a |} if the variable is set to 'yes', means formatting won't have to be done manually
image is the icon for the gun
image_size is the size of the gun icon, 128px by default
name name of the weaon
anchor anchor point for linking
desc description for the weapon
mag_image icon the for magainze
mag_image_size icon size for the magainze, 64px by default
mag_name name for the magazine
mag_anchor anchor for the mag
mag_desc description for the magazine

Meaning of Parameters

table_start adds the coloumbs for the table if the variable is set to 'yes', should only be used at the start of tables
table_end adds a |} if the variable is set to 'yes', means formatting won't have to be done manually
image is the icon for the gun
image_size is the size of the gun icon, 128px by default
name name of the weaon
anchor anchor point for linking
desc description for the weapon
mag_image icon the for magainze
mag_image_size icon size for the magainze, 64px by default
mag_name name for the magazine
mag_anchor anchor for the mag
mag_desc description for the magazine