Difference between revisions of "User:M-NINJA/Projects/Template:Random Item"
(messing around) |
(added more weapons. I got a plan for this.) |
||
Line 1: | Line 1: | ||
− | {{#if:{{{font|}}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod | + | {{#if:{{{font|}}}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 30) + {{{offset|0}}}) + 1}} |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 13 | 11 | 15 | 16 | 18 | 19 | 20 | 21 | 22 = 000000 | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 13 | 11 | 15 | 16 | 18 | 19 | 20 | 21 | 22 = 000000 | ||
| 8 | 12 | 10 | 14 | 17 = FFFFFF | | 8 | 12 | 10 | 14 | 17 = FFFFFF | ||
− | }}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod | + | }}|{{#switch:{{#expr:(({{NUMBEROFEDITS:R}} mod 30) + {{{offset|0}}}) + 1}} |
| 1 = Scattergun | | 1 = Scattergun | ||
| 2 = Pistol | | 2 = Pistol | ||
Line 17: | Line 17: | ||
| 13 = Fists | | 13 = Fists | ||
| 14 = Wrench | | 14 = Wrench | ||
− | | 15 | + | | 15 = Syringe Gun |
− | + | | 16 = Medi Gun | |
− | + | | 17 = Bonesaw | |
− | | | + | | 18 = Sniper Rifle |
− | | | + | | 19 = Submachine Gun |
− | | | + | | 20 = Kukri |
− | | | + | | 21 = Revolver |
− | | | + | | 22 = Electro Sapper |
− | | | + | | 23 = Knife |
− | | | + | | 24 = Disguise Kit |
− | | | + | | 25 = Invisibility Watch |
− | | | + | | 26 = Blutsauger |
− | | | + | | 27 = Kritzkrieg |
− | | | + | | 28 = Übersaw |
− | | | + | | 29 = Backburner |
− | | | + | | 30 = Flare Gun |
− | | | + | | 31 = Axtinguisher |
− | | | + | | 32 = Natascha |
− | | 33 = | + | | 33 = Sandvich |
− | | 34 = | + | | 34 = Killing Gloves of Boxing |
+ | | 35 = Force-A-Nature | ||
+ | | 36 = Bonk! Atomic Punch | ||
+ | | 37 = Sandman | ||
+ | | 38 = Huntsman | ||
+ | | 39 = Razorback | ||
+ | | 40 = Jarate | ||
+ | | 41 = Ambassador | ||
+ | | 42 = Dead Ringer | ||
+ | | 43 = Cloak and Dagger | ||
+ | | 44 = Scottish Resistance | ||
+ | | 45 = Chargin' Targe | ||
+ | | 46 = Eyelander | ||
+ | | 47 = Direct Hit | ||
+ | | 48 = Buff Banner | ||
+ | | 49 = Gunboats | ||
+ | | 50 = Equalizer | ||
}}}}<noinclude> | }}}}<noinclude> | ||
Returns a pseudo-random [[item]] name value. Altered version of [[Template:Random_skin_colour]]. Will be used for other templates. | Returns a pseudo-random [[item]] name value. Altered version of [[Template:Random_skin_colour]]. Will be used for other templates. | ||
− | + | ||
+ | Probably not going to add hats. | ||
</noinclude> | </noinclude> |
Revision as of 00:25, 17 July 2011
Pistol
Returns a pseudo-random item name value. Altered version of Template:Random_skin_colour. Will be used for other templates.
Probably not going to add hats.