Difference between revisions of "User:Kincyr/SandboxTemplate1"

From Team Fortress Wiki
Jump to: navigation, search
m (updated TODO entry)
m
Line 1: Line 1:
 
<onlyinclude><includeonly>{{#switch:{{{item}}}
 
<onlyinclude><includeonly>{{#switch:{{{item}}}
 +
| Soul Gargoyle = {{#switch:1
 +
| {{#expr: {{{score}}} >=36000}} = {{dictionary/items/merasmus's own}}
 +
| {{#expr: {{{score}}} >=34000}} = {{dictionary/items/australian (gargoyle)}}
 +
| {{#expr: {{{score}}} >=32000}} = {{dictionary/items/legendary (gargoyle)}}
 +
| {{#expr: {{{score}}} >=30000}} = {{dictionary/items/epic (gargoyle)}}
 +
| {{#expr: {{{score}}} >=28000}} = {{dictionary/items/majestic}}
 +
| {{#expr: {{{score}}} >=26000}} = {{dictionary/items/spectacular}}
 +
| {{#expr: {{{score}}} >=24000}} = {{dictionary/items/outrageous}}
 +
| {{#expr: {{{score}}} >=22000}} = {{dictionary/items/breathtaking (gargoyle)}}
 +
| {{#expr: {{{score}}} >=20000}} = {{dictionary/items/exalted}}
 +
| {{#expr: {{{score}}} >=18000}} = {{dictionary/items/honored}}
 +
| {{#expr: {{{score}}} >=16000}} = {{dictionary/items/noble}}
 +
| {{#expr: {{{score}}} >=14000}} = {{dictionary/items/proud}}
 +
| {{#expr: {{{score}}} >=12000}} = {{dictionary/items/dignified}}
 +
| {{#expr: {{{score}}} >=10000}} = {{dictionary/items/joyous}}
 +
| {{#expr: {{{score}}} >=8000}} = {{dictionary/items/cheerful}}
 +
| {{#expr: {{{score}}} >=6000}} = {{dictionary/items/delighted}}
 +
| {{#expr: {{{score}}} >=4000}} = {{dictionary/items/pleased}}
 +
| {{#expr: {{{score}}} >=2000}} = {{dictionary/items/happy (gargoyle)}}
 +
| {{#expr: {{{score}}} >=1337}} = {{dictionary/items/sneering}}
 +
| {{#expr: {{{score}}} >=666}} = {{dictionary/items/silly}}
 +
| #default = {{dictionary/items/sad}}
 +
}}
 +
| Duck Journal = {{#switch:1
 +
| {{#expr: {{{score}}} >=20}} = {{dictionary/items/quackston's own}}
 +
| {{#expr: {{{score}}} >=19}} = {{dictionary/items/specquackular}}
 +
| {{#expr: {{{score}}} >=18}} = {{dictionary/items/legenducky}}
 +
| {{#expr: {{{score}}} >=17}} = {{dictionary/items/positively duckulent}}
 +
| {{#expr: {{{score}}} >=16}} = {{dictionary/items/quackphoric}}
 +
| {{#expr: {{{score}}} >=15}} = {{dictionary/items/reduckulous}}
 +
| {{#expr: {{{score}}} >=14}} = {{dictionary/items/plumage-clearing}}
 +
| {{#expr: {{{score}}} >=13}} = {{dictionary/items/down-melting}}
 +
| {{#expr: {{{score}}} >=12}} = {{dictionary/items/feather-ruffling}}
 +
| {{#expr: {{{score}}} >=11}} = {{dictionary/items/duckrageous}}
 +
| {{#expr: {{{score}}} >=10}} = {{dictionary/items/quacktastic}}
 +
| {{#expr: {{{score}}} >=9}} = {{dictionary/items/duckalicious}}
 +
| {{#expr: {{{score}}} >=8}} = {{dictionary/items/perfectly preened}}
 +
| {{#expr: {{{score}}} >=7}} = {{dictionary/items/pleasantly paddling}}
 +
| {{#expr: {{{score}}} >=6}} = {{dictionary/items/duckstinguished}}
 +
| {{#expr: {{{score}}} >=5}} = {{dictionary/items/quacknowledged}}
 +
| {{#expr: {{{score}}} >=4}} = {{dictionary/items/somewhat quackworthy}}
 +
| {{#expr: {{{score}}} >=3}} = {{dictionary/items/fairly fowl}}
 +
| {{#expr: {{{score}}} >=2}} = {{dictionary/items/kinda ducky}}
 +
| {{#expr: {{{score}}} >=1}} = {{dictionary/items/crumb chasing}}
 +
| #default =
 +
}}
 
| SpiritOfGiving = {{#switch:1
 
| SpiritOfGiving = {{#switch:1
 
| {{#expr: {{{score}}} >=250}} = {{dictionary/items/saxton's own}}
 
| {{#expr: {{{score}}} >=250}} = {{dictionary/items/saxton's own}}
Line 183: Line 229:
 
;score
 
;score
 
: The score of the primary counter for the Strange item. Determines rank.
 
: The score of the primary counter for the Strange item. Determines rank.
;item &#91;{{code|SpiritOfGiving, HolidayPunch, Mantreads, Sapper, InvisWatch, Cosmetic}}&#93;
+
;item &#91;{{code|Soul Gargoyle, Duck Journal, SpiritOfGiving, HolidayPunch, Mantreads, Sapper, InvisWatch, Cosmetic}}&#93;
 
: Determines other ranksets, if necessary.
 
: Determines other ranksets, if necessary.
 
:* For legacy purposes, also accepts {{code|Hat}} and {{code|Misc}} as variations for {{code|Cosmetic}}
 
:* For legacy purposes, also accepts {{code|Hat}} and {{code|Misc}} as variations for {{code|Cosmetic}}
  
 
</div>
 
</div>

Revision as of 19:39, 25 June 2017

Documentation for Kincyr/SandboxTemplate1

This template can be used to automatically determine a Strange rank based on score and item type.

TODO: test all possible dictionary entries to make sure I got them correct

Usage

Please remove the parameters that are left blank. See Parameters section below for documentation of all parameters.

{{
| score = 
| item = 
}}

TODO: add pagename to usage example

Parameters

All parameters are completely optional. As such, unused parameters should be cleared from the template.

score
The score of the primary counter for the Strange item. Determines rank.
item [Soul Gargoyle, Duck Journal, SpiritOfGiving, HolidayPunch, Mantreads, Sapper, InvisWatch, Cosmetic]
Determines other ranksets, if necessary.
  • For legacy purposes, also accepts Hat and Misc as variations for Cosmetic