Difference between revisions of "Template:Music Infobox"

From A3! Wiki
m
m (Reverted edits by Krhs (talk) to last revision by Fimbulvetr)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="musicinfo {{{troupe|}}}music" style="padding: 1em; margin-left: 1em; margin-bottom: 1em; border-radius:15px; cellpadding=3">
+
{| class="infobox musicinfo {{{troupe|}}}music" style="padding: 1em; margin-left: 1em; margin-bottom: 1em; float:right; border-radius:15px; cellpadding=3
<div id="music-cover">
+
|-
[[File:{{{albumcover|}}}|300px]]
+
| colspan="2" | [[File:{{{albumcover|}}}|300px|center]]
</div>
+
|-
<div id="music-info">
 
{| class="musicinfo-table"
 
 
! colspan="2" class="{{{troupe|}}}music musicinfo-title" | {{SUBPAGENAME}}
 
! colspan="2" class="{{{troupe|}}}music musicinfo-title" | {{SUBPAGENAME}}
 
|-
 
|-
Line 34: Line 32:
 
|colspan="2" align="center"|<span class="mw-customtoggle-English">Show/Hide English</span>
 
|colspan="2" align="center"|<span class="mw-customtoggle-English">Show/Hide English</span>
 
|}
 
|}
</div>
 
</div>
 
 
[[Category:Music]]
 
[[Category:Music]]
 
</includeonly>
 
</includeonly>
<noinclude>
+
<noinclude>{{:Template:Music Infobox/Docs}}
{{Music Infobox
 
|troupe=winter
 
|albumcover=Mini Album A3! Blooming WINTER EP.png
 
|character=[[Homare Arisugawa]], [[Hisoka Mikage]]
 
|cv=Toyonaga Toshiyuki, Terashima Junta
 
|lyricist=Nakayama Masato
 
|composition=Nakayama Masato
 
|arrangement=Nakayama Masato
 
|album=A3! Blooming WINTER EP
 
}}
 
 
 
{{:Template:Music Infobox/Docs}}
 
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 02:27, 30 November 2017

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:

{{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. 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.