සැකිල්ල:Category if exists/doc
This is a documentation subpage for සැකිල්ල:Category if exists. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
Due to a server limit of 500 "expensive parser function" calls (#ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this template or module 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 Category:Pages with too many expensive parser function calls. (further information) |
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
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 TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Category if exists
Outputs a link to a category if it exists; otherwise returns nothing.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category name | 1 | Category for potential inclusion if it exists. "Category:" prefix is optional.
| Page name | required |
Sort key | 2 | [[WP:SORTKEY]] of the category.
| Line | optional |
See also
සංස්කරණය