Content added Content deleted
m (ChaoticShadow moved page Template:LyricsTail/doc to Template:Lyrics tail/doc without leaving a redirect) |
(updated documentation) |
||
Line 1: | Line 1: | ||
{{documentation subpage}} |
{{documentation subpage}} |
||
{{Lua|Module:Lyrics}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
** Defines the columns and their orders |
|||
** Adds a hidden HTML tag for the lyrics option fieldset to attach to |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 20: | Line 24: | ||
</templatedata> |
</templatedata> |
||
==Usage== |
== Usage == |
||
<pre> |
<pre> |
||
{{Lyrics head |
|||
{{LyricsHead}} |
|||
| id = |
|||
{{LyricsLine |
|||
| |
| column order = |
||
⚫ | |||
⚫ | |||
}} |
}} |
||
{{Lyrics line |
|||
{{LyricsTail}} |
|||
| japanese = |
|||
⚫ | |||
⚫ | |||
}} |
|||
{{Lyrics tail}} |
|||
</pre> |
</pre> |
||
==Example== |
== Example == |
||
{{Lyrics head |
|||
{{LyricsHead}} |
|||
| column order = japanese,romaji,english |
|||
{{LyricsLine |
|||
|japanese = |
| japanese = Japanese lyrics |
||
| romaji = Romanized lyrics |
|||
⚫ | |||
|english |
| english = English translation |
||
}} |
}} |
||
{{Lyrics line |
|||
{{LyricsLine |
|||
|japanese = |
| japanese = 形のない気持ち忘れないように |
||
|romaji = |
| romaji = katachi no nai kimochi wasurenai you ni |
||
|english = |
| english = Not to forget the intangible feelings |
||
}} |
}} |
||
{{Lyrics line |
|||
⚫ | |||
| japanese = 決まりきったレイアウトを消した |
|||
| romaji = kimari kitta LAYOUT wo keshita |
|||
| english = |
|||
}} |
|||
⚫ | |||
<pre> |
<pre> |
||
{{Lyrics head |
|||
{{LyricsHead}} |
|||
| column order = japanese,romaji,english |
|||
{{LyricsLine |
|||
|japanese = |
| japanese = Japanese lyrics |
||
| romaji = Romanized lyrics |
|||
|romaji = katachi no nai kimochi wasurenai you ni |
|||
|english |
| english = English translation |
||
}} |
|||
{{Lyrics line |
|||
| japanese = 形のない気持ち忘れないように |
|||
⚫ | |||
| 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 = |
||
}} |
}} |
||
{{ |
{{Lyrics tail|Footer}} |
||
</pre> |
</pre> |
Revision as of 02:05, 15 April 2023
This is a documentation subpage for Template:Lyrics tail. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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 stanza in a song
- {{Lyrics tail}} - Contains table footer for the bottom of the lyrics table
Parameters
Template for the optional footer for lyrics tables.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Footer content
| String | optional |
Usage
{{Lyrics head | id = | column order = }} {{Lyrics line | japanese = | romaji = | english = }} {{Lyrics tail}}
Example
Footer |
---|
{{Lyrics head | column order = 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}}