Шаблон:Weapon infobox 3: различия между версиями
Материал из SCP: Secret Laboratory Russian Official Wiki
Дополнительные действия
Нет описания правки |
Обновление шаблона |
||
Строка 33: | Строка 33: | ||
{{#if:{{{length|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Длина''' | {{#if:{{{length|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Длина''' | ||
{{!}} style="width:55%;" {{!}} {{Mvar|{{{length}}} in}} | {{!}} style="width:55%;" {{!}} {{Mvar|{{{length}}} in}} | ||
{{!}}- | |||
|}} | |||
{{#if:{{{length2|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Длина''' | |||
{{!}} style="width:55%;" {{!}} {{Mvar|{{{length2}}} см}} | |||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Строка 55: | Строка 59: | ||
|}} | |}} | ||
--> | --> | ||
{{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Скорострельность''' | {{#if:{{{fire_rate|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Скорострельность''' | ||
{{!}} style="width:55%;" {{!}} {{{fire_rate}}} | {{!}} style="width:55%;" {{!}} {{{fire_rate}}} | ||
Строка 73: | Строка 75: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
<!--- | |||
{{#if:{{{draw_time|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Время доставания''' | {{#if:{{{draw_time|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Время доставания''' | ||
{{!}} style="width:55%;" {{!}} {{Mvar|{{{draw_time}}} с}} | {{!}} style="width:55%;" {{!}} {{Mvar|{{{draw_time}}} с}} | ||
Строка 93: | Строка 96: | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
--> | |||
{{#if:{{{speed|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Штраф к скорости''' | {{#if:{{{speed|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Штраф к скорости''' | ||
{{!}} style="width: | {{!}} style="width:45%;" {{!}} {{MeterstoHubes|-{{#expr: 7.35 * ({{{speed}}} * .01)}}}} м/с | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
{{#if:{{{stamina|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Штраф к выносливости''' | {{#if:{{{stamina|}}}|{{!}} style="width:45%;font-size:95%; white-space: nowrap;" {{!}} '''Штраф к выносливости''' | ||
{{!}} style="width: | {{!}} style="width:45%;" {{!}} -{{#expr: 20 * ({{{stamina}}} * .01)}} с | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Строка 121: | Строка 125: | ||
| style="width:55%;" | {{{ID}}} | | style="width:55%;" | {{{ID}}} | ||
|} | |} | ||
{{#if:{{{nocat|}}}||[[Category: | {{#if:{{{nocat|}}}||[[Category:Оружие]]}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Строка 131: | Строка 135: | ||
|reload = ?? | |reload = ?? | ||
|nocat = yes | |nocat = yes | ||
|speed = | |speed = 9 | ||
|stamina = | |stamina = 24 | ||
|weight = ?? | |weight = ?? | ||
|ads_time = ?? | |ads_time = ?? | ||
Строка 144: | Строка 148: | ||
|magazine_attachments = 4 | |magazine_attachments = 4 | ||
|spawn_locations = Ящик с E-11 (duh) | |spawn_locations = Ящик с E-11 (duh) | ||
|spawn_class = MTF | |spawn_class = MTF | ||
|draw_time = ?? | |draw_time = ?? |
Версия от 16:46, 24 октября 2021
Weapon Infobox v3. Due to the fact damage charts are now a thing. It isn't a high priority to have damage values in the infobox, there is a possibility of adding default values though.