Difference between revisions of "User:Kincyr/SandboxTemplate1"
m (oops, needed onlyinclude tags) |
m |
||
Line 1: | Line 1: | ||
− | <onlyinclude>{{#switch:{{{item}}} | + | <onlyinclude><includeonly>{{#switch:{{{item}}} |
| SpiritOfGiving = {{#switch:1 | | SpiritOfGiving = {{#switch:1 | ||
| {{#expr: {{{score}}} >=250}} = {{dictionary/items/saxton's own}} | | {{#expr: {{{score}}} >=250}} = {{dictionary/items/saxton's own}} | ||
Line 162: | Line 162: | ||
| #default = {{dictionary/items/strange}} | | #default = {{dictionary/items/strange}} | ||
}} | }} | ||
− | }}</onlyinclude> | + | }}</includeonly></onlyinclude> |
{{translation switching|all languages}} | {{translation switching|all languages}} | ||
{{Doc begin}} | {{Doc begin}} |
Revision as of 22:43, 22 January 2014
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. User:Kincyr/SandboxTemplate1/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: all languages (add) |
Documentation for Kincyr/SandboxTemplate1
This template can be used to automatically determine a Strange rank based on score and item type.
TODO: test for bugs
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 [
SpiritOfGiving, HolidayPunch, Mantreads, Sapper, InvisWatch, Cosmetic
] - Determines other ranksets, if necessary.
- For legacy purposes, also accepts
Hat
andMisc
as variations forCosmetic
- For legacy purposes, also accepts