Difference between revisions of "Template:Part archived"

From 3000GT/Stealth Wiki
Jump to navigation Jump to search
(Created template)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
|-
 
|-
 
{{Part archived
 
{{Part archived
| part_name=Fidanza Aluminum Flywheel
+
| part_name=Gates Racing Timing Belt
| normal_price=459.95
+
| normal_price=296.45
| discount_price=309.95
+
| discount_price=135.00
| url_path=/comersus_viewItemBundle.asp?idProduct=24143
+
| url_path=/store/engine/gates-racing-timing-belt-dohc-6g72.html
| vender=gzp
+
| vender=maximal
| shipped=1
+
| shipped=0
 
}}
 
}}
 
|}
 
|}
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}}}
+
| class="right gray" | ${{{normal_price}}}
|style="text-align:right;font-weight:bold;color:silver;"|${{{discount_price}}}
+
| class="right discountLabel" | ${{{discount_price}}}
|style="text-align:right;"|{{#expr: (1-{{{discount_price}}}/{{{normal_price}}})*100 round0}}%
+
| class="right" | {{#expr: (1-{{{discount_price}}}/{{{normal_price}}})*100 round0}}%
 
</includeonly>
 
</includeonly>

Latest revision as of 03:19, 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
Gates Racing Timing Belt via Maximal Performance $296.45 $135.00 54%

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=
}}