Шаблон:Item infobox: различия между версиями
Материал из SCP: Secret Laboratory Russian Official Wiki
Дополнительные действия
мНет описания правки |
Нет описания правки |
||
| Строка 14: | Строка 14: | ||
|- | |- | ||
{{#if:{{{Description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Описание''' | {{#if:{{{Description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Описание''' | ||
{{!}} style="width:45%;" {{!}} {{{Description}}} | {{!}} style="width:45%; white-space: nowrap;" {{!}} {{{Description}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
| Строка 22: | Строка 22: | ||
|- | |- | ||
| style="width:45%;font-size:95%;" | '''Применение''' | | style="width:45%;font-size:95%;" | '''Применение''' | ||
| style="width:55%;" | {{{usage}}} | | style="width:55%; white-space: nowrap;" | {{{usage}}} | ||
|- | |- | ||
| style="width:45%;font-size:95%;" | '''Появление''' | | style="width:45%;font-size:95%;" | '''Появление''' | ||
| style="width:55%;" | {{{spawn}}} | | style="width:55%; white-space: nowrap;" | {{{spawn}}} | ||
|- | |- | ||
{{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Накладываемые Эффекты''' | {{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Накладываемые Эффекты''' | ||
{{!}} style="width:55%;" {{!}} {{{effect}}} | {{!}} style="width:55%; white-space: nowrap;" {{!}} {{{effect}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
| style="width:45%;font-size:95%;" | '''ID предмета''' | | style="width:45%;font-size:95%;" | '''ID предмета''' | ||
| style="width:55%;" | {{{ID}}} | | style="width:55%; white-space: nowrap;" | {{{ID}}} | ||
|} | |} | ||
{{#if:{{{nocat|}}}||[[Category:Предметы]]}} | {{#if:{{{nocat|}}}||[[Category:Предметы]]}} | ||
Версия от 16:47, 28 мая 2021
| Item infobox | |
|---|---|
| Параметры | |
| Описание | You're not sure why you'd want to carry this around... |
| Тип | Equipment |
| Применение | Plugins |
| Появление | Remote Admin |
| ID предмета | 35 |
An infobox for Предметы.
Example
{{Item infobox
|name = Example item
|image = SCP Foundation (emblem).svg
|image_size = 200
|caption = Some example image
|type = Equipment
|usage = Disarms
|spawn = [[MTF]]
|nocat = yes
}}
Syntax
{{Item infobox
|name = Name override
|image = Image (preferably png)
|caption = Caption that goes under the infobox image
|image_size = Image size override
|type = Item type (Equipment/Misc)|(Tool/Consumable)|SCP Item
|usage = What is it used for
|spawn = Spawn locations (both zones and classes)
|nocat = Doesn't include category
}}