| Строка 1: |
Строка 1: |
| − | <includeonly>{{#if:{{{contents|}}}| {{Storage|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|strategy={{{strategy}}}|description={{{description}}}|contents={{{contents}}}}} | {{#if:{{{strategy|}}}| {{ItemMedium|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|strategy={{{strategy}}}|description={{{description}}}}} | {{#if:{{{usedfor|}}}| {{ItemUsedFor|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|description={{{description}}}}} | {{#if:{{{name|}}}| {{Template:ItemSimple|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}}} | <font color='red'>'''The item needs to have the name defined.'''</font> }} }} }} }}</includeonly><noinclude> | + | <includeonly> |
| | + | {{#if:{{{contents|}}}| {{Storage|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|strategy={{{strategy}}}|description={{{description}}}|contents={{{contents}}}}} | {{#if:{{{strategy|}}}| {{ItemMedium|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|strategy={{{strategy}}}|description={{{description}}}}} | {{#if:{{{usedfor|}}}| {{ItemUsedFor|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}|foundin={{{foundin}}}|usedfor={{{usedfor}}}|description={{{description}}}}} | {{#if:{{{name|}}}| {{Template:ItemSimple|name={{{name}}}|image={{{image}}}|OverrideImage={{{OverrideImage|}}}|bgcolor1={{{bgcolor1}}}|bgcolor2={{{bgcolor2}}}}} | <font color='red'>'''Предмет должен иметь определенное имя.'''</font> }} }} }} }} |
| | + | </includeonly> |
| | + | <noinclude> |
| | | | |
| − | = How to use = | + | = Как использовать = |
| | | | |
| − | template intended for lists of objects to clean them up a bit.
| + | Шаблон предназначен для формирования списков объектов, чтобы немного их очистить. |
| | | | |
| − | == With no parameters == | + | == Без параметров == |
| | | | |
| | <nowiki>{{Item}}</nowiki> | | <nowiki>{{Item}}</nowiki> |
| Строка 11: |
Строка 14: |
| | {{Item}} | | {{Item}} |
| | | | |
| − | == With minimum parameters == | + | == С минимальными параметрами == |
| | | | |
| − | The bare minimum is the name parameter.
| + | Минимум — это параметр «имя». |
| | | | |
| | <nowiki>{{Item</nowiki> | | <nowiki>{{Item</nowiki> |
| − | <nowiki>|name=Test Item</nowiki> | + | <nowiki>|name=Тестовый предмет</nowiki> |
| | <nowiki>|bgcolor1 = #FFEE88</nowiki> | | <nowiki>|bgcolor1 = #FFEE88</nowiki> |
| | <nowiki>|bgcolor2 = #FFDD66</nowiki> | | <nowiki>|bgcolor2 = #FFDD66</nowiki> |
| Строка 23: |
Строка 26: |
| | | | |
| | {{Item | | {{Item |
| − | |name=Test Item | + | |name = Тестовый предмет |
| | |bgcolor1 = #FFEE88 | | |bgcolor1 = #FFEE88 |
| | |bgcolor2 = #FFDD66 | | |bgcolor2 = #FFDD66 |
| Строка 29: |
Строка 32: |
| | }} | | }} |
| | | | |
| − | == Normal item == | + | == Предмет с нормальным количеством параметров == |
| | | | |
| − | If the description is set, this template will show:
| + | Если описание установлено, то шаблон его покажет: |
| | | | |
| | <nowiki>{{Item</nowiki> | | <nowiki>{{Item</nowiki> |
| | <nowiki>|bgcolor1 = #FFEE88</nowiki> | | <nowiki>|bgcolor1 = #FFEE88</nowiki> |
| | <nowiki>|bgcolor2 = #FFDD66</nowiki> | | <nowiki>|bgcolor2 = #FFDD66</nowiki> |
| − | <nowiki>|name = Emergency Toolbox</nowiki> | + | <nowiki>|name = Аварийный инструментарий (Emergency Toolbox)</nowiki> |
| | <nowiki>|image = Redtoolbox.png</nowiki> | | <nowiki>|image = Redtoolbox.png</nowiki> |
| − | <nowiki>|foundin = emergency lockers and storage areas</nowiki> | + | <nowiki>|foundin = аварийные шкафчики и складские помещения</nowiki> |
| − | <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> | + | <nowiki>|usedfor = Содержит инструменты, которые полезны в чрезвычайных ситуациях</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>|strategy = Он очень тяжёлый, что полезно при избиении людей. Содержит фонарик, который очень полезен так же как лом.</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>|description = Ящик для инструментов содержит фонарик, лом, радио и огнетушитель. Все это очень полезно не только при возникновении чрезвычайных ситуаций, но и при попытке вызвать чрезвычайную ситуацию.</nowiki> |
| | | | |
| − | <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki> | + | <nowiki>Постарайтесь побыстрее заполучить один из них, поскольку они имеют тенденцию быть быстро разграбленными, если вы хотите, пока не произойдет экстренная ситуация.</nowiki> |
| | <nowiki>}}</nowiki> | | <nowiki>}}</nowiki> |
| | | | |
| Строка 49: |
Строка 52: |
| | |bgcolor1 = #FFEE88 | | |bgcolor1 = #FFEE88 |
| | |bgcolor2 = #FFDD66 | | |bgcolor2 = #FFDD66 |
| − | |name = Emergency Toolbox | + | |name = Аварийный инструментарий (Emergency Toolbox) |
| | |image = Redtoolbox.png | | |image = Redtoolbox.png |
| − | |foundin = emergency lockers and storage areas | + | |foundin = аварийные шкафчики и складские помещения |
| − | |usedfor = Contains tools which are useful in emergencies | + | |usedfor = Содержит инструменты, которые полезны в чрезвычайных ситуациях |
| − | |strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar. | + | |strategy = Он очень тяжёлый, что полезно при избиении людей. Содержит фонарик, который очень полезен так же как лом. |
| − | |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. | + | |description = Ящик для инструментов содержит фонарик, лом, радио и огнетушитель. Все это очень полезно не только при возникновении чрезвычайных ситуаций, но и при попытке вызвать чрезвычайную ситуацию. |
| | | | |
| − | 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>{{Item</nowiki> |
| | <nowiki>|bgcolor1 = #FFEE88</nowiki> | | <nowiki>|bgcolor1 = #FFEE88</nowiki> |
| | <nowiki>|bgcolor2 = #FFDD66</nowiki> | | <nowiki>|bgcolor2 = #FFDD66</nowiki> |
| − | <nowiki>|name = Emergency Toolbox</nowiki> | + | <nowiki>|name = Аварийный инструментарий (Emergency Toolbox)</nowiki> |
| | <nowiki>|image = Redtoolbox.png</nowiki> | | <nowiki>|image = Redtoolbox.png</nowiki> |
| − | <nowiki>|foundin = emergency lockers and storage areas</nowiki> | + | <nowiki>|foundin = аварийные шкафчики и складские помещения</nowiki> |
| − | <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> | + | <nowiki>|usedfor = Содержит инструменты, которые полезны в чрезвычайных ситуациях</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>|description = Ящик для инструментов содержит фонарик, лом, радио и огнетушитель. Все это очень полезно не только при возникновении чрезвычайных ситуаций, но и при попытке вызвать чрезвычайную ситуацию.</nowiki> |
| | | | |
| − | <nowiki>Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.</nowiki> | + | <nowiki>Постарайтесь побыстрее заполучить один из них, поскольку они имеют тенденцию быть быстро разграбленными, если вы хотите, пока не произойдет экстренная ситуация.</nowiki> |
| | <nowiki>}}</nowiki> | | <nowiki>}}</nowiki> |
| | | | |
| | {{Item | | {{Item |
| − | |name=Test Item | + | |name=Тестовый предмет |
| | |bgcolor1 = #FFEE88 | | |bgcolor1 = #FFEE88 |
| | |bgcolor2 = #FFDD66 | | |bgcolor2 = #FFDD66 |
| | |image = Redtoolbox.png | | |image = Redtoolbox.png |
| − | |foundin = emergency lockers and storage areas | + | |foundin = аварийные шкафчики и складские помещения |
| − | |usedfor = Contains tools which are useful in emergencies | + | |usedfor = Содержит инструменты, которые полезны в чрезвычайных ситуациях |
| − | |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. | + | |description = Ящик для инструментов содержит фонарик, лом, радио и огнетушитель. Все это очень полезно не только при возникновении чрезвычайных ситуаций, но и при попытке вызвать чрезвычайную ситуацию.<br><br>Постарайтесь побыстрее заполучить один из них, поскольку они имеют тенденцию быть быстро разграбленными, если вы хотите, пока не произойдет экстренная ситуация. |
| | }} | | }} |
| | + | |
| | == Container items == | | == Container items == |
| | | | |
| Строка 91: |
Строка 95: |
| | <nowiki>|bgcolor1 = #FFEE88</nowiki> | | <nowiki>|bgcolor1 = #FFEE88</nowiki> |
| | <nowiki>|bgcolor2 = #FFDD66</nowiki> | | <nowiki>|bgcolor2 = #FFDD66</nowiki> |
| − | <nowiki>|name = Emergency Toolbox</nowiki> | + | <nowiki>|name = Аварийный инструментарий (Emergency Toolbox)</nowiki> |
| | <nowiki>|image = Redtoolbox.png</nowiki> | | <nowiki>|image = Redtoolbox.png</nowiki> |
| − | <nowiki>|foundin = emergency lockers and storage areas</nowiki> | + | <nowiki>|foundin = аварийные шкафчики и складские помещения</nowiki> |
| − | <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki> | + | <nowiki>|usedfor = Содержит инструменты, которые полезны в чрезвычайных ситуациях</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>|strategy = Он очень тяжёлый, что полезно при избиении людей. Содержит фонарик, который очень полезен так же как лом.</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>|contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> |
| | + | |
| | + | <nowiki>[[File:Crowbar.png|link=Crowbar]] [[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>|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> |
| | <nowiki>}}</nowiki> | | <nowiki>}}</nowiki> |
| | | | |
| Строка 105: |
Строка 111: |
| | |bgcolor1 = #FFEE88 | | |bgcolor1 = #FFEE88 |
| | |bgcolor2 = #FFDD66 | | |bgcolor2 = #FFDD66 |
| − | |name = Emergency Toolbox | + | |name = Аварийный инструментарий (Emergency Toolbox) |
| | |image = Redtoolbox.png | | |image = Redtoolbox.png |
| − | |foundin = emergency lockers and storage areas | + | |foundin = аварийные шкафчики и складские помещения |
| − | |usedfor = Contains tools which are useful in emergencies | + | |usedfor = Содержит инструменты, которые полезны в чрезвычайных ситуациях |
| − | |strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar. | + | |strategy = Он очень тяжёлый, что полезно при избиении людей. Содержит фонарик, который очень полезен так же как лом. |
| − | |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]] | + | |contents = [[File:Screwdriver tool.png|link=Screwdriver]] [[File:Wrench.png|link=Wrench]] [[File:Welder.png|link=Welding Tool]]<br> |
| − | |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. | + | [[File:Crowbar.png|link=Crowbar]] [[File:Analyzer.png|link=Analyzer]] [[File:Wirecutters.png|link=Wirecutters]] |
| | + | |description = Ящик для инструментов содержит фонарик, лом, радио и огнетушитель. Все это очень полезно не только при возникновении чрезвычайных ситуаций, но и при попытке вызвать чрезвычайную ситуацию. |
| | | | |
| − | 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>
| + | Если изображение больше, чем 50 пикселов (px), оно <s>сломает</s> больше не сломает ничего, так как это более потрясающая вики, но они будут выглядеть очень маленькими, как показано ниже.<br> |
| − | Setting "OverrideImage=true" will disable the default image code so you can add your own.<br>
| + | Настройка "OverrideImage = true" отключит код изображения по умолчанию, чтобы вы могли добавить свой собственный.<br> |
| − | The default image code is:<br>
| + | Код изображения по умолчанию:<br> |
| − | <nowiki>[[File:{{{image|{{{name|Unknown}}}.png}}}|px50|{{{name|Item}}}]]</nowiki> | + | <nowiki>[[File:{{{image|{{{name|Неизвестно}}}.png}}}|px50|{{{name|Предмет}}}]]</nowiki> |
| | | | |
| − | For better understanding see these two examples:
| + | Для лучшего понимания смотрите эти два примера: |
| | | | |
| − | '''Without setting "OverrideImage":''' | + | '''Без настройки "Переопределить изображение":''' |
| | <nowiki>{{Item</nowiki> | | <nowiki>{{Item</nowiki> |
| | <nowiki>|bgcolor1 = #cce6ff</nowiki> | | <nowiki>|bgcolor1 = #cce6ff</nowiki> |
| | <nowiki>|bgcolor2 = #99ccff</nowiki> | | <nowiki>|bgcolor2 = #99ccff</nowiki> |
| − | <nowiki>|name = Particle Accelerator</nowiki> | + | <nowiki>|name = Ускоритель частиц</nowiki> |
| | <nowiki>|image = ParticleAccelerator.gif</nowiki> | | <nowiki>|image = ParticleAccelerator.gif</nowiki> |
| | <nowiki>}}</nowiki> | | <nowiki>}}</nowiki> |
| Строка 135: |
Строка 141: |
| | |bgcolor1 = #cce6ff | | |bgcolor1 = #cce6ff |
| | |bgcolor2 = #99ccff | | |bgcolor2 = #99ccff |
| − | |name = Particle Accelerator | + | |name = Ускоритель частиц |
| | |image = ParticleAccelerator.gif | | |image = ParticleAccelerator.gif |
| | }} | | }} |
| Строка 141: |
Строка 147: |
| | | | |
| | | | |
| − | '''With setting "OverrideImage":''' | + | '''С настройкой "Переопределить изображение":''' |
| | <nowiki>{{Item</nowiki> | | <nowiki>{{Item</nowiki> |
| | <nowiki>|bgcolor1 = #cce6ff</nowiki> | | <nowiki>|bgcolor1 = #cce6ff</nowiki> |
| | <nowiki>|bgcolor2 = #99ccff</nowiki> | | <nowiki>|bgcolor2 = #99ccff</nowiki> |
| − | <nowiki>|name = Particle Accelerator</nowiki> | + | <nowiki>|name = Ускоритель частиц</nowiki> |
| | <nowiki>|image = [[File:ParticleAccelerator.gif|Particle Accelerator]]</nowiki> | | <nowiki>|image = [[File:ParticleAccelerator.gif|Particle Accelerator]]</nowiki> |
| | <nowiki>|OverrideImage = true</nowiki> | | <nowiki>|OverrideImage = true</nowiki> |
| Строка 152: |
Строка 158: |
| | |bgcolor1 = #cce6ff | | |bgcolor1 = #cce6ff |
| | |bgcolor2 = #99ccff | | |bgcolor2 = #99ccff |
| − | |name = Particle Accelerator | + | |name = Ускоритель частиц |
| | |image = [[File:ParticleAccelerator.gif|Particle Accelerator]] | | |image = [[File:ParticleAccelerator.gif|Particle Accelerator]] |
| | |OverrideImage = true | | |OverrideImage = true |
| Строка 158: |
Строка 164: |
| | | | |
| | </noinclude> | | </noinclude> |
| | + | [[Category:Templates]] |