قالب:Category more if exists
| This template is used on approximately 37٬000 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 قبل تنفيذهم. |
| Uses Lua: |
A variant of {{Category more}} which links only to pages which actually exist
Usage
{{Category more if exists|Spain}} produces: خطأ: لا توجد وحدة بهذا الاسم "Category more if exists".
{{Category more if exists|xyx1234567 this page no exist}} produces: خطأ: لا توجد وحدة بهذا الاسم "Category more if exists".
Multiple link targets
{{Category more if exists|Spain|Japan|France}} produces: خطأ: لا توجد وحدة بهذا الاسم "Category more if exists".
{{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|Japan|France}} produces: خطأ: لا توجد وحدة بهذا الاسم "Category more if exists".
{{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|South Qwetryopitania}} produces: خطأ: لا توجد وحدة بهذا الاسم "Category more if exists".
{{Category more if exists|Planet G45401|Xyzabcdefistan}} produces: خطأ: لا توجد وحدة بهذا الاسم "Category more if exists".
TemplateData
Category more if exists
This templates adds a 'For more information, see ...' statement with a maximum of 5 linked Wiki pages. Each link can be labelled with a user-defined new text. If no label is defined, the link will display with its original page name.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| first link | 1 | First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename' | نص | مطلوب |
| second link | 2 | Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 can be added manually | نص | اختياري |
Redirects
See also
| The above documentation is transcluded from قالب:Category more if exists/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |