Template:'/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}{{wikipedia|Template:Apostrophe}}
{{dochead}}{{wikipedia|Template:Apostrophe}}
This template uses the [[wikipedia:List of XML and HTML character entity references|decimal code]] for the apostrophe or single-quote character. When taking the possessive of titles, or when indicating the derivative of a function, this template prevents an apostrophe or single quote from becoming mistakenly interpreted with adjacent bold (<code><nowiki>'''</nowiki></code>) or italic (<code><nowiki>''</nowiki></code>) Wiki markup.
This template uses the [[wikipedia:List of XML and HTML character entity references|decimal code]] for the apostrophe or single-quote character. When taking the possessive of titles, or when indicating the derivative of a function, this template prevents an apostrophe or single quote from becoming mistakenly interpreted with adjacent '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) Wiki markup.


Sometimes, apostrophes may collide with certain characters such as lowercase ''d''{{nbhsp}}{{'}}s and ''l''{{nbhsp}}{{'}}s, especially after '''bold''' or ''italic'' text. In such cases, {{tlx|nbhsp|plaincode}} can be used to insert a small amount of space before the apostrophe to avoid such collisions.
Sometimes, apostrophes may collide with certain characters such as lowercase ''d''{{nbhsp}}{{'}}s and ''l''{{nbhsp}}{{'}}s, especially after '''bold''' or ''italic'' text. In such cases, {{tlx|nbhsp|plaincode}} can be used to insert a small amount of space before the apostrophe to avoid such collisions.