Template:Purchase/doc: Difference between revisions

From Wiki³
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{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 10: 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. -->>
[[Category:Template documentation pages]]
</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