Difference between revisions of "Template:Music Infobox/Docs"

From A3! Wiki
(Created page with "==How to Use== Add the template to lyric pages by using this template: <pre> {{Music Infobox |troupe= |albumcover= |character= |cv= |lyricist= |composition= |arrangement= |al...")
 
Line 17: Line 17:
 
<b>troupe</b> should be in lowercase. This defines the colour scheme of the infobox.
 
<b>troupe</b> should be in lowercase. This defines the colour scheme of the infobox.
  
<b>albumcover</b> should be the file name of the image, without the preceding "File:" but including the extension (eg. .png)
+
<b>albumcover</b> should be the file name of the image, without the preceding "File:" but including the extension, eg. .png
  
<b>character</b> should be the CHARACTER's name in Western order (Name Surname) as a link, eg. <nowiki>[[Sakuya Sakuma]]</nowiki>. If there are multiple characters, separate with commas.
+
<b>character</b> should be the CHARACTER's name in Western order (Name Surname) as a link, eg. <nowiki>[[Sakuya Sakuma]]</nowiki>.
  
 
For <b>cv</b>, <b>lyricist</b>, <b>composition</b> and <b>arrangement</b>, it should be self-explanatory. If the name is Japanese, it should be the person's name in Japanese order (Surname Name) as plaintext, eg. Takeuchi Shunsuke
 
For <b>cv</b>, <b>lyricist</b>, <b>composition</b> and <b>arrangement</b>, it should be self-explanatory. If the name is Japanese, it should be the person's name in Japanese order (Surname Name) as plaintext, eg. Takeuchi Shunsuke
 +
 +
If there are multiple characters, voice actors, composers, etc. separate each name with a comma.
  
 
==Code==
 
==Code==

Revision as of 21:30, 26 October 2017

How to Use

Add the template to lyric pages by using this template:

{{Music Infobox
|troupe=
|albumcover=
|character=
|cv=
|lyricist=
|composition=
|arrangement=
|album=
}}

troupe should be in lowercase. This defines the colour scheme of the infobox.

albumcover should be the file name of the image, without the preceding "File:" but including the extension, eg. .png

character should be the CHARACTER's name in Western order (Name Surname) as a link, eg. [[Sakuya Sakuma]].

For cv, lyricist, composition and arrangement, it should be self-explanatory. If the name is Japanese, it should be the person's name in Japanese order (Surname Name) as plaintext, eg. Takeuchi Shunsuke

If there are multiple characters, voice actors, composers, etc. separate each name with a comma.

Code

{| class="infobox {{{troupe|}}}music musicinfo" style="padding: 1em; margin-left: 1em;" cellpadding=3
|-
| colspan="2" | [[File:{{{albumcover|}}}|260px|center]]
|-
! colspan="2" class="{{{troupe|}}}music musicinfo-title" | {{SUBPAGENAME}}
|-
! Vocals
| {{{character|}}}
|-
! CV
| {{{cv|}}}
|-
! Lyrics
| {{{lyricist|}}}
|-
! Composition
| {{{composition|}}}
|-
! Arrangement
| {{{arrangement|}}}
|-
! Album
| [[Music#{{{album}}}|{{{album}}}]]
|-
! colspan="2" class="{{{troupe|}}}music musicinfo-title" | Lyrics Toggles
|-
|colspan="2" align="center"|<span class="mw-customtoggle-Kanji">Show/Hide Kanji</span>
|-
|colspan="2" align="center"|<span class="mw-customtoggle-Romaji">Show/Hide Romaji</span>
|-
|colspan="2" align="center"|<span class="mw-customtoggle-English">Show/Hide English</span>
|}