Template:'s: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "'<noinclude> An apostrophe. Used when you want an actual apostrophe, but MediaWiki markup thinks your apostrophe is part of an italics or bold indicator. Example: <code><now...")
 
(Let's take the Wikipedia approach.)
Line 1: Line 1:
'<noinclude>
<span class="nowrap" style="padding-left:0.1em;">&#39;s</span><noinclude>


An apostrophe. Used when you want an actual apostrophe, but MediaWiki markup thinks your 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: <code><nowiki>''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies.</nowiki></code> results in:
Example: <code><nowiki>''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies.</nowiki></code> results in:
:''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies.
:''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies.
which is incorrect. To fix this with the template, add it like this: <code><nowiki>''Pikmin 2'' and ''Pikmin 3''{{'}}s enemies.</nowiki></code>.
which is incorrect. To fix this with the template, add it like this: <code><nowiki>''Pikmin 2''{{'s}} leaders and ''Pikmin 3''{{'s}} enemies.</nowiki></code>.


[[Category:Inline templates]]
[[Category:Inline templates]]


</noinclude>
</noinclude>

Revision as of 18:44, January 27, 2016

's

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: ''Pikmin 2'''s leaders and ''Pikmin 3'''s enemies. results in:

Pikmin 2s leaders and Pikmin 3s enemies.

which is incorrect. To fix this with the template, add it like this: ''Pikmin 2''{{'s}} leaders and ''Pikmin 3''{{'s}} enemies..