• Welcome to Touhou Wiki!
  • Registering is temporarily disabled. Check in our Discord server to request an account and for assistance of any kind.

User:Tsukihime/LyricPage

From Touhou Wiki
Jump to navigation Jump to search


Passing template to loops

User:Tsukihime/TemplateParam


{{#foreach: eng$n$| }}
EXTRA BITTER ~ Myon's song
  • EXTRA BITTER ~ みょんのうた
  • EXTRA BITTER ~ Myon no uta
  • Length: 02:40
  • Arrangement: NYO
  • Lyrics: bit
  • Vocals: アキ (Aki)
  • Sources:
広有射怪鳥事 ~ Till When?
東方妖々夢 ~ Perfect Cherry Blossom
  • Featured on:
{{#foreach: album$n$|{{{album$n$}}} }}
Original Romanized Translation

{{{kan$n$}}}

{{{rom$n$}}}

{{{eng$n$}}}


Modifying existing lyrics template

{{#foreach: eng$n$| }}
EXTRA BITTER ~ Myon's song
  • EXTRA BITTER ~ みょんのうた
  • EXTRA BITTER ~ Myon no uta
  • Length: 02:40
  • Arrangement: NYO
  • Lyrics: bit
  • Vocals: アキ (Aki)
  • Sources:
広有射怪鳥事 ~ Till When?
東方妖々夢 ~ Perfect Cherry Blossom
  • Featured on:
{{#foreach: album$n$|{{{album$n$}}} }}
Original Romanized Translation

{{{kan$n$}}}

{{{rom$n$}}}

{{{eng$n$}}}


Lyrics template

Uses User:Tsukihime/LyricTemplate

This template will iteratively display the lyrics. You will only have to indicate which stanza it is and the template will handle it correctly. Each template call will handle one set of lyrics, so for the final lyrics page you would have three template calls, one for each script.

{{#foreach: stanza$n$ |}}
Lyrics
{{{stanza$n$}}}

Lyrics Wrapper template

Uses: User:Tsukihime/LyricWrapper

This is the lyric wrapper template. It is used for formatting and positioning the overall layout of the lyric page. It will partition the page into three columns, one for kanji, one for romaji, and the last for the translation.

Song title
Original Lyrics Romanized Lyrics Translated Lyrics
{{#foreach: stanza$n$ |}}
{{{stanza$n$}}}
{{#foreach: stanza$n$ |}}
{{{stanza$n$}}}
placeholder