Template:Merch Box/doc: Difference between revisions
Content added Content deleted
(Created page with "== Usage == <pre> {{Merch box | Name = | Merch Art = | Merch Art 2 = (optional) | Merch Art 3 = (optional) | Merch Art Size = (optional) | Order Period...") |
mNo edit summary |
||
Line 44: | Line 44: | ||
* <code>background-color:'''<nowiki>{{Template:{{PAGENAME}}/background-color2}}</nowiki>''';'''<nowiki>color:{{Template:{{PAGENAME}}/color2}}</nowiki>'''</code> |
* <code>background-color:'''<nowiki>{{Template:{{PAGENAME}}/background-color2}}</nowiki>''';'''<nowiki>color:{{Template:{{PAGENAME}}/color2}}</nowiki>'''</code> |
||
** In other words, the template reads the values in ''<nowiki>Template:{{PAGENAME}}/background-color2</nowiki>'' and ''<nowiki>Template:{{PAGENAME}}/color2</nowiki>'' via transclusion |
** In other words, the template reads the values in ''<nowiki>Template:{{PAGENAME}}/background-color2</nowiki>'' and ''<nowiki>Template:{{PAGENAME}}/color2</nowiki>'' via transclusion |
||
** If either page does not exist, the colors <code># |
** If either page does not exist, the colors <code>#27C7FE</code> and <code>#FFFFFF</code> will be used respectively. |
Revision as of 03:18, 18 October 2021
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 merchMerch 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 availableScheduled Date
= the scheduled delivery start periodAvailability
= 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 tabberMerch Art 3
= any additional image to display in tabberMerch Art Size
= the size of the images to display, defaults to 500px if not specifiedLink Article
= a link to a press release or shop article for the merchLink Article
= a link to a store merch, official hololive shop or collab storeLink Booth
= a link to the Booth merch pageLink Geekjack
= a link to the Geekjack merch pageHeaderstyle
= 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.