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

From A3! Wiki
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>==How to Use==
+
<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==
 
Add the template to lyric pages by using this template:
 
Add the template to lyric pages by using this template:
  
Line 21: Line 23:
 
<b>character</b> should be the CHARACTER's name in Western order (Name Surname) as a link, eg. <nowiki>[[Sakuya Sakuma]]</nowiki>.
 
<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]].
  
 
If there are multiple characters, voice actors, composers, etc. separate each name with a comma.
 
If there are multiple characters, voice actors, composers, etc. separate each name with a comma.
 
==Code==
 
<pre>{| 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>
 
|}</pre>
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
[[Category:Template Documentation]]
 
[[Category:Template Documentation]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 27 December 2017