Template:Cover box/doc: Difference between revisions

No edit summary
 
(4 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
* <code>Original by</code> = the creator(s) of the original song that is being covered. Please also provide a link to the original song here as a courtesy.
Line 21 ⟶ 20:
 
=== Optional parameters ===
* <code>Title ENR</code> = title of the song in English or Romaji
* <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.
Line 28 ⟶ 26:
 
==== Headerstyle ====
Which headerstyle is displayed is determined in this order:
* whatwhatever 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>
** In other words, the template reads the values in ''<nowiki>Template:{{PAGENAME}}/background-color2</nowiki>'' and ''<nowiki>Template:{{PAGENAME}}/color2</nowiki>'' via transclusion
** ifIf either page, ''<nowiki>Template:{{PAGENAME}}/background-color2</nowiki>'' or ''<nowiki>Template:{{PAGENAME}}/color2</nowiki>'' dodoes not exist, the colors <nowikicode>#27c7fe</nowikicode> and <nowikicode>#ffffff</nowikicode> 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