32:
385:
63:
428:
415:
402:
480:. Pages can be removed from the tracking categories by correcting the local link; removing misplaced template uses; fixing the sitelinks on Wikidata; or expanding the category system on Commons. Ideally there should be one Commons category link per article, and it should be easy for readers to identify the related content on Commons. Some suggested approaches are:
132:
will attempt to fix or remove links to non-existent categories. In articles, this template should be placed at the top of the last section on the page so that it floats to the right of that section. A warning will appear if the
Commons link is not on Wikidata.
340:" prefix. If this first parameter is used, then the template will display the Commons category name, which may be confusing to readers. This text can be overridden by the second parameter, where the Knowledge page name would typically be used.
332:(1 & 2) are optional, and are intended for cases where the Commons category name is different from the Knowledge page name. The first parameter is the name of the corresponding category on the Wikimedia Commons,
603:
This template creates a small box containing a link to a category on
Commons. If no value is provided the Commons category value from Wikidata is used, and if none was provided there then the page name is
467:
In categories, this template should be grouped with other templates at the beginning of the category introduction. This avoids unnecessary white space as any text is floated around the template boxes.
641:
The name of the
Commons category this template will link to. If no value is provided the Commons category value from Wikidata is used, and if none was provided there then the page name is used.
1227:
549:
388:
If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different
476:
This template compares locally-defined values against the interwiki links to
Commons stored on Wikidata. The discrepancies are highlighted through the addition of
1238:
1223:
1211:
555:
47:
1250:
1207:
561:
43:
452:
1266:
536:
99:
530:
122:
repository that corresponds to the article or category. If the
Commons category name is misspelled or missing, the link will still appear "
126:" even though the link will fail. Check the existence of the category on Commons as well as the spelling of names carefully. That said,
664:
The text that the link will display to the user. If no value is provided it will default to category name or page name, in that order.
1271:
873:
51:
687:
When set to 'left', the template will be positioned on the left side of the page. Otherwise it will default to the right side.
70:
586:
1276:
953:
17:
1233:
1016:
976:
106:
81:
965:
997:
1218:
77:
1193:
917:
358:
354:
929:
857:
461:
89:
493:
Or if there aren't any images connected to the article on
Commons, could the Commons category link be removed?
1246:
1201:
1009:
941:
39:
372:, that moves the box to the left side, instead of the default right side. More information may be found at
578:
1139:
1118:
1181:
1160:
1097:
846:
1076:
1034:
780:
769:
88:. The tested changes can be added to this page in a single edit. Consider discussing changes on the
1055:
835:
893:
988:
582:
574:
85:
155:
1129:
1108:
813:
76:
To avoid major disruption and server load, any changes should be tested in the template's
8:
1171:
1150:
1087:
824:
1066:
1024:
501:
Could they be replaced by a single
Commons category that has the rest as subcategories?
384:
146:
137:
1197:
1045:
373:
164:
119:
881:
422:
Do not place this template in a section containing columns without floating left.
123:
448:
of the last section on the page so that it floats to the right of that section.
758:
350:{{Commons category|Ursus maritimus|Polar bears}}
1260:
802:
409:
Do not place this template in a section all by itself without floating left.
26:
487:
Is there a more specific
Commons category that could be linked to instead?
791:
267:
Floats link-box to the left side, as option to align box to left-margin
344:
435:
Do not indent this template with colon (:) or a bullet (*) markup.
98:"Template:CC" redirects here. For Creative Commons templates, see
490:
If not, could it be created with images connected to the article?
71:
approximately 868,000 pages, or roughly 1% of all pages
511:
The
Commons category links back to the wrong Knowledge article:
515:
Can you move the sitelink to the
Wikidata item for the article?
497:
There are links to multiple Commons categories in the article:
194:
Fetches the Commons sitelink from Wikidata (where available)
550:
Category:Commons category link is defined as the pagename
464:, this template is usually placed at the top of the page.
453:
Knowledge:Wikimedia sister projects#Where to place links
874:
Knowledge:Manual of Style/Layout § External links
483:
The link is to a more general topic than the article:
284:
Stops the text of the Commons category from wrapping
128:
710:
Stops the text of the Commons category from wrapping
444:In articles, this template should be placed at the
947:—shows Commons box with both gallery and category
556:Category:Commons category link is locally defined
507:Are they all necessary, or could they be removed?
1258:
118:}} links to a "Category:" name in the
982:—specialized soft redirect template for Commons
562:Category:Commons category link is the pagename
537:Category:Commons category link is on Wikidata
504:Do all of the Commons categories still exist?
100:Category:Creative Commons copyright templates
531:Category:Commons category link from Wikidata
593:in articles based on its TemplateData.
477:
1217:Editors can experiment in this template's
959:—shows Commons gallery and category inline
471:
29:
994:—to link to a gallery hosted on Knowledge
543:
383:
301:Displays the first letter as lower-case
733:Displays the first letter as lower-case
14:
1259:
519:
455:for more information and alternatives.
1267:Interwiki category linking templates
587:See a monthly parameter usage report
524:
318:Turn off italics for displayed text
57:
1015:—to link all Wikinews, Wikisource,
24:
25:
1288:
998:mw:Manual:Pywikibot/commonscat.py
741:
718:
695:
672:
649:
596:TemplateData for Commons category
1272:Interwiki link sidebar templates
426:
413:
400:
355:Commons:Category:Ursus maritimus
243:Puts link-box showing the title
61:
30:
568:
215:Puts link-box connecting title
923:—shows Commons category inline
13:
1:
1202:Template:Commons category/doc
935:—to list up to six categories
899:—shows Commons gallery inline
749:
7:
1277:Wikimedia Commons templates
954:Commons and category inline
911:—shows Commons category box
866:
379:
10:
1293:
1191:
977:Wikimedia Commons redirect
577:for this template used by
135:
104:
97:
1251:Subpages of this template
966:Copy to Wikimedia Commons
615:
591:Template:Commons category
107:Wikimedia sister projects
105:This template is part of
92:before implementing them.
84:subpages, or in your own
69:This template is used on
174:
918:Commons category-inline
472:Resolving discrepancies
370:|position=left
1245:Add categories to the
930:Commons category multi
544:Maintenance categories
478:maintenance categories
393:
35:Template documentation
858:Wikimedia commons cat
387:
260:|position=left}}
1010:Sister project links
942:Commons and category
462:disambiguation pages
343:For example, on the
18:Template:Commons cat
747:
612:
610:Template parameters
520:Tracking categories
368:accepts one value,
366:|position=
353:produces a link to
324:The two parameters
294:|lcfirst=yes}}
1140:Wikiversity inline
1119:Wikispecies-inline
887:—shows Commons box
608:
606:
600:
394:
277:|nowrap=yes}}
1182:Wiktionary-inline
1161:Wikivoyage inline
1098:Wikisource-inline
847:Commonsimages cat
746:
745:
628:
601:
585:and other tools.
525:Normal categories
374:Template:Side box
322:
321:
311:|italic=no}}
120:Wikimedia Commons
96:
95:
16:(Redirected from
1284:
1242:
1231:
1215:
1186:
1180:
1176:
1170:
1165:
1159:
1155:
1149:
1144:
1138:
1134:
1128:
1123:
1117:
1113:
1107:
1102:
1096:
1092:
1086:
1081:
1077:Wikiquote-inline
1075:
1071:
1065:
1060:
1054:
1050:
1044:
1039:
1035:Wikibooks inline
1033:
1029:
1023:
1014:
1008:
993:
987:
981:
975:
970:
964:
958:
952:
946:
940:
934:
928:
922:
916:
910:
906:Commons category
904:
898:
892:
886:
880:
862:
856:
851:
845:
840:
834:
829:
823:
818:
812:
807:
801:
796:
790:
785:
781:Category Commons
779:
774:
770:Category commons
768:
763:
757:
729:
706:
683:
660:
637:
629:
613:
607:
433:
430:
429:
420:
417:
416:
407:
404:
403:
371:
367:
352:
351:
339:
312:
309:Commons category
295:
292:Commons category
278:
275:Commons category
261:
254:Commons category
237:
226:Commons category
209:
202:Commons category
188:
185:Commons category
179:
178:
167:
158:
149:
131:
115:Commons category
65:
64:
58:
55:
36:
34:
33:
21:
1292:
1291:
1287:
1286:
1285:
1283:
1282:
1281:
1257:
1256:
1255:
1254:
1244:
1236:
1221:
1216:
1205:
1190:
1189:
1184:
1178:
1174:
1168:
1163:
1157:
1153:
1147:
1142:
1136:
1132:
1126:
1121:
1115:
1111:
1105:
1100:
1094:
1090:
1084:
1079:
1073:
1069:
1063:
1058:
1056:Wikinews inline
1052:
1048:
1042:
1037:
1031:
1027:
1021:
1012:
1006:
1002:
991:
985:
979:
973:
968:
962:
956:
950:
944:
938:
932:
926:
920:
914:
908:
902:
896:
890:
884:
878:
869:
860:
854:
849:
843:
838:
836:Commonscategory
832:
827:
821:
816:
810:
805:
799:
794:
788:
783:
777:
772:
766:
761:
755:
752:
727:
704:
681:
658:
635:
599:
571:
546:
539: (626,190)
533: (410,649)
527:
522:
474:
431:
427:
418:
414:
405:
401:
390:sister template
382:
369:
365:
349:
348:
337:
306:
289:
272:
251:
223:
199:
182:
177:
172:
171:
163:
154:
145:
140:
127:
110:
103:
75:
62:
56:
37:
31:
23:
22:
15:
12:
11:
5:
1290:
1280:
1279:
1274:
1269:
1188:
1187:
1166:
1145:
1124:
1103:
1082:
1061:
1040:
1019:
1003:
1001:
1000:
995:
983:
971:
960:
948:
936:
924:
912:
900:
894:Commons-inline
888:
876:
870:
868:
865:
864:
863:
852:
841:
830:
819:
808:
797:
786:
775:
764:
751:
748:
744:
743:
740:
737:
736:
730:
725:
721:
720:
717:
714:
713:
707:
702:
698:
697:
694:
691:
690:
684:
679:
675:
674:
671:
668:
667:
661:
656:
655:Displayed text
652:
651:
648:
645:
644:
638:
633:
627:
626:
623:
620:
617:
579:TemplateWizard
572:
570:
567:
566:
565:
559:
558: (19,254)
553:
545:
542:
541:
540:
534:
526:
523:
521:
518:
517:
516:
509:
508:
505:
502:
495:
494:
491:
488:
473:
470:
469:
468:
465:
458:
457:
456:
440:Specifically:
438:
437:
424:
411:
381:
378:
364:The parameter
357:displayed as "
320:
319:
316:
313:
303:
302:
299:
296:
286:
285:
282:
279:
269:
268:
265:
262:
248:
247:
241:
238:
220:
219:
213:
210:
196:
195:
192:
189:
176:
173:
170:
169:
160:
151:
141:
136:
94:
93:
66:
28:
27:
9:
6:
4:
3:
2:
1289:
1278:
1275:
1273:
1270:
1268:
1265:
1264:
1262:
1252:
1248:
1240:
1235:
1229:
1225:
1220:
1213:
1209:
1203:
1199:
1195:
1194:documentation
1183:
1173:
1167:
1162:
1152:
1146:
1141:
1131:
1125:
1120:
1110:
1104:
1099:
1089:
1083:
1078:
1068:
1062:
1057:
1047:
1041:
1036:
1026:
1020:
1018:
1011:
1005:
1004:
999:
996:
990:
989:Wiki category
984:
978:
972:
967:
961:
955:
949:
943:
937:
931:
925:
919:
913:
907:
901:
895:
889:
883:
877:
875:
872:
871:
859:
853:
848:
842:
837:
831:
826:
820:
815:
809:
804:
798:
793:
787:
782:
776:
771:
765:
760:
754:
753:
738:
735:
734:
731:
726:
723:
722:
715:
712:
711:
708:
703:
700:
699:
692:
689:
688:
685:
680:
677:
676:
669:
666:
665:
662:
657:
654:
653:
646:
643:
642:
639:
634:
632:Category name
631:
630:
624:
621:
618:
614:
611:
605:
598:
597:
592:
588:
584:
580:
576:
564: (1,184)
563:
560:
557:
554:
552: (1,916)
551:
548:
547:
538:
535:
532:
529:
528:
514:
513:
512:
506:
503:
500:
499:
498:
492:
489:
486:
485:
484:
481:
479:
466:
463:
459:
454:
450:
449:
447:
443:
442:
441:
436:
425:
423:
412:
410:
399:
398:
397:
391:
386:
377:
375:
362:
360:
356:
346:
341:
335:
331:
327:
317:
314:
310:
305:
304:
300:
297:
293:
288:
287:
283:
280:
276:
271:
270:
266:
263:
259:
255:
250:
249:
246:
242:
239:
235:
231:
227:
222:
221:
218:
214:
211:
207:
203:
198:
197:
193:
190:
186:
181:
180:
166:
161:
157:
152:
148:
143:
142:
139:
134:
130:
125:
121:
117:
116:
108:
101:
91:
87:
83:
79:
73:
72:
67:
60:
59:
53:
49:
45:
41:
19:
1185:}}
1179:{{
1175:}}
1169:{{
1164:}}
1158:{{
1154:}}
1148:{{
1143:}}
1137:{{
1133:}}
1127:{{
1122:}}
1116:{{
1112:}}
1106:{{
1101:}}
1095:{{
1091:}}
1085:{{
1080:}}
1074:{{
1070:}}
1064:{{
1059:}}
1053:{{
1049:}}
1043:{{
1038:}}
1032:{{
1028:}}
1022:{{
1013:}}
1007:{{
992:}}
986:{{
980:}}
974:{{
969:}}
963:{{
957:}}
951:{{
945:}}
939:{{
933:}}
927:{{
921:}}
915:{{
909:}}
905:
903:{{
897:}}
891:{{
885:}}
879:{{
861:}}
855:{{
850:}}
844:{{
839:}}
833:{{
828:}}
822:{{
817:}}
811:{{
806:}}
800:{{
795:}}
789:{{
784:}}
778:{{
773:}}
767:{{
762:}}
756:{{
732:
709:
686:
663:
640:
609:
602:
595:
594:
590:
583:VisualEditor
575:TemplateData
573:This is the
569:TemplateData
510:
496:
482:
475:
445:
439:
434:
421:
408:
395:
389:
363:
342:
333:
329:
325:
323:
308:
291:
274:
257:
253:
244:
233:
229:
225:
216:
205:
201:
184:
168:}}
162:{{
159:}}
153:{{
150:}}
144:{{
114:
113:
112:{{
111:
86:user subpage
68:
1198:transcluded
1130:Wikiversity
1109:Wikispecies
814:Commons cat
619:Description
396:Generally:
359:Polar bears
50:] [
46:] [
42:] [
1261:Categories
1192:The above
1172:Wiktionary
1151:Wikivoyage
1088:Wikisource
825:Commonscat
345:Polar bear
156:Commonscat
82:/testcases
1249:subpage.
1234:testcases
1067:Wikiquote
1025:Wikibooks
750:Redirects
616:Parameter
338:Category:
138:Shortcuts
90:talk page
1046:Wikinews
867:See also
742:optional
719:optional
696:optional
682:position
678:Position
673:optional
650:optional
380:Location
330:showname
245:showname
234:showname
78:/sandbox
1226:|
1219:sandbox
1212:history
1210:|
882:Commons
728:lcfirst
724:lcfirst
334:without
326:catname
258:catname
230:catname
217:catname
206:catname
48:history
1243:pages.
739:String
716:String
705:nowrap
701:nowrap
693:String
670:String
647:String
625:Status
347:page,
256:|
232:|
228:|
204:|
129:Pi bot
1200:from
759:C cat
604:used.
336:the "
175:Usage
54:]
52:purge
38:[
1247:/doc
1239:edit
1232:and
1228:diff
1224:edit
1208:edit
1017:etc.
803:Ccat
622:Type
589:for
451:See
328:and
147:Ccat
124:blue
44:edit
40:view
1196:is
460:In
446:top
361:".
80:or
1263::
1204:.
1177:/
1156:/
1135:/
1114:/
1093:/
1072:/
1051:/
1030:/
792:Cc
581:,
376:.
307:{{
290:{{
273:{{
252:{{
236:}}
224:{{
208:}}
200:{{
187:}}
183:{{
165:Cc
1253:.
1241:)
1237:(
1230:)
1222:(
1214:)
1206:(
659:2
636:1
432:N
419:N
406:N
392:.
315:–
298:–
281:–
264:–
240:–
212:–
191:–
109:.
102:.
74:.
20:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.