Template:Cat in use
Vẻ ngoài
0
![文档图示](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This template checks whether a category is 'in use', checking various combinations of whether the category exists (is not a redlink) and is populated (has pages in it).
Cách dùng
- {{cat in use| Wikipedia }}→ 0
- {{cat in use| Avpoaihaw }}→ 0
The second parameter can be used ot say what kind of comparison is done:
- or– returns true if the category existsorhas members
- and– true if the category existsandhas members
- xor– true if the category exists but is empty, or if the category does not exist but has members (slighly wierd, admittedly:D)
Tham kiến
Kể trênHồ sơKhảm nhậpTựTemplate:Cat in use/doc.(Biên tập|Lịch sử) Người biên tập có thể ở bổn khuôn mẫu hộp cát(Sáng tạo|Cảnh trong gương)Cùng thí nghiệm dạng lệ(Sáng tạo)Giao diện tiến hành thực nghiệm. Thỉnh ở/docTử giao diện trung tăng thêm phân loại.Bổn khuôn mẫu tử giao diện. |