Template:Purchase/doc: Difference between revisions

From Wiki³
(Created page with "{{Documentation subpage}} == Usage == {{BBS|1=<nowiki>{{purchase| name=Item name| shop=Shop Name| url=http://shop.com/itemname| price=9.99| date=2014/01/01|</nowiki><span styl...")
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
== Usage ==
== Usage ==
{{BBS|1=<nowiki>{{purchase|
{{BBS|1=<nowiki>{{purchase|
name=Item name|
name=Item name|
quantity=2|</nowiki><span style="float:right">{{redBold|*}}</span><nowiki>
model=ABC123|</nowiki><span style="float:right">{{redBold|*}}</span><nowiki>
shop=Shop Name|
shop=Shop Name|
url=http://shop.com/itemname|
url=http://company.com/itemname|
purl=http://store.com/itemsku|</nowiki><span style="float:right">{{redBold|*}}</span><nowiki>
price=9.99|
price=9.99|
date=2014/01/01|</nowiki><span style="float:right">{{redBold|*}}</span><nowiki>
date=2014/01/01|</nowiki><span style="float:right">{{redBold|*}}</span><nowiki>
Line 11: Line 13:
&nbsp; {{redBold|&#42;}} Optional field
&nbsp; {{redBold|&#42;}} Optional field


 
== Preview ==
{{purchase|
{{purchase|
name=Item name|
name=Item name|
shop=Shop Name|
shop=Shop Name|
url=http://shop.com/itemname|
url=http://company.com/itemname|
price=9.99|
price=9.99|
}}
}}
{{purchase|
{{purchase|
name=Item name|
name=Item name|
quantity=2|
model=ZXY321|
shop=Shop Name|
shop=Shop Name|
url=http://shop.com/itemname|
url=http://company.com/itemname|
purl=http://store.com/itemsku|
price=9.99|
price=9.99|
date=2014/01/01|
date=2014/01/01|
}}
}}<noinclude>
 
[[Category:Templates]]
 
</noinclude>
<includeonly>
<!-- Categories go here. -->>
</includeonly>

Latest revision as of 00:14, 21 November 2020

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 ZXY321
    Icon 9.99  —  Shop Name (Purchased: 2014/01/01)   |   Icon 2