Module:Sandbox/28bytes/acm/doc

gettitle
This function accepts an article title and formats it with quotes or italics as specified (useful for songs, albums and books.) It can also optionally add a "Did you know" indicator and/or Good Article indicator following the article title.

Arguments

 * 1) Formatting specifiers, in any order:
 * 2) *  to display the title excluding the disambiguator (if any) in quotes
 * 3) *  to display the title excluding the disambiguator (if any) in italics
 * 4) *  to display this symbol after the article title: Symbol question.svg
 * 5) *  to display this symbol after the article title: Symbol support vote.svg
 * 6) *  to display ‹› after the article title
 * 7) Article title excluding the disamiguator (required)
 * 8) Disambiguator (optional)

Usage examples
For a song title with a parenthetical disambiguator that should not be in quotation marks:
 * displays
 * displays

For a song title with a parenthetical that should be in quotation marks, as it is part of the title:
 * displays
 * displays

For an album title without a parenthetical disambiguator:
 * displays
 * displays