模板: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.