Difference between revisions of "Template:Crate series table"

From Team Fortress Wiki
Jump to: navigation, search
m (Example: documentation fix)
(Brought changes back from Template:Crate series table huge to here, expanded to 22 item support)
Line 209: Line 209:
 
     </td>
 
     </td>
 
     <td style="text-align:right;">{{#if:{{{rate21|}}}|{{Decimal Align|NUM={{{rate21}}}|P=2|POSTFIX=%}}}}</td>
 
     <td style="text-align:right;">{{#if:{{{rate21|}}}|{{Decimal Align|NUM={{{rate21}}}|P=2|POSTFIX=%}}}}</td>
 +
  </tr>
 +
  }}
 +
  {{#if:{{{item22|}}}
 +
  | <tr>
 +
    <td colspan="2" style="background:#FFDDAD;">{{item icon|{{{item22}}}}}[[{{{item22}}}{{if lang}}|{{item name|{{{item22}}}}}]]
 +
    </td>
 +
    <td style="text-align:right;">{{#if:{{{rate22|}}}|{{Decimal Align|NUM={{{rate22}}}|P=2|POSTFIX=%}}}}</td>
 
   </tr>
 
   </tr>
 
   }}
 
   }}
Line 216: Line 223:
 
     | da = eller en yderst sjælden speciel genstand!
 
     | da = eller en yderst sjælden speciel genstand!
 
     | de = oder ein außerordentlich seltenes Bonus-Item!
 
     | de = oder ein außerordentlich seltenes Bonus-Item!
     | en = or an Exceedingly Rare Special Item!
+
     | en = or an Exceedingly Rare {{#if:{{{halloweenU|}}}|Halloween-Themed|}} Special Item!
 
     | es = ¡o un objeto especial extraordinariamente raro!
 
     | es = ¡o un objeto especial extraordinariamente raro!
 
     | fi = tai erittäin harvinaisen erikoisesineen!
 
     | fi = tai erittäin harvinaisen erikoisesineen!
Line 277: Line 284:
 
   | ru = Оружие, полученное из этого ящика, будет со {{Item link|Strange}}.
 
   | ru = Оружие, полученное из этого ящика, будет со {{Item link|Strange}}.
 
   | zh-hant = 從這箱子拿到的武器,將會是{{Item link|Strange}}屬性的武器。  
 
   | zh-hant = 從這箱子拿到的武器,將會是{{Item link|Strange}}屬性的武器。  
 +
  }}
 +
  </td>
 +
</tr>
 +
}}
 +
{{#if:{{{haunted|}}}
 +
| <tr>
 +
  <td colspan="3" style="background:#dee8ed; text-align:center;">{{lang
 +
  | cs = Zbraně získané z této krabice budou ve {{Item link|Haunted}} verzi.
 +
  | en = Items obtained from this crate will have the {{Item link| Haunted}} quality.
 +
  | de = Alle gefundenen Waffen aus dieser Kiste haben die Qualität {{Item link| Haunted}}.
 +
  | es = Las armas obtenidas de esta caja tendrán calidad {{Item link| Haunted}}.
 +
  | fi = Tästä laatikosta löytyvät aseet ovat {{Item link| Haunted}}.
 +
  | fr = Les armes se trouvant dans cette caisse seront toutes de qualité {{Item link| Haunted}}.
 +
  | ko = 이 상자에서 얻은 무기들은 {{Item link| Haunted}} 등급입니다.
 +
  | it = Le armi ottenute da queste casse avranno la qualità {{Item link| Haunted}}.
 +
  | ja = この物資箱に入っている武器は{{Item link| Haunted}}クオリティの物です。
 +
  | nl = Wapens verkregen uit deze kist zullen in de {{Item link| Haunted}} kwaliteit zijn.
 +
  | pl = Bronie pozyskane z tej skrzynki będą posiadały jakość {{Item link| Haunted}}.
 +
  | pt-br = Armas obtidas desta caixa terão a qualidade {{Item link| Haunted}}.
 +
  | ru = Оружие, полученное из этого ящика, будет со {{Item link| Haunted}}.
 +
  | zh-hant = 從這箱子拿到的武器,將會是{{Item link| Haunted}}屬性的武器。
 
   }}
 
   }}
 
   </td>
 
   </td>

Revision as of 19:16, 31 October 2012

Documentation for Crate series table

Example

{{Crate series table
| collapsed          = no

| series             = 21
| drops              = yes

| item1              = Gloves of Running Urgently
| rate1              = 22.25

| item2              = Shotgun
| rate2              = 22.25

| item3              = Minigun
| rate3              = 22.25

| item4              = Natascha
| rate4              = 22.25

| item5              = Hound Dog
| rate5              = 5

| item6              = Football Helmet
| rate6              = 5

| rateU              = 1
| strange            = yes
}}
Crate Series #21
Drops Yes
Items
Gloves of Running UrgentlyGloves of Running Urgently
22 .25%
ShotgunShotgun
22 .25%
MinigunMinigun
22 .25%
NataschaNatascha
22 .25%
Hound DogHound Dog
5 .00%
Football HelmetFootball Helmet
5 .00%
or an Exceedingly Rare Special Item!
1 .00%
Drop rate is an estimate only.
Weapons obtained from this crate will have the Strange quality.

Parameters

collapsed
Set no if the table should initially be collapsed. Remove this parameter if the table should not be collapsed.
series
Crate series number.
drops
Set yes if it does drop. Set no if it doesn't drop. Default is no.
item# (Numbers 1-21)
The name of the item.
rate# (Numbers 1-21)
The estimated drop rate of the specified item.
rateU
The estimated drop rate of an Exceedingly Rare Special Item!
strange
Set yes if weapons uncrated will have the Strange quality. Remove this parameter if weapons do not have the Strange quality.
strange-some
Set yes if weapons uncrated might have the Strange quality. Remove this parameter if weapons do not have the Strange quality.