Template:Tinker check: Difference between revisions
Jump to navigation
Jump to search
m (better validation) |
(remove auto linking, move to item template) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
| A | |||
| B | |||
| C | |||
| D | |||
| 0 | | 0 | ||
| 1 | | 1 | ||
| 2 | | 2 | ||
| 3 = | | 3 = Tinker I | ||
| 4 | | 4 | ||
| 5 | | 5 | ||
| 6 = | | 6 = Tinker II | ||
| 7 | | 7 | ||
| 8 | | 8 | ||
| 9 = | | 9 = Tinker III | ||
| #default = | | #default = ?[[Category:Pages with Tinker check Template errors]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 22:59, 22 January 2020
You probably shouldn't be calling this unless you're writing a template.
Usage: {{Tinker check| 4 }}
Output: Tinker II
If an invalid value (not 0-9) is sent to this template, it returns a Tinker ? link and applies the Category:Pages with Tinker check Template errors category.