Участник:TheOneAndMightyRed/Sandbox/Template:TGMC AttachmentImage

Материал из MassMeta
Перейти к навигации Перейти к поиску

This Template is part of the User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentSlot Template Tree.

This Template is used to get a specific Image of a particular Attachment in TGMC. This template automatically tried to get a .png of the attachment listed in the switch. If you want to add a png then simply upload a .png to the wiki using the sidebar and name it TGMC_<name>.png where <name> is replaced by the DEV attachment name path (e.g. /attachment/scope/mini becomes scope_mini or attachment/attached_gun/flamer becomes attached_gun_flamer). So if the new attachment you upload is called "/attachment/scope/big/mercenary" then please name the file TGMC_scope_big_mercenary.png. The same goes for the .gif format however you have to manually specify the File path name in the switch on this page to make it appear as a .gif on the site you are trying to get the picture from.

To use this template simply type [[{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentImage|attachmentName=name}]]} in your page to get the Image in either a .png or .gif format of the specified attachment.


[[{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentImage|attachmentName=flashlight}}]]