Difference between revisions of "Template:Item checklist/doc"

From Team Fortress Wiki
Jump to: navigation, search
Line 64: Line 64:
  
 
== Halloween masks ==
 
== Halloween masks ==
'''To-do:''' Add an override that can set all the class Halloween Masks to yes. For now, set each one individually with {{code|scout mask}}, {{code|soldier mask}} etc.
+
The priority for Halloween masks are the individual masks ({{code|scout mask}}, {{code|soldier mask}} etc.), {{code|halloween masks}}, then {{code|all}}. <br>
 +
For example, if {{code|halloween masks}} = {{code|had}} and {{code|scout mask}} = {{code|yes}}, the result will be. <br>
 +
{{Halloween mask possession|Scout|yes}}
 +
{{Halloween mask possession|Soldier|had}}
 +
{{Halloween mask possession|Pyro|had}}<br>
 +
{{Halloween mask possession|Demoman|had}}
 +
{{Halloween mask possession|Heavy|had}}
 +
{{Halloween mask possession|Engineer|had}}<br>
 +
{{Halloween mask possession|Medic|had}}
 +
{{Halloween mask possession|Sniper|had}}
 +
{{Halloween mask possession|Spy|had}}<br>
 +
If {{code|halloween masks}} = {{code|yes}}, the result will be. <br>
 +
{{Halloween mask possession|Scout|yes}}
 +
{{Halloween mask possession|Soldier|yes}}
 +
{{Halloween mask possession|Pyro|yes}}<br>
 +
{{Halloween mask possession|Demoman|yes}}
 +
{{Halloween mask possession|Heavy|yes}}
 +
{{Halloween mask possession|Engineer|yes}}<br>
 +
{{Halloween mask possession|Medic|yes}}
 +
{{Halloween mask possession|Sniper|yes}}
 +
{{Halloween mask possession|Spy|yes}}
 
<pre>{{Item checklist
 
<pre>{{Item checklist
 +
| scout mask = yes
 +
| soldier mask = yes
 +
    :
 +
    :
 +
    :
 +
| spy mask = yes
 +
| halloween masks = yes - Will set all masks to yes
 
| saxton hale mask = yes
 
| saxton hale mask = yes
| halloween masks = yes
 
 
}}</pre>
 
}}</pre>
  

Revision as of 00:39, 1 February 2011

Checklist template to indicate which items are owned and which are not. Perfect for completionists.

Usage notes

If an item can be obtained by a random drop with a rate equivalent to any randomly droppable weapon (such as the Gunslinger, Backburner etc.) it is ticked yes by default. In all other cases it is crossed out as no.

Set some

To set a value for some of the items, use their name in lower case followed by the desired value. For efficiency, it is recommended that you do not set a value for items that have the same default value. (Default values outlined in Usage notes above.)

{{Item checklist
| lugermorph = yes
| powerjack = no
| golden wrench = want
| gunslinger = had
| jarate = do not want
}}

A full list of values can be found here.

Count some

If you would like to show you have multiple of an item, set the item to a numerical value.

{{Item checklist
| whiskered gentleman = 3
}}

Set all

To set the same value for all items, use the all parameter:

{{Item checklist
| all = yes
}}
{{Item checklist
| all = no
}}
{{Item checklist
| all = want
}}
{{Item checklist
| all = had
}}
{{Item checklist
| all = do not want
}}

You will still need to define a value for the Halloween Masks and the ID/Dueling badges.

Set Bbadges/Treasure Hunt Hats

Define which ID/Dueling badge you have using the corresponding parameters:

| id badge = bronze
| id badge = silver
| id badge = gold
| id badge = platinum
| id badge = none
| dueling badge = bronze
| dueling badge = silver
| dueling badge = gold
| dueling badge = platinum 
| dueling badge = <level of badge> eg. dueling badge = 34
| dueling badge = none 
| treasure hunt hat = bounty hat
| treasure hunt hat = treasure hat
| treasure hunt hat = hat of undeniable wealth and respect
| treasure hunt hat = none

Halloween masks

The priority for Halloween masks are the individual masks (scout mask, soldier mask etc.), halloween masks, then all.
For example, if halloween masks = had and scout mask = yes, the result will be.
Item icon Scout Mask.png P Had.png P Had.png
P Had.png P Had.png P Had.png
P Had.png P Had.png P Had.png
If halloween masks = yes, the result will be.
Item icon Scout Mask.png Item icon Soldier Mask.png Item icon Pyro Mask.png
Item icon Demoman Mask.png Item icon Heavy Mask.png Item icon Engineer Mask.png
Item icon Medic Mask.png Item icon Sniper Mask.png Item icon Spy Mask.png

{{Item checklist
| scout mask = yes
| soldier mask = yes
     :
     :
     :
| spy mask = yes
| halloween masks = yes - Will set all masks to yes
| saxton hale mask = yes
}}


Collapsed on load

To make the table collapsed when first loaded use the parameter:

{{Item checklist
| collapsedonload = yes
}}