Difference between revisions of "Template:Part discount"
Jump to navigation
Jump to search
Stealthify (talk | contribs) m |
Stealthify (talk | contribs) m |
||
| Line 13: | Line 13: | ||
| url_path=/store/comersus_viewItemBundle.asp?idProduct=24143 | | url_path=/store/comersus_viewItemBundle.asp?idProduct=24143 | ||
| vender=3sx | | vender=3sx | ||
| + | | shipped=1 | ||
}} | }} | ||
| Line 24: | Line 25: | ||
| url_path= | | url_path= | ||
| vender= | | vender= | ||
| + | | shipped= | ||
}}</nowiki>''' | }}</nowiki>''' | ||
</noinclude> | </noinclude> | ||
| Line 48: | Line 50: | ||
| #default = [{{{url_path}}} {{{part_name}}}]}} | | #default = [{{{url_path}}} {{{part_name}}}]}} | ||
|{{{normal_price}}} | |{{{normal_price}}} | ||
| − | |{{{discount_price}}} | + | |{{{discount_price}}} {{#ifeq: {{{shipped}}} | 1 | Shipped |}} |
| − | | | + | |{{#expr: 1-{{{discount_price}}}/{{{normal_price}}}}} |
|} | |} | ||
</includeonly> | </includeonly> | ||
Revision as of 10:28, 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 | 0.3261224046092 |
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=
}}