Участник:TheOneAndMightyRed/Sandbox/Template:TGMC AttachmentName: различия между версиями

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>TheOneAndMightyRed
Нет описания правки
imported>TheOneAndMightyRed
Нет описания правки
 
(не показаны 3 промежуточные версии этого же участника)
Строка 27: Строка 27:
| scope_mini_m4ra = M4RA Rail Scope
| scope_mini_m4ra = M4RA Rail Scope
| scope_m42a = M42A Rail Scope
| scope_m42a = M42A Rail Scope
| scope_slavic = scope_slavic2
| scope_slavic = scope_slavic
| scope_pmc = scope_pmc
| scope_pmc = scope_pmc
| stock_shotgun = Improper M37 Wooden Stock
| stock_shotgun = Improper M37 Wooden Stock

Текущая версия от 21:43, 30 апреля 2020

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

This Template is used to get a specific Display Name of a particular Attachment in TGMC. To add your own attachment to the list please add a new case in the switch statement with the DEV attachment name path (e.g. /attachment/scope/mini becomes scope_mini or attachment/attached_gun/flamer becomes attached_gun_flamer) and a display name suited for the Attachment.

To use this template simply type {{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentName|attachmentName=name}} in your page to get a Display name of the specified attachment.


{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentName|attachmentName=flashlight}}
Rail Flashlight