Template:Cat plug

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation

Categories will eat any spaces above them, and if the next bit of text is a link, any spaces after them. This template plugs the categories up, to stop them from eating the spaces around them. Just place it before the first category, or after the last category.

All it does it output a <nowiki/>, however using a template makes the practice self-documenting, rather than seeming like a mistake.

Examples[edit]

Normal space eating behavior
That's some nice spaces you have there

[[Category:Example]]
...would be a shame if something were to [[Category:Example]]

[[creeper| happen to them]].

That's some nice spaces you have there ...would be a shame if something were to happen to them.

Plugged up categories prevented from eating
That's some nice spaces you have there

{{cat plug}}[[Category:Example]]
...would be a shame if something were to [[Category:Example]]{{cat plug}}

[[creeper| happen to them]].

That's some nice spaces you have there

...would be a shame if something were to

happen to them.

[view | edit | history | purge]The above documentation is transcluded from Template:Cat plug/doc.
Promotional Content