Template:'s: Difference between revisions
Jump to navigation
Jump to search
m (Espyo moved page Template:' to Template:'s without leaving a redirect: Repurposed.) |
(Improved the documentation.) |
||
Line 1: | Line 1: | ||
<span class="nowrap" style="padding-left:0.1em;">'s</span><noinclude> | <span class="nowrap" style="padding-left:0.1em;">'s</span><noinclude> | ||
==Info== | |||
An apostrophe and an s. Used when you want to add <code>'s</code> to something, but MediaWiki markup thinks the apostrophe is part of an italics or bold indicator. | An apostrophe and an s. Used when you want to add <code>'s</code> to something, but MediaWiki markup thinks the apostrophe is part of an italics or bold indicator. | ||
Example | ==Example== | ||
:''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies | The MediaWiki code <code><nowiki>''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies</nowiki></code> results in: | ||
which is incorrect. To fix this with | :''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies | ||
which is incorrect. To fix this problem with this template, add it like this: <code><nowiki>''Pikmin 2''{{'s}} leaders and ''Pikmin 3''{{'s}} enemies</nowiki></code>, which results in: | |||
:''Pikmin 2''{{'s}} leaders and ''Pikmin 3''{{'s}} enemies | |||
which is correct. | |||
[[Category:Inline templates]] | [[Category:Inline templates]]</noinclude> | ||
</noinclude> |
Revision as of 02:01, November 6, 2021
's
Info
An apostrophe and an s. Used when you want to add 's
to something, but MediaWiki markup thinks the apostrophe is part of an italics or bold indicator.
Example
The MediaWiki code ''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies
results in:
- Pikmin 2s leaders and Pikmin 3s enemies
which is incorrect. To fix this problem with this template, add it like this: ''Pikmin 2''{{'s}} leaders and ''Pikmin 3''{{'s}} enemies
, which results in:
- Pikmin 2's leaders and Pikmin 3's enemies
which is correct.