Lompat ke isi

Modul:Suppress categories/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

Penggunaan

[sunting sumber]
{{#invoke:Suppress categories|main|input text}}

Pemanggil

[sunting sumber]
Kode Output
{{#invoke:Suppress categories|main|foo}} foo
{{#invoke:Suppress categories|main|foo[[Category:Some category]]}} foo
{{#invoke:Suppress categories|main|foo[[Category:Some category]]bar[[Category:Another category]]}} foobar
{{#invoke:Suppress categories|main|foo{{{some_parameter|[[Category:Bar]]}}}}} foo
{{#invoke:Suppress categories|main|foo[[Category:Bad ca[]tegory link]]}} foo[[Category:Bad ca[]tegory link]]
{{#invoke:Suppress categories|main|foo[[:Category:Colon trick]]}} fooCategory:Colon trick
{{#invoke:Suppress categories|main|foo[[Category:Piped link|bar]]more text}} foomore text
{{#invoke:Suppress categories|main|foo[[Category:Piped link|ba[]r]]more text}} foomore text
{{#invoke:Suppress categories|main|foo[[non-category link]]}} foonon-category link
{{#invoke:Suppress categories|main|foo[[File:Smile.svg|indeed [[Category:Emotions]]]]more text}} fooindeedmore text
{{#invoke:Suppress categories|main|foo[[Category:Some category|this [[is]] bad]]more text}} foo
{{#invoke:Suppress categories|main|foo[[ Category : Some category with spaces ]]}} foo
{{#invoke:Suppress categories|main|foo[[ Kategori : Some category with spaces ]]}} foo