FANDOM

2,054,058 Pages

Remiaw

Userbox:Lyrics

Icon - MusicalNote Lyrics

With this userbox, you can show in your userpage any part from the lyrics of your favorite song. It can display up to 10 verses, and provides the link to the song's page (and the involved artist's one) in the wiki.

Usage

Copy and paste the code below in your user page, between your userboxes:

{{User:Remiaw/Userboxes/Lyrics|<<parameters>>=<<values>>}}

Or shorter:

{{User:FRubx/Lyrics|<<parameters>>=<<values>>}}

Later, fill <<parameters>> with the things below.

Parameters

  • Obligatory: none. The userbox will look like this:
Icon - MusicalNote Lyrics
  • Optional: <>song</code> and the lyric lines 1 to 10.

First, complete song with the song's full pagename.

Example:

{{User:FRubx/Lyrics|song=Daft Punk:Instant Crush}}

Will show:

Icon - MusicalNote Lyrics – from "Instant Crush" by Daft Punk


Later, provide the lyrics pieces of the selected song. Place them separating every line with a vertical line (|).

Example:

{{User:FRubx/Lyrics
 |And we will never be alone again
 |'Cause it doesn't happen every day
 |Kinda counted on you being a friend
 |Can I give it up or give it away?}}

Will show:

Icon - MusicalNote And we will never be alone again
'Cause it doesn't happen every day
Kinda counted on you being a friend
Can I give it up or give it away?


Also, you can put a blank line, for separating strophes, inserting a non-breaking space (&nbsp;).

Example:

 {{User:FRubx/Lyrics
 |I listened to your problems
 |Now listen to mine
 |I didn't want anymore
 | 
 |And we will never be alone again
 |'Cause it doesn't happen every day
 |Kinda counted on you being a friend
 |Can I give it up or give it away?}}

Will show:

Icon - MusicalNote I listened to your problems
Now listen to mine
I didn't want anymore
 
And we will never be alone again
'Cause it doesn't happen every day
Kinda counted on you being a friend
Can I give it up or give it away?


With both elements, the userbox will show:

Icon - MusicalNote And we will never be alone again
'Cause it doesn't happen every day
Kinda counted on you being a friend
Can I give it up or give it away?
– from "Instant Crush" by Daft Punk


When code:

{{User:FRubx/Lyrics|song=Daft Punk:Instant Crush|And we will never be alone again|'Cause it doesn't happen every day|Kinda counted on you being a friend|Can I give it up or give it away?}}

About

Usage warnings

  • The limit of lyric lines is 10. Any lyric lines after tenth line will not be displayed. However, there in Notes section below is explained the only way to add an additional line after tenth.
  • Be sure the page of the song you are trying to link exists or is well-written.

Notes

  • Is recommendable to fill the song parameter instead of not filling them.
  • The order of the parameters doesn't matter.
  • The order of the steps to set the userbox doesn't matter too.
  • The lyric lines parameters are really numbered 1, 2, ... , to 10. Is not necessary to number these parameters, but it can be used to change the order of the lines easily, and maybe, usable in next versions of the userbox.
  • Here is a way to add additional lyric lines to the userbox after exceeding the ten-lines limit:
    • In any line parameter, write some lyrics and separate each line with a <br> tag.

Example:

{{User:FRubx/Lyrics|A lyric line <br> Another lyric line}}
Use only when necesary. However, I thought that ten lines is a good limit (you aren't thinking in place all the lyrics from your favorite song into the userbox, or yes? XD).

Template dependencies

  • {{Clear}}, to avoid superposition of text or another content.

Trivia

  • This userbox is based in another userbox made by me, "Filme frase", that in turn is the translation of the userbox "Film quote" made by the wikipedian Pinkkeith.
  • The color of the userbox is the same color of the lyric box that appears using the <lyric></lyric> tags in song articles.

Upcoming features

  • Change the color or the style of the userbox.
  • Include YouTube and Goear links (maybe with FRubx' Song Database, a future development).

See also

Related templates an userboxes

  • None for the moment.

Pages

FRubx // Wikinnovation

 

Do you like how it looks? Use it!

Community content is available under Copyright unless otherwise noted.