Template:Cover box/doc: Difference between revisions
→Credits order
(Created page with "== Usage == <pre> {{Cover box | Title = | Title ENR = (optional) | Main Link = | Original by = | Sung by = (optional) | Credits = | Image = (optional) | Size = (optional)...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 2:
<pre>
{{Cover box
| Title =
|
| Original by =
| Sung by = (optional)
| Credits =
| Image = (optional)
| Size = (optional)
| Headerstyle = (optional)
}}
</pre>
=== Required parameters ===
* <code>Title</code> = the title of the
* <code>Main Link</code> = the URL that the user will be directed to when the user clicks on the image
* <code>Original by</code> = the creator(s) of the original song that is being covered. Please also provide a
* <code>Credits</code> =
=== Optional parameters ===
* <code>Sung by</code> = the singer(s) featured in the cover. Mainly used for collab covers.
* <code>Image</code> = the filename of the image to display, e.g. a thumbnail of the cover. Just the filename only. Do not surround the filename with <code><nowiki>[[File:...]]</nowiki></code>. A placeholder will be shown if no image is specified.
* <code>Size</code> = the size to display the file. Defaults to 240x140px (or 100x100px if the placeholder is used)
* <code>
==== Headerstyle ====
Which headerstyle is displayed is determined in this order:
By default, the template's header colors will take the colors defined in <nowiki>Template:{{PAGENAME}}/background-color2</nowiki> and <nowiki>Template:{{PAGENAME}}/color2</nowiki> respectively.▼
* whatever is specified in the <code>|Headerstyle=</code> parameter (if defined)
* <code>background-color:'''<nowiki>{{Template:{{PAGENAME}}/background-color2}}</nowiki>''';'''<nowiki>color:{{Template:{{PAGENAME}}/color2}}</nowiki>'''</code>
▲
** If either page does not exist, the colors <code>#27c7fe</code> and <code>#ffffff</code> will be used respectively.
=== Credits order ===
See the box project page and discussion page:
* [[Hololive Fan Wiki talk:Projects/Cover Info Format Update#Credits list order]]
* [[Hololive Fan Wiki:Projects/Cover Info Format Update]]
|