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.
q
to display the title excluding the disambiguator (if any) in quotest
to display the title excluding the disambiguator (if any) in italics?
to display this symbol after the article title:G
to display this symbol after the article title:o
to display ‹› after the article titleFor a song title with a parenthetical disambiguator that should not be in quotation marks:
<nowiki>{{#invoke:Sandbox/28bytes/acm|gettitle|?q|Cinema|(Yes song)}}</nowiki>
displays
For a song title with a parenthetical that should be in quotation marks, as it is part of the title:
<nowiki>{{#invoke:Sandbox/28bytes/acm|gettitle|?q|I.G.Y. (What a Beautiful World)}}</nowiki>
displays
For an album title without a parenthetical disambiguator:
<nowiki>{{#invoke:Sandbox/28bytes/acm|gettitle|?Gt|Move Like This}}</nowiki>
displays