Difference between revisions of "Template:Part discount"
Jump to navigation
Jump to search
Stealthify (talk | contribs) m |
Stealthify (talk | contribs) m |
||
Line 49: | Line 49: | ||
| gzp | | gzp | ||
| GZP = [http://www.groundzeroperformance.com/product{{{url_path}}} {{{part_name}}}] | | GZP = [http://www.groundzeroperformance.com/product{{{url_path}}} {{{part_name}}}] | ||
− | | #default = [{{{url_path}}} {{{part_name}}}]}} | + | | #default = [{{{url_path}}} {{{part_name}}}]}} {{#ifeq: {{{shipped}}} | 1 | (Price Shipped) |}} |
|style="text-align:right;"|${{{normal_price}}} | |style="text-align:right;"|${{{normal_price}}} | ||
− | |style="text-align:right;"|${{{discount_price}}} | + | |style="text-align:right;"|${{{discount_price}}} |
− | |{{#expr: (1-{{{discount_price}}}/{{{normal_price}}})*100 round0}}% | + | |style="text-align:right;"|{{#expr: (1-{{{discount_price}}}/{{{normal_price}}})*100 round0}}% |
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 09:34, 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
- Shipped Options: 0, 1
Display[edit]
Part Name | Normal Price | Discounted Price | % Saved |
---|---|---|---|
Fidanza Aluminum Flywheel (Price Shipped) | $459.95 | $309.95 | 33% |
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= }}