Шаблон:Item infobox: различия между версиями
Материал из SCP: Secret Laboratory Russian Official Wiki
Дополнительные действия
TARE104KA (обсуждение | вклад) Новая страница: «<includeonly> {| class="infobox" style="font-size:90%; width:20%;" |- ! class="infobox2" colspan="2" style="font-size:130%;" | {{{name|{{PAGENAME}}}}} |- {{#if:...» |
TARE104KA (обсуждение | вклад) м Translated on russian (part.) |
||
| Строка 11: | Строка 11: | ||
|}} | |}} | ||
|- | |- | ||
| class="infobox3" colspan="2" | | | class="infobox3" colspan="2" | Параметры | ||
|- | |- | ||
{{#if:{{{Description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} ''' | {{#if:{{{Description|}}}|{{!}} style="width:30%;font-size:95%;" {{!}} '''Описание''' | ||
{{!}} style="width:45%;" {{!}} {{{Description}}} | {{!}} style="width:45%;" {{!}} {{{Description}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
|- | |- | ||
| style="width:45%;font-size:95%;" | ''' | | style="width:45%;font-size:95%;" | '''Тип''' | ||
| style="width:55%;" | {{{type}}} | | style="width:55%;" | {{{type}}} | ||
|- | |- | ||
| style="width:45%;font-size:95%;" | ''' | | style="width:45%;font-size:95%;" | '''Применение''' | ||
| style="width:55%;" | {{{usage}}} | | style="width:55%;" | {{{usage}}} | ||
|- | |- | ||
| style="width:45%;font-size:95%;" | ''' | | style="width:45%;font-size:95%;" | '''Появление''' | ||
| style="width:55%;" | {{{spawn}}} | | style="width:55%;" | {{{spawn}}} | ||
|- | |- | ||
{{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} ''' | {{#if:{{{effect|}}}|{{!}} style="width:45%;font-size:95%;" {{!}} '''Накладываемые Эффекты''' | ||
{{!}} style="width:55%;" {{!}} {{{effect}}} | {{!}} style="width:55%;" {{!}} {{{effect}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
| style="width:45%;font-size:95%;" | ''' | | style="width:45%;font-size:95%;" | '''ID предмета''' | ||
| style="width:55%;" | {{{ID}}} | | style="width:55%;" | {{{ID}}} | ||
|} | |} | ||
Версия от 15:52, 6 ноября 2020
| Item infobox | |
|---|---|
| Параметры | |
| Описание | You're not sure why you'd want to carry this around... |
| Тип | Equipment |
| Применение | Plugins |
| Появление | Remote Admin |
| ID предмета | 35 |
An infobox for Items.
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
}}