Difference between revisions of "Template:Item checklist"

From Team Fortress Wiki
Jump to: navigation, search
(ry -> yr)
(Dueling Badge now can accepts a number to show it's level. Instead of bronze, enter a number from 1 to 239)
Line 603: Line 603:
 
| style="background-color:#FEF5E0;" | [[File:Item icon Earbuds.png|76px|link=Earbuds]]
 
| style="background-color:#FEF5E0;" | [[File:Item icon Earbuds.png|76px|link=Earbuds]]
 
| style="background-color:#FEF5E0;" | [[File:Item icon Polycount Pin.png|76px|link=Polycount Pin]]
 
| style="background-color:#FEF5E0;" | [[File:Item icon Polycount Pin.png|76px|link=Polycount Pin]]
| style="background-color:#FEF5E0;" | {{#switch: {{lc:{{{dueling badge}}}}}
+
| style="background-color:#FEF5E0;" | {{#iferror: {{#expr:{{{dueling badge|}}} * 2}} |
 +
{{#switch: {{lc:{{{dueling badge}}}}}
 
| bronze = [[File:Item icon Bronze Dueling Badge.png|76px|link=Bronze Dueling Badge]]
 
| bronze = [[File:Item icon Bronze Dueling Badge.png|76px|link=Bronze Dueling Badge]]
 
| silver = [[File:Item icon Silver Dueling Badge.png|76px|link=Silver Dueling Badge]]
 
| silver = [[File:Item icon Silver Dueling Badge.png|76px|link=Silver Dueling Badge]]
Line 610: Line 611:
 
| none =  
 
| none =  
 
| #default = [[File:Item icon Unknown Badge.png|76px|Invalid or missing value. {{{dueling badge|}}}]]}}
 
| #default = [[File:Item icon Unknown Badge.png|76px|Invalid or missing value. {{{dueling badge|}}}]]}}
 +
| {{#ifexpr: {{{dueling badge|0}}} >= 740|[[File:Item icon Platinum Dueling Badge.png|76px|link=Platinum Dueling Badge]]
 +
|  {{#ifexpr: {{{dueling badge|0}}} >= 490|[[File:Item icon Gold Dueling Badge.png|76px|link=Gold Dueling Badge]]
 +
|  {{#ifexpr: {{{dueling badge|0}}} >= 240|[[File:Item icon Silver Dueling Badge.png|76px|link=Silver Dueling Badge]]
 +
|    {{#ifexpr: {{{dueling badge|0}}} >= 1|[[File:Item icon Bronze Dueling Badge.png|76px|link=Bronze Dueling Badge]]
 +
|    [[File:Item icon Unknown Badge.png|76px|Invalid or missing value. {{{dueling badge|}}}]]}}}}}}}}}}
 
| style="background-color:#FEF5E0;" | [[File:Item icon License to Maim.png|76px|link=License to Maim]]
 
| style="background-color:#FEF5E0;" | [[File:Item icon License to Maim.png|76px|link=License to Maim]]
 
| style="background-color:#FEF5E0;" | [[File:Item icon Companion Cube Pin.png|76px|link=Companion Cube Pin]]
 
| style="background-color:#FEF5E0;" | [[File:Item icon Companion Cube Pin.png|76px|link=Companion Cube Pin]]
Line 627: Line 633:
 
| valign="top" | {{P|{{{earbuds|{{{all|no}}}}}}}} <br /> [[Earbuds]]
 
| valign="top" | {{P|{{{earbuds|{{{all|no}}}}}}}} <br /> [[Earbuds]]
 
| valign="top" | {{P|{{{polycount pin|{{{all|no}}}}}}}} <br /> [[Polycount Pin]]
 
| valign="top" | {{P|{{{polycount pin|{{{all|no}}}}}}}} <br /> [[Polycount Pin]]
| valign="top" | {{#switch: {{{dueling badge}}}
+
| valign="top" | {{#iferror: {{#expr:{{{dueling badge}}} * 2}} |
 +
{{#switch: {{{dueling badge}}}
 
| bronze = {{P|yes}} <br /> [[Bronze Dueling Badge]]
 
| bronze = {{P|yes}} <br /> [[Bronze Dueling Badge]]
 
| silver = {{P|yes}} <br /> [[Silver Dueling Badge]]
 
| silver = {{P|yes}} <br /> [[Silver Dueling Badge]]
Line 634: Line 641:
 
| none = &nbsp;
 
| none = &nbsp;
 
| #default = {{P|no}} <br /> {{Tooltip|Dueling Badge|Invalid or missing value. {{{dueling badge|}}}}}}}
 
| #default = {{P|no}} <br /> {{Tooltip|Dueling Badge|Invalid or missing value. {{{dueling badge|}}}}}}}
 +
| {{P|yes}} Level: {{{dueling badge|}}} <br />
 +
{{#ifexpr: {{{dueling badge|0}}} >= 740|[[Platinum Dueling Badge]]
 +
| {{#ifexpr: {{{dueling badge|0}}} >= 490|[[Gold Dueling Badge]]
 +
|  {{#ifexpr: {{{dueling badge|0}}} >= 240|[[Silver Dueling Badge]]
 +
|  {{#ifexpr: {{{dueling badge|0}}} >= 1|[[Bronze Dueling Badge]]
 +
|    {{Tooltip|Dueling Badge|Invalid or missing value.}}}}}}}}}}}}
 
| valign="top" | {{P|{{{license to maim|{{{all|no}}}}}}}} <br /> [[License to Maim]]
 
| valign="top" | {{P|{{{license to maim|{{{all|no}}}}}}}} <br /> [[License to Maim]]
 
| valign="top" | {{P|{{{companion cube pin|{{{all|no}}}}}}}} <br /> [[Companion Cube Pin]]
 
| valign="top" | {{P|{{{companion cube pin|{{{all|no}}}}}}}} <br /> [[Companion Cube Pin]]

Revision as of 07:22, 21 December 2010

Template documentation [view] [edit] [history] [purge]

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 Badges/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

Set Tournament Medals

Define which Tournament Medals you have, using the corresponding parameters:

| ugc medal = participant
| ugc medal = div3third
| ugc medal = div3second
| ugc medal = div3first
| ugc medal = div2third
| ugc medal = div2second
| ugc medal = div2first
| ugc medal = div1third
| ugc medal = div1second
| ugc medal = div1first
| gwj medal = participant
| gwj medal = second
| gwj medal = first
| etf2l medal = participant
| etf2l medal = third
| etf2l medal = second
| etf2l medal = first
| ugc medal2 = platinumparticipant
| ugc medal2 = platinumthird
| ugc medal2 = platinumsecond
| ugc medal2 = platinumfirst
| ugc medal2 = platinumeuro
| ugc medal2 = silverparticipant
| ugc medal2 = silverthird
| ugc medal2 = silversecond
| ugc medal2 = silverfirst
| ugc medal2 = silvereuro
| ugc medal2 = ironparticipant
| ugc medal2 = ironthird
| ugc medal2 = ironsecond
| ugc medal2 = ironfirst
| ugc medal2 = ironeuro
| ugc medal2 = tinparticipant
| ugc medal2 = tinthird
| ugc medal2 = tinsecond
| ugc medal2 = tinfirst
| ugc medal2 = tineuro

Collapsed on load

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

{{Item checklist
| collapsedonload = yes
}}

To let it stay expanded, simply don't include the parameter.

Hide weapons

To hide all the weapons, use:

{{Item checklist
| noweapons = yes
}}

To let it show the weapons, simply don't include the parameter.

Hide hats

To hide all the hats, use:

{{Item checklist
| nohats = yes
}}

To let it show the hats, simply don't include the parameter.