Редактирование:
Шаблон:Item
(раздел)
Перейти к навигации
Перейти к поиску
Внимание:
Вы не вошли в систему. Ваш IP-адрес будет общедоступен, если вы запишете какие-либо изменения. Если вы
войдёте
или
создадите учётную запись
, её имя будет использоваться вместо IP-адреса, наряду с другими преимуществами.
Анти-спам проверка.
Не
заполняйте это!
= How to use = template intended for lists of objects to clean them up a bit. == With no parameters == <nowiki>{{Item}}</nowiki> {{Item}} == With minimum parameters == The bare minimum is the name parameter. <nowiki>{{Item</nowiki> <nowiki>|name=Test Item</nowiki> <nowiki>|bgcolor1 = #FFEE88</nowiki> <nowiki>|bgcolor2 = #FFDD66</nowiki> <nowiki>|image = Redtoolbox.png</nowiki> <nowiki>}}</nowiki> {{Item |name=Test Item |bgcolor1 = #FFEE88 |bgcolor2 = #FFDD66 |image = Redtoolbox.png }} == Normal item == If the description is set, this template will show: <nowiki>{{Item</nowiki> <nowiki>|bgcolor1 = #FFEE88</nowiki> <nowiki>|bgcolor2 = #FFDD66</nowiki> <nowiki>|name = Emergency Toolbox</nowiki> <nowiki>|image = Redtoolbox.png</nowiki> <nowiki>|foundin = emergency lockers and storage areas</nowiki> <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> <nowiki>|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.</nowiki> <nowiki>|description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.</nowiki> <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki> <nowiki>}}</nowiki> {{Item |bgcolor1 = #FFEE88 |bgcolor2 = #FFDD66 |name = Emergency Toolbox |image = Redtoolbox.png |foundin = emergency lockers and storage areas |usedfor = Contains tools which are useful in emergencies |strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar. |description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency. Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes. }} ==Strategy-less items== If there is no strategy variable but there are foundin and used for, this template will show: <nowiki>{{Item</nowiki> <nowiki>|bgcolor1 = #FFEE88</nowiki> <nowiki>|bgcolor2 = #FFDD66</nowiki> <nowiki>|name = Emergency Toolbox</nowiki> <nowiki>|image = Redtoolbox.png</nowiki> <nowiki>|foundin = emergency lockers and storage areas</nowiki> <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> <nowiki>|description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.</nowiki> <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki> <nowiki>}}</nowiki> {{Item |name=Test Item |bgcolor1 = #FFEE88 |bgcolor2 = #FFDD66 |image = Redtoolbox.png |foundin = emergency lockers and storage areas |usedfor = Contains tools which are useful in emergencies |description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency.<br><br>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes. }} == Container items == If the contents variable is set, this template will show: <nowiki>{{Item</nowiki> <nowiki>|bgcolor1 = #FFEE88</nowiki> <nowiki>|bgcolor2 = #FFDD66</nowiki> <nowiki>|name = Emergency Toolbox</nowiki> <nowiki>|image = Redtoolbox.png</nowiki> <nowiki>|foundin = emergency lockers and storage areas</nowiki> <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> <nowiki>|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.</nowiki> <nowiki>|contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> [[File:Crowbar.png|link=Crowbar]] <nowiki>[[File:Analyzer.png|link=Analyzer]] [[File:Wirecutters.png|link=Wirecutters]] </nowiki> <nowiki>|description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when <nowiki>trying to cause an emergency.</nowiki> <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki> <nowiki>}}</nowiki> {{Item |bgcolor1 = #FFEE88 |bgcolor2 = #FFDD66 |name = Emergency Toolbox |image = Redtoolbox.png |foundin = emergency lockers and storage areas |usedfor = Contains tools which are useful in emergencies |strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar. |contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> [[File:Crowbar.png|link=Crowbar]] [[File:Analyzer.png|link=Analyzer]] [[File:Wirecutters.png|link=Wirecutters]] |description = The toolbox contains a flashlight, a crowbar, a radio and a fire extinguisher. All of which are very useful not only when emergencies hit but also when trying to cause an emergency. Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes. }} [[Category:Templates]] ==Override Image== If an image is bigger than 50px they will <s>break</s> not break anymore, since this is a more awesome wiki, but they will look very small, as shown below.<br> Setting "OverrideImage=true" will disable the default image code so you can add your own.<br> The default image code is:<br> <nowiki>[[File:{{{image|{{{name|Unknown}}}.png}}}|px50|{{{name|Item}}}]]</nowiki> For better understanding see these two examples: '''Without setting "OverrideImage":''' <nowiki>{{Item</nowiki> <nowiki>|bgcolor1 = #cce6ff</nowiki> <nowiki>|bgcolor2 = #99ccff</nowiki> <nowiki>|name = Particle Accelerator</nowiki> <nowiki>|image = ParticleAccelerator.gif</nowiki> <nowiki>}}</nowiki> {{Item |bgcolor1 = #cce6ff |bgcolor2 = #99ccff |name = Particle Accelerator |image = ParticleAccelerator.gif }} '''With setting "OverrideImage":''' <nowiki>{{Item</nowiki> <nowiki>|bgcolor1 = #cce6ff</nowiki> <nowiki>|bgcolor2 = #99ccff</nowiki> <nowiki>|name = Particle Accelerator</nowiki> <nowiki>|image = [[File:ParticleAccelerator.gif|Particle Accelerator]]</nowiki> <nowiki>|OverrideImage = true</nowiki> <nowiki>}}</nowiki> {{Item |bgcolor1 = #cce6ff |bgcolor2 = #99ccff |name = Particle Accelerator |image = [[File:ParticleAccelerator.gif|Particle Accelerator]] |OverrideImage = true }} </noinclude>
Описание изменений:
Пожалуйста, учтите, что любой ваш вклад в проект «MassMeta» может быть отредактирован или удалён другими участниками. Если вы не хотите, чтобы кто-либо изменял ваши тексты, не помещайте их сюда.
Вы также подтверждаете, что являетесь автором вносимых дополнений, или скопировали их из источника, допускающего свободное распространение и изменение своего содержимого (см.
MassMeta:Авторские права
).
НЕ РАЗМЕЩАЙТЕ БЕЗ РАЗРЕШЕНИЯ ОХРАНЯЕМЫЕ АВТОРСКИМ ПРАВОМ МАТЕРИАЛЫ!
Отменить
Справка по редактированию
(в новом окне)
Навигация
Персональные инструменты
Вы не представились системе
Обсуждение
Вклад
Создать учётную запись
Войти
Пространства имён
Шаблон
Обсуждение
русский
Просмотры
Читать
Править код
История
Ещё
Поиск
/tg/station 13
Главная страница
Новым игрокам
Правила
Профессии
Гайды
Предметы
Локации
Карты
Игровые режимы
Вклад
Руководство по участию в разработке билда
Маппинг
Спрайтинг
Руководство по пониманию кода
Разработка
Wiki
Свежие правки
Случайная страница
Инструменты
Ссылки сюда
Связанные правки
Служебные страницы
Сведения о странице