Content added Content deleted
m (→Usage) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
** Defines the columns and their orders |
** Defines the columns and their orders |
||
** Adds a hidden HTML tag for the lyrics option fieldset to attach to |
** 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 |
* {{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 |
* {{T|Lyrics tail}} - Contains table footer for the bottom of the lyrics table |
||
Line 35: | Line 35: | ||
== 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]]. |
|||
{{Lyrics head |
{{Lyrics head |
||
| column |
| column = japanese,romaji,english |
||
| japanese = Japanese lyrics |
| japanese = Japanese lyrics |
||
| romaji = Romanized lyrics |
| romaji = Romanized lyrics |
||
Line 55: | Line 57: | ||
<pre> |
<pre> |
||
{{Lyrics head |
{{Lyrics head |
||
| column |
| column = japanese,romaji,english |
||
| japanese = Japanese lyrics |
| japanese = Japanese lyrics |
||
| romaji = Romanized lyrics |
| romaji = Romanized lyrics |
Latest revision as of 02:39, 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 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Footer content
| String | optional |
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}}