Template:-'/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
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.<br /><br /> | 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.<br /><br /> | ||
Sometimes, apostrophes may collide with certain characters such as lowercase ''d''{{-'}}s and ''l''{{-'}}s, especially after '''bold''' or ''italic'' text. This template is the same as {{tlx|'|plaincode}} except that it inserts a small amount of space before the apostrophe | Sometimes, apostrophes may collide with certain characters such as lowercase ''d''{{-'}}s and ''l''{{-'}}s, especially after '''bold''' or ''italic'' text. This template is the same as {{tlx|'|plaincode}} except that it inserts a small amount of space before the apostrophe to avoid such collisions. | ||
{| class="wikitable" style="text-align: center; margin: auto auto auto auto;" | {| class="wikitable" style="text-align: center; margin: auto auto auto auto;" | ||
Line 12: | Line 12: | ||
| ''Z''{{-'}}({{nowrap|''x'' + ''y''}}) | | ''Z''{{-'}}({{nowrap|''x'' + ''y''}}) | ||
|- | |- | ||
| <code> | | <code><nowiki>The ''Illiad''{{-'}}s vocabulary</nowiki></code> | ||
| The ''Illiad''{{-'}}s vocabulary | | The ''Illiad''{{-'}}s vocabulary | ||
|} | |} |