Template:-'/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{wikipedia}} | ||
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. | |||
Sometimes, apostrophes may collide with certain characters such as lowercase ''d''{{-'}}s and ''l''{{-'}}s, especially after | |||
=== Usage === | |||
{| class="wikitable" style="text-align: center; margin: auto auto auto auto;" | {| class="wikitable" style="text-align: center; margin: auto auto auto auto;" | ||
|- | |- | ||
Line 9: | Line 8: | ||
! You get | ! You get | ||
|- | |- | ||
| <code> | | <code><nowiki>''Z''{{-'}}(</nowiki>{{nowrap|<nowiki>''x'' + ''y''</nowiki>}})</code> | ||
| | | ''Z''{{-'}}({{nowrap|''x'' + ''y''}}) | ||
|- | |- | ||
| <code> | | <code><nowiki>The ''Illiad''{{-'}}s vocabulary</nowiki></code> | ||
| The ''Illiad''{{-'}}s vocabulary | |||
|} | |} | ||
=== Technical note === | |||
This template does not insert any semantically invalid whitespace characters, but does all the spacing visually only, in [[CSS]]. |