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...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<includeonly>Creates a music infobox for use on lyric pages. This template automatically adds the page it's on to [[:Category:Music]].
 +
 
==How to Use==
 
==How to Use==
 
Add the template to lyric pages by using this template:
 
Add the template to lyric pages by using this template:
Line 17: Line 19:
 
<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. This should also follow Western order. Refer to [[Wiki_Guide#Names]].
  
==Code==
+
If there are multiple characters, voice actors, composers, etc. separate each name with a comma.
<pre>{| class="infobox {{{troupe|}}}music musicinfo" style="padding: 1em; margin-left: 1em;" cellpadding=3
+
</includeonly>
|-
+
<noinclude>
| colspan="2" | [[File:{{{albumcover|}}}|260px|center]]
+
[[Category:Template Documentation]]
|-
+
</noinclude>
! 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>
 
|}</pre>
 

Latest revision as of 12:24, 27 December 2017