İçeriğe atla

Şablon:Item: Revizyonlar arasındaki fark

Psychonaut Station Wiki sitesinden
Ertusama (mesaj | katkılar)
Değişiklik özeti yok
Ertusama (mesaj | katkılar)
Değişiklik özeti yok
 
(Aynı kullanıcının aradaki bir diğer değişikliği gösterilmiyor)
1. satır: 1. satır:
<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'>'''The item needs to have the name defined.'''</font> }} }} }} }}</includeonly><noinclude>


= Nasıl kullanılır =
= How to use =


Nesne listelerini biraz düzenlemek için tasarlanmış şablon.
template intended for lists of objects to clean them up a bit.


== Hiçbir parametre olmadan ==
== With no parameters ==


   <nowiki>{{Item}}</nowiki>
   <nowiki>{{Item}}</nowiki>
11. satır: 11. satır:
{{Item}}
{{Item}}


== Minimum parametrelerle ==
== With minimum parameters ==


En temel gereksinim isim parametresidir.
The bare minimum is the name parameter.


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>
23. satır: 23. satır:


{{Item
{{Item
|Ad=Test Eşyası
|name=Test Item
|bgcolor1 = #FFEE88
|bgcolor1 = #FFEE88
|bgcolor2 = #FFDD66
|bgcolor2 = #FFDD66
29. satır: 29. satır:
}}
}}


== Normal eşya ==
== Normal item ==


Açıklama ayarlanmışsa, bu şablon şunları gösterecektir:
If the description is set, this template will show:


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>
37. satır: 37. satır:
   <nowiki>|bgcolor2 = #FFDD66</nowiki>
   <nowiki>|bgcolor2 = #FFDD66</nowiki>
   <nowiki>|name = Emergency Toolbox</nowiki>
   <nowiki>|name = Emergency Toolbox</nowiki>
   <nowiki>|Görsel= Redtoolbox.png</nowiki>
   <nowiki>|image = Redtoolbox.png</nowiki>
   <nowiki>|Nerede Bulunur= Acil durum dolapları ve depolama alanları</nowiki>
   <nowiki>|foundin = emergency lockers and storage areas</nowiki>
   <nowiki>|Niçin Kullanılır= Acil durumlarda faydalı olacak aletler içerir.</nowiki>
   <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki>
   <nowiki>|Strateji = Çok ağır, insanları dövmek için kullanışlı. İçinde çok işe yarayan bir el feneri ve bir levye de bulunuyor.</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>|Açıklama = Alet kutusunda bir el feneri, bir levye, bir radyo ve bir yangın söndürücü bulunur. Bunların hepsi sadece acil durumlar meydana geldiğinde değil, aynı zamanda bir acil durum yaratmaya çalışırken de çok kullanışlıdır.</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>Acil bir durum ortaya çıkana kadar bir tane edinmekte acele edin, çünkü hızla yağmalanabiliyorlar.</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>


49. satır: 49. satır:
|bgcolor1 = #FFEE88
|bgcolor1 = #FFEE88
|bgcolor2 = #FFDD66
|bgcolor2 = #FFDD66
|Ad= Emergency Toolbox
|name = Emergency Toolbox
|Görsel= Redtoolbox.png
|image = Redtoolbox.png
|Nerede Bulunur= Acil durum dolapları ve depolama alanları.
|foundin = emergency lockers and storage areas
|Niçin Kullanılır= Acil durumlarda faydalı olacak aletler içerir.
|usedfor = Contains tools which are useful in emergencies
|Strateji= Çok ağır, insanları dövmek için kullanışlı. İçinde çok işe yarayan bir el feneri ve bir levye de bulunuyor.
|strategy = It is very heavy, useful for the beating up of people. Contains a flashlight which is very useful as well as a crowbar.
|Açıklama= Alet kutusunda bir el feneri, bir levye, bir radyo ve bir yangın söndürücü bulunur. Bunların hepsi sadece acil durumlar meydana geldiğinde değil, aynı zamanda bir acil durum yaratmaya çalışırken de çok kullanışlıdır.
|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.


Acil bir durum ortaya çıkana kadar bir tane edinmekte acele edin, çünkü hızla yağmalanabiliyorlar.
Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
}}
}}


==Strateji gerektirmeyen eşyalar==
==Strategy-less items==


Strateji değişkeni yoksa ancak kuruluş ve kullanım alanları varsa, bu şablon şunları gösterecektir:
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>|Ad= Emergency Toolbox</nowiki>
   <nowiki>|name = Emergency Toolbox</nowiki>
   <nowiki>|Görsel= Redtoolbox.png</nowiki>
   <nowiki>|image = Redtoolbox.png</nowiki>
   <nowiki>|Nerede Bulunur= Acil durum dolapları ve depolama alanları.</nowiki>
   <nowiki>|foundin = emergency lockers and storage areas</nowiki>
   <nowiki>|Niçin Kullanılır= Acil durumlarda faydalı olacak aletler içerir.</nowiki>
   <nowiki>|usedfor = Contains tools which are useful in emergencies</nowiki>
   <nowiki>|Açıklama= Alet kutusunda bir el feneri, bir levye, bir radyo ve bir yangın söndürücü bulunur. Bunların hepsi sadece acil durumlar meydana geldiğinde değil, aynı zamanda bir acil durum yaratmaya çalışırken de çok kullanışlıdır.</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>Acil bir durum ortaya çıkana kadar bir tane edinmekte acele edin, çünkü hızla yağmalanabiliyorlar.</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>


{{Item
{{Item
  |Ad=Test Eşyası
  |name=Test Item
  |bgcolor1 = #FFEE88
  |bgcolor1 = #FFEE88
  |bgcolor2 = #FFDD66
  |bgcolor2 = #FFDD66
  |Görsel= Redtoolbox.png
  |image = Redtoolbox.png
  |Nerede Bulunur= emergency lockers and storage areas
  |foundin = emergency lockers and storage areas
  |Niçin Kullanılır= Contains tools which are useful in emergencies
  |usedfor = Contains tools which are useful in emergencies
  |Açıklama = 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 = 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.
  }}
  }}
== Konteyner eşyalar ==
== Container items ==


İçerik değişkeni ayarlanmışsa, bu şablon şunları gösterecektir:
If the contents variable is set, this template will show:


   <nowiki>{{Item</nowiki>
   <nowiki>{{Item</nowiki>
99. satır: 99. satır:
   <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>Acil bir durum ortaya çıkana kadar bir tane edinmekte acele edin, çünkü hızla yağmalanabiliyorlar.</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>


113. satır: 113. satır:
|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 = 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.


Acil bir durum ortaya çıkana kadar bir tane edinmekte acele edin, çünkü hızla yağmalanabiliyorlar.
Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
}}
}}
[[Category:Templates]]
[[Kategori:Şablonlar]]


=Resmi Geçersiz Kıl=
==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>
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>
Setting "OverrideImage=true" will disable the default image code so you can add your own.<br>
123. satır: 123. satır:
  <nowiki>[[File:{{{image|{{{name|Unknown}}}.png}}}|px50|{{{name|Item}}}]]</nowiki>
  <nowiki>[[File:{{{image|{{{name|Unknown}}}.png}}}|px50|{{{name|Item}}}]]</nowiki>


Daha iyi anlamak için şu iki örneğe bakın:
For better understanding see these two examples:


'''Ayarlamadan"Override Image" (Resmi Geçersiz Kıl):'''
'''Without setting "OverrideImage":'''
  <nowiki>{{Item</nowiki>
  <nowiki>{{Item</nowiki>
  <nowiki>|bgcolor1 = #cce6ff</nowiki>
  <nowiki>|bgcolor1 = #cce6ff</nowiki>
141. satır: 141. satır:




'''Ayarlamadan "OverrideImage" (Resmi Geçersiz Kıl):'''
'''With setting "OverrideImage":'''
  <nowiki>{{Item</nowiki>
  <nowiki>{{Item</nowiki>
  <nowiki>|bgcolor1 = #cce6ff</nowiki>
  <nowiki>|bgcolor1 = #cce6ff</nowiki>

16.59, 3 Şubat 2026 itibarı ile sayfanın şu anki hâli


How to use

template intended for lists of objects to clean them up a bit.

With no parameters

 {{Item}}

The item needs to have the name defined.

With minimum parameters

The bare minimum is the name parameter.

 {{Item
 |name=Test Item
 |bgcolor1 = #FFEE88
 |bgcolor2 = #FFDD66
 |image = Redtoolbox.png
 }}


Test Item
Test Item

Normal item

If the description is set, this template will show:

 {{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.
 }}


Emergency Toolbox
Emergency Toolbox
Found in: emergency lockers and storage areas
Used for: 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:

 {{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
 |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.
 }}


Test Item
Test Item
Found in: emergency lockers and storage areas
Used for: 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.

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:

 {{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]]   <nowiki>[[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   <nowiki>trying to cause an emergency.
 
 Be quick in getting one as they tend to get looted quickly if you want until an emergency strikes.
 }}


Emergency Toolbox
Emergency Toolbox
Found in: emergency lockers and storage areas
Used for: 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 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.

Override Image

If an image is bigger than 50px they will break not break anymore, since this is a more awesome wiki, but they will look very small, as shown below.
Setting "OverrideImage=true" will disable the default image code so you can add your own.
The default image code is:

[[File:{{{image|{{{name|Unknown}}}.png}}}|px50|{{{name|Item}}}]]

For better understanding see these two examples:

Without setting "OverrideImage":

{{Item
|bgcolor1 = #cce6ff
|bgcolor2 = #99ccff
|name = Particle Accelerator
|image = ParticleAccelerator.gif
}}
Particle Accelerator
Particle Accelerator


With setting "OverrideImage":

{{Item
|bgcolor1 = #cce6ff
|bgcolor2 = #99ccff
|name = Particle Accelerator
|image = [[File:ParticleAccelerator.gif|Particle Accelerator]]
|OverrideImage = true
}}
Particle Accelerator
Particle Accelerator