Difference between revisions of "Template:Music Infobox"

From A3! Wiki
m
m
Line 1: Line 1:
 
<noinclude>{{:Template:Music Infobox/Docs}}
 
<noinclude>{{:Template:Music Infobox/Docs}}
 +
 +
{{Music Infobox
 +
|troupe=a3ders
 +
|albumcover=Act! Addict! Actors!.png
 +
|character=A3ders! ([[Sakuya Sakuma]], [[Tenma Sumeragi]], [[Banri Settsu]], [[Tsumugi Tsukioka]])
 +
|cv=[[Koudai Sakai]], [[Takuya Eguchi]], [[Chiharu Sawashiro]], [[Atsushi Tamaru]]
 +
|lyricist=Ooishi Masayoshi
 +
|composition=Ooishi Masayoshi
 +
|arrangement=Ooishi Masayoshi
 +
|album=Act! Addict! Actors!
 +
}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>
 
<includeonly>[[Category:Music]]
 
<includeonly>[[Category:Music]]
Line 22: Line 33:
  
 
}}
 
}}
<div class="list {{#if: {{{troupe|}}} | {{{troupe}}}music |}} flex-container musicinfo-h" style="width:100%; min-width: 22em; justify-content: center; font-size: 90%; {{#if: {{{color|}} | background: var(--{{{color}}}-light); border: 1px solid var(--{{{color}}})|}}">
+
<div class="list {{#if: {{{troupe|}}} | {{{troupe}}}music |}} flex-container musicinfo-h" style="width:100%; min-width: 22em; justify-content: center; font-size: 90%; {{#if: {{{color|}}} | background: var(--{{{color}}}-light); border: 1px solid var(--{{{color}}})|}}">
 
<div style="flex-basis: 150px; flex-grow: 1; max-width: 300px;">[[File:{{{albumcover|}}}|center]]</div>
 
<div style="flex-basis: 150px; flex-grow: 1; max-width: 300px;">[[File:{{{albumcover|}}}|center]]</div>
 
<div style="flex-basis: 150px; flex-grow: 3;">
 
<div style="flex-basis: 150px; flex-grow: 3;">

Revision as of 21:21, 29 July 2023

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.

Act! Addict! Actors!.png
Music Infobox
Vocals A3ders! (Sakuya Sakuma, Tenma Sumeragi, Banri Settsu, Tsumugi Tsukioka)
CV Koudai Sakai, Takuya Eguchi, Chiharu Sawashiro, Atsushi Tamaru
Lyrics Ooishi Masayoshi
Composition Ooishi Masayoshi
Arrangement Ooishi Masayoshi
Album Act! Addict! Actors!
Lyrics Toggles
Show/Hide Kanji Show/Hide Romaji Show/Hide English
Act! Addict! Actors!.png
Music Infobox
Vocals A3ders! (Sakuya Sakuma, Tenma Sumeragi, Banri Settsu, Tsumugi Tsukioka)
CV Koudai Sakai, Takuya Eguchi, Chiharu Sawashiro, Atsushi Tamaru
Lyrics Ooishi Masayoshi
Composition Ooishi Masayoshi
Arrangement Ooishi Masayoshi
Album Act! Addict! Actors!
Lyrics Toggles
Show/Hide Kanji
Show/Hide Romaji
Show/Hide English