Template:-'/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
-duplicate info from template:', but +important notice |
||
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 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. | ||
=== Usage === | |||
{| class="wikitable" style="text-align: center; margin: auto auto auto auto;" | {| class="wikitable" style="text-align: center; margin: auto auto auto auto;" | ||
|- | |- | ||
Line 15: | Line 15: | ||
| The ''Illiad''{{-'}}s vocabulary | | The ''Illiad''{{-'}}s vocabulary | ||
|} | |} | ||
=== Technical note === | |||
This template does not insert any semantically-invalid space characters, but does all the spacing visually-only, in [[CSS]]. |
Revision as of 16:45, 9 January 2025
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 {{'}}
) except that it inserts a small amount of space before the apostrophe to avoid such collisions.
Usage
You type | You get |
---|---|
''Z''{{-'}}(''x'' + ''y'')
|
Z'(x + y) |
The ''Illiad''{{-'}}s vocabulary
|
The Illiad's vocabulary |
Technical note
This template does not insert any semantically-invalid space characters, but does all the spacing visually-only, in CSS.