قالب:Category link without namespace/doc
| هذه صفحة توثيق فرعية لـ قالب:Category link without namespace. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
| 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 قبل تنفيذهم. |
Usage
Use {{c}} to create a namespace-free link to a category, e.g. Philosophy rather than تصنيف:Philosophy, Cat:Philosophy:
- {{c|Philosophy}} produces: Philosophy
- {{c|Category:philosophy}} produces: Category:philosophy
To specify the text used for the link – e.g. "Philosophy category" in place of "Philosophy" – add it as the next parameter:
- {{c|Philosophy|Philosophy category}} produces: Philosophy category
- {{c|Category:philosophy|Philosophy category}} produces: Philosophy category
See also
- {{cl}}, which produces the second type of link shown in the Usage section (تصنيف:Philosophy, i.e. including the namespace prefix).
- {{lcs}}, which produces output such as:
- {{icon}} for standard Wikipedia icons.
| Template | Example output |
| {{c}} | Example |
| {{cl}} | تصنيف:Example |
| {{cconly}} | 0 |
| Template | Example output |
| {{clc}} | Category:Example (0) |
| {{lc}} | خطأ: لا توجد وحدة بهذا الاسم "PageLinks". |
| {{lcs}} |
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Category link without namespace
Creates links to categories without the namespace prefix.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| Category name | 1 | The name of the category to link to, with or without the Category: prefix | نص | مطلوب |
| Link text | 2 | Text of the actual link, if you want to override it | نص | اختياري |