Difference between revisions of "Template:Lyrics"
From A3! Wiki
m |
Fimbulvetr (talk | contribs) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
.lyricbox { | .lyricbox { | ||
− | flex-basis: | + | flex-basis: 250px; |
flex-grow: 1; | flex-grow: 1; | ||
margin: 0.2em;} | 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=" | + | {| class="table {{#if: {{{character|}}} | {{{character|}}}table|}} {{#if: {{{troupe|}}} | {{{troupe}}}table|}}" {{#if:{{{kanji|}}} | | style="display:none"}} width="100%" |
|- | |- | ||
! 漢字 | ! 漢字 | ||
Line 29: | Line 33: | ||
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-Romaji"> | <div class="lyricbox mw-collapsible" id="mw-customcollapsible-Romaji"> | ||
− | {| class=" | + | {| class="table {{#if: {{{character|}}} | {{{character|}}}table|}} {{#if: {{{troupe|}}} | {{{troupe}}}table|}}" {{#if:{{{romaji|}}} | | style="display:none"}} width="100%" |
|- | |- | ||
! Romaji | ! Romaji | ||
Line 40: | Line 44: | ||
<div class="lyricbox mw-collapsible" id="mw-customcollapsible-English"> | <div class="lyricbox mw-collapsible" id="mw-customcollapsible-English"> | ||
− | {| class=" | + | {| class="table {{#if: {{{character|}}} | {{{character|}}}table|}} {{#if: {{{troupe|}}} | {{{troupe}}}table|}}" {{#if:{{{english|}}} | | style="display:none"}} width="100%" |
|- | |- | ||
! English | ! English |
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 |
Romaji |
---|
All Tenma |
English |
---|
All Tenma |