Template:Merchandise Item: Difference between revisions

Template page
m (add "wide" option)
(simplified wikitext for "avail" and "images", added "image_display" (set to carousel to simplify adding carousels to merch listings))
Line 2: Line 2:
<table class="wikitable infobox" style="float:none; width:{{#if:{{{wide|}}}|700px|350px}}; margin:0;">
<table class="wikitable infobox" style="float:none; width:{{#if:{{{wide|}}}|700px|350px}}; margin:0;">
<tr><td>
<tr><td>
<div style="text-align:center; padding-top:7px;">{{{images|}}}</div>
<div style="text-align:center; padding-top:7px;">{{#switch:{{{image_display|}}}
|carousel={{Carousel|width={{#if:{{{wide|}}}|700|300}}|images={{{images|}}}}}
|#default={{{images|}}}
}}</div>
<div style="display:inline;">[[#{{#if:{{{link|}}}|{{{link}}}|{{{title}}}}}|🔗]]</div>
<div style="display:inline;">[[#{{#if:{{{link|}}}|{{{link}}}|{{{title}}}}}|🔗]]</div>
{{#switch:{{{header}}}<!--
{{#switch:{{{header}}}<!--
Line 23: Line 26:
-->{{#if:{{{release-date|}}}|<tr><th>Released</th><td>{{{release-date|}}}</td></tr>|}}<!--
-->{{#if:{{{release-date|}}}|<tr><th>Released</th><td>{{{release-date|}}}</td></tr>|}}<!--
-->{{#if:{{{price|}}}|<tr><th>MSRP</th><td>{{{price|}}}</td></tr>|}}<!--
-->{{#if:{{{price|}}}|<tr><th>MSRP</th><td>{{{price|}}}</td></tr>|}}<!--
-->{{#if:{{{avail|}}}|<tr><th>Available at</th><td>{{{avail|}}}</td></tr>|}}<!--
-->{{#if:{{{avail|}}}|<tr><th>Available at</th><td><ul>{{#arraymap:{{{avail|}}}|\n|x|<li>x</li>|}}</ul></td></tr>|}}<!--
-->{{#if:{{{product-code|}}}|<tr><th>Product Codes</th><td>{{{product-code|}}}</td></tr>|}}<!--
-->{{#if:{{{product-code|}}}|<tr><th>Product Codes</th><td>{{{product-code|}}}</td></tr>|}}<!--
-->{{#if:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>|}}<!--
-->{{#if:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>|}}<!--
Line 44: Line 47:
| JPname = Japanese name of the item
| JPname = Japanese name of the item
| JPromaji = Japanese name of the item in romaji
| JPromaji = Japanese name of the item in romaji
| avail = Locations available at, with references as needed.
| avail = Locations available at, with references as needed. List each location on its own line.
Location 1
Location 2
| price = product's list price (MSRP)
| price = product's list price (MSRP)
| details = Any extra details here (e.g. details of sale or official item description)
| details = Any extra details here (e.g. details of sale or official item description)
Line 58: Line 63:
| images =
| images =
   [[File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg]]
   [[File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg]]
If image_display is "carousel" then list like the following instead (List each image on its own line):
  File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg;300px;caption
  File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg;caption
  File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg
| image_display = carousel (to display as a carousel)
| wide = true (to make it double-width, i.e. 700px wide instead of 350px)
| wide = true (to make it double-width, i.e. 700px wide instead of 350px)
}}
}}
Line 67: Line 77:
| JPname = 『BLAZBLUE』オリジナル設定資料集
| JPname = 『BLAZBLUE』オリジナル設定資料集
| JPromaji = "BlazBlue" Orijinaru Settei Shiryō Shū
| JPromaji = "BlazBlue" Orijinaru Settei Shiryō Shū
| avail =
| avail = Comiket 80 (Aug 2011), Arc System Works booth<ref name="ASW Comiket 80 BBMSC"/></li>
<ul>
<li>Comiket 80 (Aug 2011), Arc System Works booth<ref name="ASW Comiket 80 BBMSC"/></li>
</ul>
| details =The product description goes here.
| details =The product description goes here.
| pgs = 44
| pgs = 44
Line 92: Line 99:
|JPname=オリジナルサウンドトラック
|JPname=オリジナルサウンドトラック
|JPromaji=Orijinaru Saundotorakku
|JPromaji=Orijinaru Saundotorakku
|avail=
|avail=''BlazBlue: Cross Tag Battle'' (JP, NA, EU, KR) pre-order bonus
<ul>
Second location
<li>''BlazBlue: Cross Tag Battle'' (JP, NA, EU, KR) pre-order bonus</li>
Third location
</ul>
|details=There won't be reprints.
|details=There won't be reprints.
|release-date=May 31, 2018
|release-date=May 31, 2018
|images=
|images=
[[File:BlazBlue Cross Tag Battle Original Soundtrack Cover.png|300x180px|''BlazBlue: Cross Tag Battle Original Soundtrack'']]
File:BlazBlue Cross Tag Battle Original Soundtrack Cover.png;300px;''BlazBlue: Cross Tag Battle Original Soundtrack''
File:BlazBlue Cross Tag Battle Original Soundtrack Cover.png;300px;''BlazBlue: Cross Tag Battle Original Soundtrack''
|image_display=carousel
}}
}}



Revision as of 18:41, 8 October 2021

Usage

{{Merchandise Item
| link = the same as "title" by default, but it's better to define one separately (e.g. an abbreviation). Use this value when linking from other pages.
| title  = title (English name of the item)
| header = h2, h3, or h4 (defaults to h3)
| JPname = Japanese name of the item
| JPromaji = Japanese name of the item in romaji
| avail = Locations available at, with references as needed. List each location on its own line.
Location 1
Location 2
| price = product's list price (MSRP)
| details = Any extra details here (e.g. details of sale or official item description)
| pgs = just the number
| isbn = 
| product-code=
| size = 
| weight =
| specs = 
| sculptor =
| release-date =
| lang =
| images =
  [[File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg]]
If image_display is "carousel" then list like the following instead (List each image on its own line):
  File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg;300px;caption
  File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg;caption
  File:Merchandise Comiket 76 BlazBlue Shinyoko Set 01.jpg
| image_display = carousel (to display as a carousel)
| wide = true (to make it double-width, i.e. 700px wide instead of 350px)
}}
Here's a caption

BlazBlue Original Material Setting Collection

Details
The product description goes here.
Name 『BLAZBLUE』オリジナル設定資料集"BlazBlue" Orijinaru Settei Shiryō Shū
Released2013
MSRP$6
Available at
  • Comiket 80 (Aug 2011), Arc System Works booth[1]
Product Codes123123123
ISBN123123123123
Pages44
LanguagesEnglish
SizeA4 size
Weight6g
SpecificationsPaper
SculptorSculptor

BlazBlue: Cross Tag Battle Original Soundtrack
BlazBlue: Cross Tag Battle Original Soundtrack

Icon banner arrow left.png Icon banner arrow right.png

BlazBlue: Cross Tag Battle Original Soundtrack

Details
There won't be reprints.
Name オリジナルサウンドトラックOrijinaru Saundotorakku
ReleasedMay 31, 2018
Available at
  • BlazBlue: Cross Tag Battle (JP, NA, EU, KR) pre-order bonus
  • Second location
  • Third location

Citations

Notice the <ref name="ASW Comiket 74"/> at the end of the first <li> of the avail parameter in the Usage example.

At the bottom of the page there should be something like:

== References ==
<references>
<ref name="ASW Comiket 80 BBMSC">''Arc System Works (JP), [link-to-page page description]''</ref>
</references>
  1. Arc System Works (JP), [link-to-page page description]