Home
Random
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Sandbox/28bytes/acm/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 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 === # Formatting specifiers, in any order: #* <code>q</code> to display the title excluding the disambiguator (if any) in quotes #* <code>t</code> to display the title excluding the disambiguator (if any) in italics #* <code>?</code> to display this symbol after the article title: [[File:Symbol question.svg|20px]] #* <code>G</code> to display this symbol after the article title: [[File:Symbol support vote.svg|20px]] #* <code>o</code> to display '''βΉβΊ''' after the article title # Article title excluding the disamiguator (required) # Disambiguator (optional) === Usage examples === For a song title with a parenthetical disambiguator that should ''not'' be in quotation marks: :<code><nowiki>{{#invoke:Sandbox/28bytes/acm|gettitle|?q|Cinema|(Yes song)}}</nowiki></code> :displays {{#invoke:Sandbox/28bytes/acm|gettitle|?q|Cinema|(Yes song)}} For a song title with a parenthetical that ''should'' be in quotation marks, as it is part of the title: :<code><nowiki>{{#invoke:Sandbox/28bytes/acm|gettitle|?q|I.G.Y. (What a Beautiful World)}}</nowiki></code> :displays {{#invoke:Sandbox/28bytes/acm|gettitle|?q|I.G.Y. (What a Beautiful World)}} For an album title without a parenthetical disambiguator: :<code><nowiki>{{#invoke:Sandbox/28bytes/acm|gettitle|?Gt|Move Like This}}</nowiki></code> :displays {{#invoke:Sandbox/28bytes/acm|gettitle|?Gt|Move Like This}}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Sandbox/28bytes/acm
(
edit
)