Difference between revisions of "Template:Part discount"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
m
m
Line 51: Line 51:
 
|{{{normal_price}}}
 
|{{{normal_price}}}
 
|{{{discount_price}}} {{#ifeq: {{{shipped}}} | 1 | Shipped |}}
 
|{{{discount_price}}} {{#ifeq: {{{shipped}}} | 1 | Shipped |}}
|{{#expr: 1-{{{discount_price}}}/{{{normal_price}}}}}
+
|{{#expr: (1-{{{discount_price}}}/{{{normal_price}}})*10}}%
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Revision as of 09:30, November 23, 2012

Overview[edit]

This template is used to create a new part discount line, generally used in Black Friday/Cyber Monday articles

Vender Options: 3sx, ips, pampena, maximal, ninja, gzp

Display[edit]

Part Name Normal Price Discounted Price % Saved
Fidanza Aluminum Flywheel 459.95 309.95 Shipped 3.261224046092%


Usage[edit]

To add a new discount row, simple add the following to your article:

{{Part discount
| part_name=
| normal_price=
| discount_price=
| url_path=
| vender=
| shipped=
}}