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

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>TheOneAndMightyRed
(Created page with "<includeonly>{{#switch: {{{attachmentName}}} | suppressor = A small tube with exhaust ports to expel noise and gas.<br>Does not completely silence a weapon, but does make it m...")
 
imported>TheOneAndMightyRed
Нет описания правки
Строка 67: Строка 67:


To use this template simply type '''<nowiki>{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentDesc|attachmentName=name}}</nowiki>''' in your page to get the Description of the specified attachment.
To use this template simply type '''<nowiki>{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentDesc|attachmentName=name}}</nowiki>''' in your page to get the Description of the specified attachment.
<nowiki>{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentDesc|attachmentName=flashlight}}</nowiki><br>
{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentDesc|attachmentName=flashlight}}

Версия от 18:05, 30 апреля 2020

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

This Template is used to get a specific Description 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_AttachmentDesc|attachmentName=name}} in your page to get the Description of the specified attachment.


{{User:TheOneAndMightyRed/Sandbox/Template:TGMC_AttachmentDesc|attachmentName=flashlight}}
A simple flashlight used for mounting on a firearm.
Has no drawbacks, but isn't particuraly useful outside of providing a light source.