قالب:Category if exists/doc
| هذه صفحة توثيق فرعية لـ قالب:Category if exists. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
| This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page قبل تنفيذهم. |
| Due to a server limit of 500 "expensive parser function" calls (e.g. #ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this template will only work properly if the page using it has not already exceeded the limit. When the limit is exceeded, the page using this template or module is categorised in Category:Pages with too many expensive parser function calls. (further information) |
| Uses Lua: |
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 name | 1 | Category for potential inclusion if it exists. "Category:" prefix is optional.
| اسم الصفحة | مطلوب |
| Sort key | 2 | [[WP:SORTKEY]] of the category.
| سطر | اختياري |
See also