Template:Purchase: Difference between revisions

From Wiki³
(Created page with "{{#if: {{{name|}}} | * {{{name}}}<br/>{{#if: {{{date|}}} | {{icon|money-bag-dollar}} <del>[{{{url}}} ${{{price}}}]  �  {{{shop}}}</del> <span style="color:#cc00...")
 
No edit summary
Line 1: Line 1:
{{#if: {{{name|}}} | * {{{name}}}<br/>{{#if: {{{date|}}} | {{icon|money-bag-dollar}} <del>[{{{url}}} ${{{price}}}] &nbsp;&#151;&nbsp; {{{shop}}}</del> <span style="color:#cc0000">(Purchased: {{{date}}})</span> | {{icon|money-bag-dollar}} [{{{url}}} ${{{price}}}] &nbsp;&#151;&nbsp; {{{shop}}}}}|}}<noinclude><br />
{{#if: {{{name|}}} | * {{{name}}}<br/>{{#if: {{{date|}}} | {{icon|money-bag-dollar}} <del>[{{{url}}} ${{{price}}}] &nbsp;&#151;&nbsp; {{{shop}}}</del> <span style="color:#cc0000">(Purchased: {{{date}}})</span> | {{icon|money-bag-dollar}} [{{{url}}} ${{{price}}}] &nbsp;&#151;&nbsp; {{{shop}}}}}|}}<noinclude>{{documentation}}
{{documentation}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 10:47, 11 August 2014

Usage

{{purchase| name=Item name| quantity=2|* model=ABC123|* shop=Shop Name| url=http://company.com/itemname| purl=http://store.com/itemsku|* price=9.99| date=2014/01/01|* }}

  * Optional field

Preview

  • Item name
    Icon $9.99  &#151;  Shop Name
  • Item name
    Icon $9.99  &#151;  Shop Name (Purchased: 2014/01/01)