Template:Merch Box/doc

From Hololive Fan Wiki
Revision as of 03:18, 18 October 2021 by Otomeru (talk | contribs) (Created page with "== Usage == <pre> {{Merch box | Name = | Merch Art = | Merch Art 2 = (optional) | Merch Art 3 = (optional) | Merch Art Size = (optional) | Order Period...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Merch box
| Name           =
| Merch Art      =
| Merch Art 2    = (optional)
| Merch Art 3    = (optional)
| Merch Art Size = (optional)
| Order Period   = 
| Scheduled Date =
| Availability   =
| Content        =
| Link Tweet     = 
| Link Article   = (optional) 
| Link Store     = (optional)
| Link Booth     = (optional)
| Link Geekjack  = (optional)
| Headerstyle    = (optional)
}}

Required parameters

  • Name = the name used for the merch
  • Merch Art = the filename of the image to display. Just the filename only. Do not surround the filename with [[File:...]].
  • Order Period = the period when the merch is/was available
  • Scheduled Date = the scheduled delivery start period
  • Availability = the availability of the merch, online / in store only. Mention the store name if in store only.
  • Content = the list of items in the merch, including prices, set prices and set bonus. Limited mention goes here.
  • Link Tweet = the link to the official tweet for the merch

Optional parameters

  • Merch Art 2 = any additional image to display in tabber
  • Merch Art 3 = any additional image to display in tabber
  • Merch Art Size = the size of the images to display, defaults to 500px if not specified
  • Link Article = a link to a press release or shop article for the merch
  • Link Article = a link to a store merch, official hololive shop or collab store
  • Link Booth = a link to the Booth merch page
  • Link Geekjack = a link to the Geekjack merch page
  • Headerstyle = see #Headerstyle below

Headerstyle

Which headerstyle is displayed is determined in this order:

  • whatever is specified in the |Headerstyle= parameter (if defined)
  • background-color:{{Template:{{PAGENAME}}/background-color2}};color:{{Template:{{PAGENAME}}/color2}}
    • In other words, the template reads the values in Template:{{PAGENAME}}/background-color2 and Template:{{PAGENAME}}/color2 via transclusion
    • If either page does not exist, the colors #27c7fe and #ffffff will be used respectively.