Difference between revisions of "Template:Bundle savings"
KillerKooK (talk | contribs) |
m (That pack is no longer for sale.) |
||
(10 intermediate revisions by one other user not shown) | |||
Line 153: | Line 153: | ||
+ {{Item price/core|currency={{{currency|}}}| item=Claidheamh Mòr}} | + {{Item price/core|currency={{{currency|}}}| item=Claidheamh Mòr}} | ||
+ {{Item price/core|currency={{{currency|}}}| item=Fists of Steel}}))) * 100)round0}} | + {{Item price/core|currency={{{currency|}}}| item=Fists of Steel}}))) * 100)round0}} | ||
− | + | |emperor's assortment | |
+ | |the emperor's assortment = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=The Emperor's Assortment}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Fan O'War}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Concheror}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Half-Zatoichi}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Samur-Eye}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Dread Knot}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Geisha Boy}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Conniver's Kunai}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Noh Mercy}}))) * 100)round0}} | ||
+ | |japan charity bundle = {{#expr: abs((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Japan Charity Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Humanitarian's Hachimaki}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Benefactor's Kanmuri}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Noise Maker - Bell}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Noise Maker - Gong}}))) * 100)round0}} | ||
+ | |the uber update bundle = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=The Uber Update Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Detonator}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Tomislav}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Family Business}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Eviction Notice}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Capo's Capper}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Enforcer}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Big Earner}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Made Man}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Cosa Nostra Cap}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Soda Popper}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Winger}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Atomizer}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Bonk Boy}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Splendid Screen}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Ali Baba's Wee Booties}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Persian Persuader}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Sultan's Ceremonial}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Bazaar Bargain}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Shahanshah}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Desert Marauder}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Liberty Launcher}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Reserve Shooter}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Market Gardener}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Jumper's Jeepcap}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Mantreads}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Disciplinary Action}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Armored Authority}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Fancy Dress Uniform}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Overdose}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Quick-Fix}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Solemn Vow}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Pocket Medic}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Schadenfreude}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Meet The Medic (taunt)}}))) * 100)round0}} | ||
+ | |mobster monday bundle = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Mobster Monday Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Tomislav}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Family Business}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Eviction Notice}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Capo's Capper}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Enforcer}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Big Earner}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Made Man}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Cosa Nostra Cap}}))) * 100)round0}} | ||
+ | |timbuk-tuesday bundle = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Timbuk-Tuesday Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Soda Popper}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Winger}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Atomizer}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Bonk Boy}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Splendid Screen}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Ali Baba's Wee Booties}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Persian Persuader}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Sultan's Ceremonial}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Bazaar Bargain}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Shahanshah}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Desert Marauder}}))) * 100)round0}} | ||
+ | |world war wednesday bundle = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=World War Wednesday Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Liberty Launcher}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Reserve Shooter}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Market Gardener}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Jumper's Jeepcap}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Mantreads}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Disciplinary Action}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Armored Authority}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Fancy Dress Uniform}}))) * 100)round0}} | ||
+ | |meet the medic! bundle = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Meet The Medic! Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Overdose}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Quick-Fix}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Solemn Vow}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Pocket Medic}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Meet The Medic (taunt)}}))) * 100)round0}} | ||
+ | |scout starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Scout Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Force-A-Nature}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Crit-a-Cola}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Sandman}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Batter's Helmet}}))) * 100)round0}} | ||
+ | |soldier starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Soldier Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Buff Banner}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Equalizer}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Tyrant's Helm}}))) * 100)round0}} | ||
+ | |pyro starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Pyro Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Flare Gun}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Axtinguisher}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Respectless Rubber Glove}}))) * 100)round0}} | ||
+ | |demoman starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Demoman Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Chargin' Targe}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Eyelander}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Glengarry Bonnet}}))) * 100)round0}} | ||
+ | |heavy starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Heavy Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Natascha}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Sandvich}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Football Helmet}}))) * 100)round0}} | ||
+ | |engineer starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Engineer Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Frontier Justice}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Gunslinger}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Texas Ten Gallon}}))) * 100)round0}} | ||
+ | |medic starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Medic Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Kritzkrieg}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Übersaw}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Prussian Pickelhaube}}))) * 100)round0}} | ||
+ | |sniper starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Sniper Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Huntsman}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Jarate}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Professional's Panama}}))) * 100)round0}} | ||
+ | |spy starter pack = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Spy Starter Pack}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Ambassador}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Dead Ringer}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Fancy Fedora}}))) * 100)round0}} | ||
+ | |summer sun bundle = {{#expr: ((1 | ||
+ | - ({{Item price/core|currency={{{currency|}}}| item=Summer Sun Bundle}} | ||
+ | /({{Item price/core|currency={{{currency|}}}| item=Lucky No. 42}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Flip-Flops}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Summer Hat}} | ||
+ | + {{Item price/core|currency={{{currency|}}}| item=Noise Maker - Fireworks}}))) * 100)round0}} | ||
|#default = | |#default = | ||
}}<noinclude>{{doc begin}} | }}<noinclude>{{doc begin}} | ||
Line 163: | Line 307: | ||
** bundle name = polycount pack, the special delivery, the tank buster, the gas jockey's gear, the croc-o-style kit, the saharan spy, noise maker bundle, a bargaining manne's bundle of bargains, winter update pack, the expert's ordnance, the hibernating bear, the medieval medic, map stamps collection, box of fancy hats, pile of nasty weapons | ** bundle name = polycount pack, the special delivery, the tank buster, the gas jockey's gear, the croc-o-style kit, the saharan spy, noise maker bundle, a bargaining manne's bundle of bargains, winter update pack, the expert's ordnance, the hibernating bear, the medieval medic, map stamps collection, box of fancy hats, pile of nasty weapons | ||
** currency type = EUR, €, USD, $, GBP, £ | ** currency type = EUR, €, USD, $, GBP, £ | ||
− | *<code><nowiki>{{Bundle savings|bundle = | + | *<code><nowiki>{{Bundle savings|bundle = world war wednesday bundle|currency = USD}}</nowiki></code> returns {{Bundle savings|bundle = world war wednesday bundle|currency = EUR}} |
[[Category:Templates|Bundle Savings]] | [[Category:Templates|Bundle Savings]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:08, 24 February 2014
Documentation for Bundle savings
This is a template to display the savings of a bundle as a percent number. The prices themselves are defined in the template {{Item price/core}}
. This template adds the total sum of individual price of the items then subtracted by the price of the bundle then divided by total sum of individual price.
((sum of item prices - bundle price) / sum of item prices) * 100 = percent of bundle savings
Usage
{{bundle savings|bundle|currency}}
- bundle name = polycount pack, the special delivery, the tank buster, the gas jockey's gear, the croc-o-style kit, the saharan spy, noise maker bundle, a bargaining manne's bundle of bargains, winter update pack, the expert's ordnance, the hibernating bear, the medieval medic, map stamps collection, box of fancy hats, pile of nasty weapons
- currency type = EUR, €, USD, $, GBP, £
{{Bundle savings|bundle = world war wednesday bundle|currency = USD}}
returns -39