close
Sayahna Sayahna
Search

Difference between revisions of "Template:Dab song"


(fixing the subst bug (thanks Patrick!))
 
m (1 revision)
 
(No difference)

Latest revision as of 05:07, 23 March 2014

[[{{{1}}} (song)|"{{{1}}}" (song)]]

Documentation icon Template documentation[view] [edit] [history] [purge]

Dab song

The Dab song template takes two parameters: the song title and the artist name. The artist name is optional: if it is omitted, the parenthetical suffix will be simply (song).

Example with song title and artist name

The following shows how to link the song whose article is at the page Thank You (Led Zeppelin song):

* {{subst:Dab song|Thank You|Led Zeppelin}}

This displays as:

Example with song title only

The following shows how to link the song whose article is at the page Cuddly Toy (song):

* {{subst:Dab song|Cuddly Toy}}

This displays as:

However, in this case, since the artist name is not part of the link, it is helpful to include additional information after the template. For example:

* {{subst:Dab song|Cuddly Toy}}, a 1988 song by Roachford

This displays as: