Template:SongFooter
From LyricWiki
Documentation
![]() | This page has been protected to prevent vandalism and/or spam. Other than minor syntax, spelling and grammar problems, this page should not be edited without discussion.
If changes need to be made to this page, leave a message on the talk page. (protection log) |
| This page contains complicated code or uses complex and/or undocumented markup syntax features. Please do not change it unless you know what you are doing. When in doubt, ask the original author(s) or make a test page for use in the sandbox. |
This template appears at the bottom of song pages and is responsible for various categories and for the 'External Links' section.
Recent Changes
- The wikipedia parameter is no longer supported; please use {{WP-Song}} instead.
- SongFooter will try to get the album from the first parameter in {{Song}}, i.e. in most cases the album parameter can now be omitted.
- Wikipedia search links have been added; they will be suppressed if the {{WP-Song}} template is present on the page.
About Templates
- Parameters should be changed prior to saving the page.
- Parameters may appear on a single line or multiple lines, but parameters must be preceded by a | (pipe).
- Do not change the template's name
{{NAME. This is required by the software to know which template to use. - As always, please use the "Show preview" button and check for errors before saving the page.
For more information on how templates work, see Help:Templates
Quick Reference
| Roman Alphabet |
|
| Non-Roman Alphabet |
|
Parameters
{{SongFooter
|fLetter = this is the first letter of the song title. (required)
|artist = the name of the artist that performed this song. This must be in the native script. (optional)
|album = the name of the first album the song appears on. This must be in the native script. (optional)
|song = the name of the song. This must be in the native script. (required)
|romanizedArtist = is used to specify a romanization of the artist parameter. Can be omitted if {{TransTitle}} template with romanization parameter is present. (optional)
|romanizedAlbum = is used to specify a romanization of the album parameter. (optional)
|romanizedSong = is used to specify a romanization of the song parameter. (optional) NOTE: This parameter is ignored if the asin parameter is specified.
|language = the primary language the song is written in. If the song is in more than one language, enter each of them in alphabetical order, separated by hyphens (example: "Chinese-English-Latin"). Please refer to Category:Language for a list of languages. (recommended)
|youtube = the YouTube hash for the music video of this song. The hash can be found by browsing to the video page and copying only the highlighed part of the url: http://www.youtube.com/watch?v=93XLgdvwmWU (optional)
|goear = the GoEar hash for this song. The hash is the highlighted part of the song's URL: http://goear.com/listen.php?v=0db61ad (optional)
|iTunes = iTunes hash for song purchases. This can be found by finding a link to the iTunes store and copying the highlighted part: http://phobos.apple.com/.../viewAlbum?i=186964371&id=186964362&s=143441&uo=6 (optional)
|asin = the song's ASIN code for song purchases at Amazon. This only applies where songs can be individually purchased. DON'T use the ASIN code of the album instead! (optional)
|musicbrainz = the MusicBrainz ID for this song. The ID is the highlighted part of the song's URL: http://musicbrainz.org/track/29dc1be6-aa0d-4c5b-a5bf-0726ad82bc35.html (optional)
|allmusic = the allmusic.com ID for this song. The ID is the highlighted part of the song's URL: http://www.allmusic.com/cg/amg.dll?p=amg&sql=33:k9ftxc8jld0e (optional)
|lrcDB = the lrcdb.org (Timed lyrics) ID for this song. The ID is the highlighted part of the song's URL: http://www.lrcdb.org/lyric.php?lid=1272 (optional)
|download = a legal download link to an mp3 or other sound file. The full URL must be entered. (optional)
|akuma = the akuma.de ID for the artist. The ID is the highlighted part of the URL: http://www.akuma.de/artistname/albumtitle/album,r1312494,index.html (optional)
}}
Technical Restrictions
While the artist, album and song (and corresponding romanized) parameters are used for external rather than internal links and therefore don't have to follow LyricWiki's page naming policy, several characters (or combinations of characters) cause problems.
- Pipe characters "|" cannot be used directly in template parameters, but can be substituted with {{!}}.
- A closing square bracket "]" inside the name will cause all following characters to be omitted from the search links, possibly making them meaningless. The easiest solution is to use round brackets instead. A "]" at the end of the name produces a working link, but messes up the display text slightly.
- Any HTML or Wiki markup will be interpreted as such, usually producing undesired results.
Template Dependencies
- {{SongFooter/Search}}
- {{asin}}
- {{Amazon-Search}}
- {{iTunes}}
- {{akuma}}
- {{MusicBrainz}}
- {{allmusic}}
- {{YouTube}}
Related Categories
- Category:Songs and subcategories
- Category:Language and subcategories, [[:Category:Instrumental
- "…/Song" subcategories in Category:External links
- Category:Songs Needing Footer Attention
- Category:Pages Needing Song Template
References
- MediaWiki:lwtemp-song-template (auto-template)
- MediaWiki:lwtemp-instrumental-template

