Difference between revisions of "Template:Part archived"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
(Created template)
 
m
Line 49: Line 49:
 
| gzp
 
| gzp
 
| GZP = Ground Zero Performance
 
| GZP = Ground Zero Performance
| #default = {{{vender}}}}}</span> <span style="shippedLabel">{{#ifeq: {{{shipped}}} | 1 | '''(price shipped)''' |}}</span>
+
| #default = {{{vender}}}}}</span> <span class="shippedLabel">{{#ifeq: {{{shipped}}} | 1 | '''(price shipped)''' |}}</span>
 
|style="text-align:right;color:gray;"|${{{normal_price}}}
 
|style="text-align:right;color:gray;"|${{{normal_price}}}
 
|style="text-align:right;font-weight:bold;color:silver;"|${{{discount_price}}}
 
|style="text-align:right;font-weight:bold;color:silver;"|${{{discount_price}}}
 
|style="text-align:right;"|{{#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 03:08, November 28, 2012

Overview[edit]

This template is used to create a new part discount line (in the archived format), generally used in Black Friday/Cyber Monday articles after the deal is completed for the weekend.

Vender Options: 3sx, ips, pampena, maximal, ninja, gzp
Shipped Options: 0, 1

Display[edit]

Product Name Normal Price Discounted Price % Saved
Fidanza Aluminum Flywheel via Ground Zero Performance (price shipped) $459.95 $309.95 33%

Usage[edit]

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

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