Template:`/doc: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{dochead}}{{substitute|no}}{{clear}}{{wikipedia}}
{{dochead}}{{substitute|no}}{{clear}}{{wikipedia}}
Sometimes, apostrophes may collide with certain characters such as lowercase ''d''{{`s}} and ''l''{{`s}}, especially after '''bold''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) text. In these cases, {{plaincode|<nowiki>{{`}}</nowiki>}} and {{tlx|`s|plaincode}} can be used to prevent such collisions. This template is the same as {{tlx|&#39;|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''' (<code><nowiki>'''</nowiki></code>) or ''italic'' (<code><nowiki>''</nowiki></code>) text. In these cases, {{plaincode|<nowiki>{{`}}</nowiki>}} and {{tlx|`s|plaincode}} can be used to prevent such collisions. This template is the same as {{tlx|&#39;|plaincode}} except that it inserts a small amount of space before the apostrophe.
It is also useful for inserting a single quote following a quotation mark.


=== Usage ===
=== Usage ===
Line 12: Line 10:
| <code><nowiki>''The Doobie Brothers''{{`}} latest album</nowiki></code>
| <code><nowiki>''The Doobie Brothers''{{`}} latest album</nowiki></code>
| ''The Doobie Brothers''{{`}} latest album
| ''The Doobie Brothers''{{`}} latest album
|-
| <code><nowiki>"{{`}}My Two Front Teeth': A Critical Review"</nowiki></code>
| "{{`}}My Two Front Teeth': A Critical Review"
|-
|-
| <code><nowiki>''Le Serre Nuove dell{{`}}Ornellaia''</nowiki></code>
| <code><nowiki>''Le Serre Nuove dell{{`}}Ornellaia''</nowiki></code>
Line 28: Line 23:


=== See also ===
=== See also ===
* {{tlx|´|plaincode}} and {{tlx|-´|plaincode}} – used to insert a single prime
* {{tlx|``|plaincode}} and {{tlx|-`|plaincode}} – used to insert a single prime
* {{tlx|"|plaincode}} and {{tlx|-"|plaincode}} – used to insert a double prime
* {{tlx|"|plaincode}} and {{tlx|-"|plaincode}} – used to insert a double prime