قالب:Category if exists

Template documentation[view] [edit] [history] [purge]

This template outputs a category if the category exists. Otherwise, it returns nothing. It is intended for use in templates.

This template follows category redirects (using {{resolve category redirect}}).

TemplateData

This is the بيانات القالب documentation for this template used by المحرر المرئي وأدوات أخرى.

See the monthly error report for this template.

TemplateData for Category if exists

Outputs a link to a category if it exists; otherwise returns nothing.

وسائط القالب

هذا القالب يفضل التنسيق بنفس السطر للوسائط.

وسيطوصفنوعحالة
Category name1

Category for potential inclusion if it exists. "Category:" prefix is optional.

مثال
Category:Writers
اسم الصفحةمطلوب
Sort key2

[[WP:SORTKEY]] of the category.

القيم المقترحة
*
مثال
Foo
سطراختياري

See also