Wikipedia:WikiProject Disambiguation/Title templates

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Disambiguation templates[edit]

There are a number of templates available to make it easy to correctly format song, album and film titles on disambiguation pages.

According to the Manual of Style for disambiguation pages, piping should be used on disambiguation pages to quote or italicize titles while retaining the unformatted parenthetical suffix.

For example, a song titled "Dream On" by the band Aerosmith should appear in a list as follows:

Note that the song title, "Dream On", is in quotes, but the parenthetical suffix, (Aerosmith song) is not. This can be achieved with the following wikicode:

* [[Dream On (Aerosmith song)|"Dream On" (Aerosmith song)]]

Disambiguation templates provide an easier way to achieve this effect. For songs, you can use the {{Dab song}} template:

* {{subst:Dab song|Dream On|Aerosmith}}

This will generate the following:

This provides the same formatted output as the piped link, but without the need to type the artist name and song title twice.

A list of all disambiguation templates follows.

These template must always be substituted.

Note: these templates are intended for disambiguation pages. Within articles, the parenthetical suffix is generally dropped, so formatting part of the displayed link is usually unnecessary.

Dab song[edit]

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[edit]

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[edit]

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:

Dab album[edit]

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

Example with album title and artist name[edit]

The following shows how to link the album whose article is at the page Look Sharp! (Roxette album):

* {{subst:Dab album|Look Sharp!|Roxette}}

This displays as:

Example with album title only[edit]

The following shows how to link the album whose article is at the page Victim of Love (album):

* {{subst:Dab album|Victim of Love}}

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 album|Victim of Love}}, a 1979 Elton John album

This displays as:

Dab film[edit]

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

Example with film title and year[edit]

The following shows how to link the film whose article is at the page Titanic (1997 film):

* {{subst:Dab film|Titanic|1997}}

This displays as:

Example with film title only[edit]

The following shows how to link the film whose article is at the page Help! (film):

* {{subst:Dab film|Help!}}

This displays as:

Additional information can be provided after the template. For example:

* {{subst:Dab film|Help!}}, a 1965 film directed by Richard Lester starring the Beatles

This displays as:

  • Help! (film), a 1965 film directed by Richard Lester starring the Beatles

Dab italics[edit]

The Dab italics template is used to italicize the title portion of an article name, while leaving the parenthetical suffix alone. This can be used for books, newspapers, television series and other titles (other than albums or films) that should be italicized according to Wikipedia:Manual of Style (titles). There are separate templates available for album titles (Template:Dab album) and film titles (Template:Dab film).

The template takes two parameters: the title of the work and the parenthetical portion.

Book example[edit]

The following shows how to link the article at the page Forrest Gump (novel):

* {{subst:Dab italics|Forrest Gump|novel}}

This displays as:

TV series example[edit]

The following shows how to link the article at the page Lost (TV series):

* {{subst:Dab italics|Lost|TV series}}

This displays as:

Magazine example[edit]

The following shows how to link the article at the page Time (magazine):

* {{subst:Dab italics|Time|magazine}}

This displays as:

See also[edit]


Dab quotes[edit]

The Dab quotes template is used to "quote" the title portion of an article name, while leaving the parenthetical suffix alone. This can be used for short stories and other titles that should be quoted according to Wikipedia:Manual of Style (titles). There is a separate template available for song titles: Template:Dab song.

The template takes two parameters: the title of the work and the parenthetical portion.

Short story example[edit]

The following shows how to link the article at the page Terra Incognita (short story):

* {{subst:Dab quotes|Terra Incognita|short story}}

This displays as: