Difference between revisions of "Template:Lyrics"

From A3! Wiki
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
[[Category:Templates]]
 +
{{Template:Lyrics/Docs}}
 +
</noinclude>
 
<includeonly>
 
<includeonly>
 +
{{#css:
 +
.lyricboxcontainer {
 +
    display: flex;
 +
    flex-wrap: wrap;
 +
    justify-content: center;
 +
}
 +
 +
.lyricbox {
 +
    flex-basis: 250px;
 +
    flex-grow: 1;
 +
    margin: 0.2em;}
 +
 +
.lyricbox table {
 +
    background: #f6f6f6;
 +
}
 +
}}
 
<div class="lyricboxcontainer">
 
<div class="lyricboxcontainer">
 
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-Kanji">
 
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-Kanji">
{| class="wikitable a3table {{#if: {{{character|}}} | {{{character|}}}table}} {{#if: {{{troupe}}} | {{{troupe}}}table}}"
+
{| class="table {{#if: {{{character|}}} | {{{character|}}}table|}} {{#if: {{{troupe|}}} | {{{troupe}}}table|}}" {{#if:{{{kanji|}}} |  | style="display:none"}} width="100%"
 
|-
 
|-
 
! 漢字
 
! 漢字
Line 13: Line 33:
  
 
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-Romaji">
 
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-Romaji">
{| class="wikitable a3table {{#if: {{{character|}}} | {{{character|}}}table}} {{#if: {{{troupe}}} | {{{troupe}}}table}}"
+
{| class="table {{#if: {{{character|}}} | {{{character|}}}table|}} {{#if: {{{troupe|}}} | {{{troupe}}}table|}}" {{#if:{{{romaji|}}} |  | style="display:none"}} width="100%"
 
|-
 
|-
 
! Romaji
 
! Romaji
Line 23: Line 43:
 
</div>
 
</div>
  
{{#if: {{{english|}}}} | <div class="lyricbox mw-collapsible" id="mw-customcollapsible-English">
+
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-English">
{| class="wikitable a3table {{#if: {{{character|}}} | {{{character|}}}table}} {{#if: {{{troupe}}} | {{{troupe}}}table}}"
+
{| class="table {{#if: {{{character|}}} | {{{character|}}}table|}} {{#if: {{{troupe|}}} | {{{troupe}}}table|}}" {{#if:{{{english|}}} |  | style="display:none"}} width="100%"
 
|-
 
|-
 
! English
 
! English
Line 32: Line 52:
 
|-
 
|-
 
|}
 
|}
</div>}}
+
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
<pre>{{Music Lyrics
+
{{Lyrics
|character=lowercase character name IF character song, omit if not applicable
+
|troupe=summer
|troupe=lowercase troupe name IF multiple characters, omit if not applicable
+
|kanji=<poem>
|kanji=<poem>lyrics go here</poem>
+
{{Name|Summer|All}}
|romaji=<poem>lyrics go here</poem>
+
Yeah! 夏は
|english=<poem>lyrics go here</poem>
+
Yeah! マジで
}}</pre>
+
Yeah! ブッ飛んで
 +
3,2,1 Go!!!
 +
</poem>
 +
|romaji=
 +
<poem>
 +
{{Name|Summer|All}}
 +
Yeah! Natsu wa
 +
Yeah! Maji de
 +
Yeah! Buttonde
 +
3,2,1 Go!!!
 +
 
 +
{{Name|Tenma}}
 +
"Toriaezu! ORE wa tensai dakara, ORE no iu koto o kike!"
 +
</poem>
 +
|english=
 +
<poem>
 +
{{Name|Summer|All}}
 +
Yeah! Summer is
 +
Yeah! Seriously
 +
Yeah! Blasting off in,
 +
3,2,1 Go!!!
 +
 
 +
{{Name|Tenma}}
 +
"First things first! I'm a genius, so everybody listen up!"
 +
</poem>
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:16, 14 February 2018


Creates 3 lyric boxes to use under the =Lyrics= header on song pages.

How to Use[edit]

{{Lyrics
|character=lowercase character name IF character song, omit if not applicable
|troupe=lowercase troupe name IF multiple characters, omit if not applicable
|kanji=<poem>lyrics go here</poem>
|romaji=<poem>lyrics go here</poem> 
|english=<poem>lyrics go here</poem>
}}

Note that you do need to keep the <poem></poem> tags.

Leave the kanji/romaji/english part out entirely if they aren't currently available. This makes it so there's not just empty boxes on the page with a heading.




漢字

All
Yeah! 夏は
Yeah! マジで
Yeah! ブッ飛んで
3,2,1 Go!!!

Romaji

All
Yeah! Natsu wa
Yeah! Maji de
Yeah! Buttonde
3,2,1 Go!!!

Tenma
"Toriaezu! ORE wa tensai dakara, ORE no iu koto o kike!"

English

All
Yeah! Summer is
Yeah! Seriously
Yeah! Blasting off in,
3,2,1 Go!!!

Tenma
"First things first! I'm a genius, so everybody listen up!"