Difference between revisions of "Template:Song link"

From Lyriki
Jump to navigation Jump to search
m (Protected "Template:Song link" [edit=autoconfirmed:move=autoconfirmed])
(categorization)
Line 1: Line 1:
<includeonly>[[{{{1}}}:{{{2}}}|{{{disp|{{{2}}}}}}]]{{if|test={{{4|}}}|then=&nbsp;<small>({{{4}}})</small>}}{{if|test={{{3|}}}|then=&nbsp;<small>({{{3}}})</small>}}</includeonly><noinclude>==Usage==
+
<includeonly>[[{{{1}}}:{{{2}}}|{{{disp|{{{2}}}}}}]]{{if|test={{{4|}}}|then=&nbsp;<small>({{{4}}})</small>}}{{if|test={{{3|}}}|then=&nbsp;<small>({{{3}}})</small>}}</includeonly><noinclude>
 +
== Usage ==
 
  <nowiki>{{</nowiki>song link|'''''artist'''''|'''''song'''''|'''''length'''''|'''''info'''''}}
 
  <nowiki>{{</nowiki>song link|'''''artist'''''|'''''song'''''|'''''length'''''|'''''info'''''}}
 
* '''length''' may be left blank &ndash; if filled in, it should be in <tt>min:sec</tt> format
 
* '''length''' may be left blank &ndash; if filled in, it should be in <tt>min:sec</tt> format
Line 7: Line 8:
 
* If the song title differs from the song link (due to technical restrictions, for example), it should be specified like so
 
* If the song title differs from the song link (due to technical restrictions, for example), it should be specified like so
 
  <nowiki>{{</nowiki>song link|'''...'''|disp='''Display Title'''}}
 
  <nowiki>{{</nowiki>song link|'''...'''|disp='''Display Title'''}}
[[Category:Templates]]
+
 
 +
[[Category:Lyriki:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 11:40, 9 October 2007

Usage

{{song link|artist|song|length|info}}
  • length may be left blank – if filled in, it should be in min:sec format
  • info should usually be left blank – it is most commonly used to specify that a song is instrumental

Special Cases

  • If the song title differs from the song link (due to technical restrictions, for example), it should be specified like so
{{song link|...|disp=Display Title}}