Template:Cover box/doc: Difference between revisions

(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 =
| TitleMain Link ENR = (optional)
| Main Link =
| Original by =
| Sung by = (optional)
| Credits =
| Image = (optional)
| Size = (optional)
| Headerstyle = (optional)
}}
</pre>
 
=== Required parameters ===
* <code>Title</code> = the title of the cover song being covered. Alternate names or romanizations may be put in parentheses.
* <code>Main Link</code> = the URL that the user will be directed to when the user clicks on the image or the title
* <code>Original by</code> = the creator(s) of the original song that is being covered. Please also provide a URLlink to the original song here as a courtesy.
* <code>Credits</code> = the credits for those who worked on the cover
 
=== Optional parameters ===
* <code>Sung by</code> = the singer(s) featured in the cover. Mainly used for collab covers.
* <code>Title ENR</code>
* <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>Sung by</code>
* <code>Size</code> = the size to display the file. Defaults to 240x140px (or 100x100px if the placeholder is used)
* <code>Image</code>
* <code>SizeHeaderstyle</code> = see [[#Headerstyle]] below
 
==== 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)
If these pages do not exist, then the the template
* <code>background-color:'''<nowiki>{{Template:{{PAGENAME}}/background-color2}}</nowiki>''';'''<nowiki>color:{{Template:{{PAGENAME}}/color2}}</nowiki>'''</code>
By** defaultIn other words, the template's header colors will takereads the colors definedvalues in ''<nowiki>Template:{{PAGENAME}}/background-color2</nowiki>'' and ''<nowiki>Template:{{PAGENAME}}/color2</nowiki>'' via respectively.transclusion
** 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]]
editors
717

edits