Difference between revisions of "Template:Part expired"
Jump to navigation
Jump to search
Stealthify (talk | contribs) m |
Stealthify (talk | contribs) m (Modified display) |
||
Line 36: | Line 36: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | | {{#switch: {{{vender|}}} | + | | class="expiredRow" | {{{part_name}}} <span class="venderLabel">via {{#switch: {{{vender|}}} |
| 3sx | | 3sx | ||
− | | 3SX = | + | | 3SX = 3SX Performance |
| ips | | ips | ||
− | | IPS = | + | | IPS = IPS Motorsports |
| pampena | | pampena | ||
− | | Pampena = | + | | Pampena = Pampena Motorsports |
| maximal | | maximal | ||
− | | Maximal = | + | | Maximal = Maximal Performance |
| ninja | | ninja | ||
− | | Ninja = | + | | Ninja = Ninja Performance |
| gzp | | gzp | ||
− | | GZP = | + | | GZP = Ground Zero Performance |
− | | #default = | + | | #default = {{{vender}}}}}</span> <span class="shippedLabel>{{#ifeq: {{{shipped}}} | 1 | '''(price shipped)''' |}}</span> |
− | | | + | | class="right gray" | ${{{normal_price}}} |
− | | | + | | class="right gray" | ${{{discount_price}}} |
− | | | + | | class="right gray" | {{#expr: (1-{{{discount_price}}}/{{{normal_price}}})*100 round0}}% |
</includeonly> | </includeonly> |
Revision as of 03:55, November 28, 2012
Overview[edit]
This template is used to create a new part discount line (in the expired format), generally used in Black Friday/Cyber Monday articles
- 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 expired discount row, simple add the following to your article:
{{Part expired | part_name= | normal_price= | discount_price= | url_path= | vender= | shipped= }}