Template:Lyrics tail/doc: Difference between revisions

Template page
Content added Content deleted
m (ChaoticShadow moved page Template:LyricsTail/doc to Template:Lyrics tail/doc without leaving a redirect)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


{{Lua|Module:Lyrics}}
The '''LyricsLine''' templates are used to list the lyrics in a song. Three templates are used to form the lyrics table:
* {{T|LyricsHead}} - Contains table headers for the top of the lyrics table
* {{T|LyricsLine}} - Template for all the individual lyrics lines
* {{T|LyricsTail}} - Contains table footer for the bottom of the lyrics table


The '''Lyrics''' templates are used to list the lyrics in a song. Three templates are used to form the lyrics table:
==Parameters==
* {{T|Lyrics head}} - Contains table headers for the top of the lyrics table
** Defines the columns and their orders
** Adds a hidden HTML tag for the lyrics option fieldset to attach to
* {{T|Lyrics line}} - Template for all the individual lyrics lines, for each verse in a song
* {{T|Lyrics tail}} - Contains table footer for the bottom of the lyrics table

== Parameters ==
<templatedata>
<templatedata>
{
{
Line 20: Line 24:
</templatedata>
</templatedata>


==Usage==
== Usage ==
<pre>
<pre>
{{Lyrics head
{{LyricsHead}}
| id =
{{LyricsLine
|japanese =
| column order =
|romaji =
|english =
}}
}}
{{LyricsTail}}
{{Lyrics line}}
{{Lyrics tail}}
</pre>
</pre>


==Example==
== Example ==
Below is a simple example of how to use the collection of lyrics templates. For a more detailed guide, see [[Help:Adding song lyrics]].
{{LyricsHead}}

{{LyricsLine
{{Lyrics head
|japanese = 形のない気持ち忘れないように
| column = japanese,romaji,english
|romaji = katachi no nai kimochi wasurenai you ni
| japanese = Japanese lyrics
|english = Not to forget the intangible feelings
| romaji = Romanized lyrics
| english = English translation
}}
}}
{{Lyrics line
{{LyricsLine
|japanese = 決まりきったレイアウトを消した
| japanese = 形のない気持ち忘れないように
|romaji = kimari kitta LAYOUT wo keshita
| romaji = katachi no nai kimochi wasurenai you ni
|english =
| english = Not to forget the intangible feelings
}}
}}
{{Lyrics line
{{LyricsTail|Footer}}
| japanese = 決まりきったレイアウトを消した
| romaji = kimari kitta LAYOUT wo keshita
| english =
}}
{{Lyrics tail|Footer}}

<pre>
<pre>
{{Lyrics head
{{LyricsHead}}
| column = japanese,romaji,english
{{LyricsLine
|japanese = 形のない気持ち忘れないように
| japanese = Japanese lyrics
| romaji = Romanized lyrics
|romaji = katachi no nai kimochi wasurenai you ni
|english = Not to forget the intangible feelings
| english = English translation
}}
{{Lyrics line
| japanese = 形のない気持ち忘れないように
| romaji = katachi no nai kimochi wasurenai you ni
| english = Not to forget the intangible feelings
}}
}}
{{Lyrics line
{{LyricsLine
|japanese = 決まりきったレイアウトを消した
| japanese = 決まりきったレイアウトを消した
|romaji = kimari kitta LAYOUT wo keshita
| romaji = kimari kitta LAYOUT wo keshita
|english =
| english =
}}
}}
{{LyricsTail|Footer}}
{{Lyrics tail|Footer}}
</pre>
</pre>

Latest revision as of 02:39, 15 April 2023

The Lyrics templates are used to list the lyrics in a song. Three templates are used to form the lyrics table:

  • {{Lyrics head}} - Contains table headers for the top of the lyrics table
    • Defines the columns and their orders
    • Adds a hidden HTML tag for the lyrics option fieldset to attach to
  • {{Lyrics line}} - Template for all the individual lyrics lines, for each verse in a song
  • {{Lyrics tail}} - Contains table footer for the bottom of the lyrics table

Parameters[edit source]

Template for the optional footer for lyrics tables.

Template parameters

ParameterDescriptionTypeStatus
11

Footer content

Example
English translation by User#1234
Stringoptional

Usage[edit source]

{{Lyrics head
| id =
| column order = 
}}
{{Lyrics line}}
{{Lyrics tail}}

Example[edit source]

Below is a simple example of how to use the collection of lyrics templates. For a more detailed guide, see Help:Adding song lyrics.



Footer
{{Lyrics head
| column = japanese,romaji,english
| japanese = Japanese lyrics
| romaji = Romanized lyrics
| english = English translation
}}
{{Lyrics line
| japanese = 形のない気持ち忘れないように
| romaji   = katachi no nai kimochi wasurenai you ni
| english  = Not to forget the intangible feelings
}}
{{Lyrics line
| japanese = 決まりきったレイアウトを消した
| romaji   = kimari kitta LAYOUT wo keshita
| english  = 
}}
{{Lyrics tail|Footer}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.