Template:Cat plug/doc

来自Minecraft基岩版开发Wiki
这是文档页面,它应该被放置到Template:Cat plug,查看Template:Documentation以获取更多信息。

Categories will eat any spaces above 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[编辑]

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

[[Category:实例]]
...would be a shame if something were to 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:实例]]
...would be a shame if something were to happen to them.

That's some nice spaces you have there

...would be a shame if something were to happen to them.