Шаблон:Weapon infobox 3: различия между версиями
Материал из SCP: Secret Laboratory Russian Official Wiki
Дополнительные действия
TARE104KA (обсуждение | вклад) м fix |
TARE104KA (обсуждение | вклад) м test |
||
Строка 16: | Строка 16: | ||
|- | |- | ||
{{#if:{{{caliber|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Калибр''' | {{#if:{{{caliber|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Калибр''' | ||
{{!}} style="width:55%;" {{!}} {{#switch: {{{caliber}}}| 9x19мм=<font color=#0248f7>9x19мм</font>|5.56x45мм=<font color=#0248f7>5.56x45мм</font>|7.62x39мм= <font color=#096e11>7.62x39мм</font>|.44 | {{!}} style="width:55%;" {{!}} {{#switch: {{{caliber}}}| 9x19мм=<font color=#0248f7>9x19мм</font>|5.56x45мм=<font color=#0248f7>5.56x45мм</font>|7.62x39мм= <font color=#096e11>7.62x39мм</font>|.44 Магнум=<font color=#096e11>.44 Магнум</font>|12/70 Дробь=<font color=#096e11>12/70 Дробь</font>}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
Строка 34: | Строка 34: | ||
|- | |- | ||
{{#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%;" {{!}} {{damageAsk|source={{{name|{{PAGENAME}}}}}|custom={{#switch:{{{name|{{PAGENAME}}}}}|МОГ-E11-SR=Standard FMJ| | {{!}} style="width:55%;" {{!}} {{damageAsk|source={{{name|{{PAGENAME}}}}}|custom={{#switch:{{{name|{{PAGENAME}}}}}|МОГ-E11-SR=Standard FMJ|.44 Revolver=Standard FMJ|COM-18=Standard AP|A7=Standard AP|AK=Standard AP|Crossvec=Standard FMJ|FR-MG-0=Standard FMJ}}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} |
Текущая версия от 11:29, 4 сентября 2023
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.