142:
33:
173:
211:
1040:
Creating a new subcategory is independent of the Expand language template, and one could always categorize an article into the subcategory the way any article is categorized, simply by adding the category between brackets to the end of the article. But to make subcategorization easier, the specific
440:
505:
479:
1162:
Topic codes that are not among the standard ten may be created for specific languages and associated with new subcategories as needed. Define a topic code, a topic name corresponding to the variable part of the subcategory name, and add it to the template
1328:
1050:
The association between topic code and topic name for a given language, and by extension between the topic code and the subcategory name, occurs in the wikicode of the specific language name templates, in particular, in the assignment of
771:
Adding a new topic goes hand in hand with creating a new subcategory in which to categorize articles needing expansion. The top level (and sometimes only) category for articles needing expansion for a given language follows this pattern:
980:
849:
640:
518:
427:
401:
371:
64:, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Knowledge (XXG).
466:
341:
453:
414:
492:
1041:
Expand language template for a given language will categorize the article into a subcategory automatically, if the correct association between topic code and topic name appears in the wikicode of the template.
1323:
531:
322:
249:
74:
761:
is needed. The suite of Expand language templates supports subcategorization into a number of pre-defined subcategories, and provides an easy way of indicating subcategorization by using the
1086:
to be used to categorize the article on which it appears into the associated subcategory requires this code to be set up correctly; if the wikicode does not already have it, you can copy the
786:
But the top level category can often grow to many hundreds or thousands of articles and that's too much for one category. In order to facilitate a better and more useful categorization, the
216:
This template may have no transclusions, because it is substituted by a tool or script, it is used as part of a short-term or less active
Knowledge (XXG) process, or for some other reason.
569:
suite of templates, and explains how to make a new subcategory available for use in a particular language template by use of a topic code. Editors may then employ the topic code in the
1198:
on the Talk page of the template concerned. In the Edit request, specify the topic code and subcategory name you wish to add. For example, you could say, "Please add new topic code
579:
template as shorthand for categorizing the article in which it appears into a subcategory associated with that topic code. If you've done this before, and just need a refresher, see
222:
This template may be used to mark articles that have counterparts in
Portuguese Knowledge (XXG) that are better than in English Knowledge (XXG). These articles may be improved by
1272:
1580:
157:
1629:
1634:
1613:
1576:
153:
1317:
765:
param in the template, instead of having to know about a complex set of category naming or remember the category names. This page explains how to do that.
1333:
161:
84:
Do not translate text that appears unreliable or low-quality. If possible, verify the text with references provided in the foreign-language article.
92:
1338:
1194:
This is a more advanced type of operation which requires some basic knowledge of template writing, so it may be easier to do this by adding an
862:
show what subcategories already exist under the top level category for a given language; for example, for
Portuguese, the topic code table is
281: – title of the article on Portuguese Knowledge (XXG). This defaults to the article linked to the English article via Wikidata.
1062:
which picks one of a number of topic codes and assigns it to the topic name. Some languages have no support for topic codes, for example,
1562:
1344:
1177:
in which the row for the topics table is defined. If the file exists, it is transcluded at the end of the table. For an example, see
1639:
197:
116:
105:
Content in this edit is translated from the existing
Portuguese Knowledge (XXG) article at ]; see its history for attribution.
1609:
1570:
149:
189:
921:
template, which will categorize the page on which it appears into a subcategory based on the associated topic name, e.g.,
720:
for "Sports". Associating a topic code with a subcategory name, and enabling its use to categorize articles on which the
1164:
1056:
653:
185:
1174:
1307:
869:
There are ten predefined topic codes that are conventionally available for addition to, and use by, any of the Expand
758:
594:
866:. The existing subcategories can be found by clicking (or mousing over) the topic names in column two of the table.
1195:
1292:
1280:
941:
859:
790:
743:
636:
621:
610:
563:
100:
1256:
223:
123:
1066:
193:
1218:
into subcategory 'Mountain articles needing translation from Nepali
Knowledge (XXG)' using the topic code
1206:
1185:
1095:
1076:
814:
804:
685:
1250:
836:
parameter, they imply (but do not automatically create) a subcategory of a specific name. For example:
1044:
Edit the specific Expand language template for the given language; for example, for
Portuguese: edit
1299:
1246:
1313:, may be added to the article page to request assistance after translation from a given language
1266:
1104:
To classify articles into the new subcategory, use a specific Expand language template with the
955:
define the subcategory name as a function of topic name and language name, using this pattern:
1566:
974:
and
Portuguese we have: Biography articles needing translation from Portuguese Knowledge (XXG)
96:
1262:
377:
Topics recognized by Expand
Portuguese and the categories they are associated with include:
1240:
693:
To use the new code, go to an article needing categorization into the new subcat, and add:
287: – changes notice to "This section may be expanded..." (default: 'article')
347:
Topic codes are expanded into fuller descriptors in the category name; for example: code
294:
1173:
To add the new code to the topic table in the doc page, create a /topics subpage, e.g.,
796:
suite of templates supports subcategorization into a number of subcategories using the
1243:, policy which governs copying and translating articles from other language Wikipedias
1623:
321:
This template categorizes articles into categories. Basic categorization is into: ⟶
112:{{Translated page|pt|Exact name of Portuguese article}}
44:
expand this article with text translated from the corresponding article in
Portuguese
728:
Creation of a category page with the appropriate subcategory name for the topic code
1329:
Category:Knowledge (XXG) articles needing cleanup after translation from
Portuguese
17:
646:
create the Category page for Portuguese using that name, and categorize it under
981:
Category:Biography articles needing translation from Portuguese Knowledge (XXG)
850:
Category:Biography articles needing translation from Portuguese Knowledge (XXG)
641:
Category:Biography articles needing translation from Portuguese Knowledge (XXG)
372:
Category:Geography articles needing translation from Portuguese Knowledge (XXG)
1131:
into the template call; it can go anywhere, but after the name is good, e.g.:
342:
Category:Featured articles needing translation from Portuguese Knowledge (XXG)
180:
749:
suite of templates automatically categorizes pages on which it appears into
260:
136:
103:
to the source of your translation. A model attribution edit summary is
633:
Biography articles needing translation from Portuguese Knowledge (XXG)
1324:
Category:Articles needing translation from Portuguese Knowledge (XXG)
648:
Category:Articles needing translation from Portuguese Knowledge (XXG)
323:
Category:Articles needing translation from Portuguese Knowledge (XXG)
250:
Category:Articles needing translation from Portuguese Knowledge (XXG)
848:
would categorize the article in which it appears into subcategory ⟶
735:
template associates the topic code with the right subcategory name.
184:
and changes may be widely noticed. Test changes in the template's
1341:, WikiProject for translating content from non-English Wikipedias
552:
click show to view details on adding new topics and subcategories
1318:
Random article needing expansion from Portuguese Knowledge (XXG)
306: – a topic code used in category name generation.
61:
559:
This section provides information about categorization in the
205:
167:
26:
1265:, a how-to page about how to copy and translate text from a
757:. For many languages, this category may grow too large, and
1222:." You can create the subcategory yourself, following the
631:
and the language name ("Portuguese", in this case) (e.g.,
1298:, may be added to the Talk page to provide supplemental
842:{{Expand Portuguese|topic=bio}}
73:
to this template: there are already 467 articles in the
1601:
1593:
1589:
800:
parameter of the language-specific templates, such as
1363:
This template prefers inline formatting of parameters.
1273:
Knowledge (XXG):Pages needing translation into English
1215:{{Expand Nepali|topic=mtn}}
620:
for the topic (e.g., 'Biography'; see col. 2 of the
259:
The template should be placed atop the article page
57:
1159:
Creating non-standard subcategories and topic codes
712:A topic code is just an abbreviation or word, like
1586:Editors can experiment in this template's sandbox
1082:, and others have something in between. To enable
832:(for 'Military'): when used as the value of the
297:in Portuguese; used in category name generation.
293: – used to tag articles that are
1223:
609:you wish to add (e.g., 'bio'; see col 1 of the
1334:Category:Knowledge (XXG) translation templates
863:
99:accompanying your translation by providing an
69:
48:Click for important translation instructions.
731:Ensuring that the wikicode of the particular
8:
1630:Expand by language Knowledge (XXG) templates
1350:
1253:when adding translated content to an article
1212:which should categorize articles containing
593:Here is a summary of the steps to add a new
248:This template adds articles to the category
1136:{{Expand Portuguese|John Doe
777:Category:Articles needing translation from
751:Category:Articles needing translation from
1635:Knowledge (XXG) transclusionless templates
1356:
1339:Knowledge (XXG):WikiProject Intertranswiki
1101:Classify articles into the new subcategory
985:Add the following text, and save the page:
547:
768:Categorizing articles needing translation
312: – set by bot if omitted.
1267:Knowledge (XXG) foreign language article
379:
1033:Enable subcategorization in the Expand
635:(click the topic name in col. 2 of the
597:and a new topic code to the table for
1178:
1128:
1105:
1091:
1083:
1052:
914:
833:
797:
762:
261:along with other maintenance templates
78:
1345:Knowledge (XXG):WikiProject Languages
1142:|date=September 2024}}
627:derive the subcategory name from the
196:. Consider discussing changes on the
7:
1090:statement that assigns the value of
1347:, general WikiProject for languages
1151:Added topic=bio to Expand template.
913:. Each code is recognized by param
724:appears has two main requirements:
253:
1153:"; Preview as needed, and Publish.
962:articles needing translation from
948:from column 2 of the table (e.g.,
543:Adding a new topic and subcategory
333:define subcategories, as follows:
25:
1175:Template:Expand Portuguese/topics
1072:; others have full support, like
1055:, which usually occurs within a
234:To mark an article, tag it with
209:
171:
140:
31:
584:
580:
1571:Template:Expand Portuguese/doc
1114:Edit the article and find the
226:from the original Portuguese.
181:approximately 2,200 pages
109:You may also add the template
1:
271:All parameters are optional:
1257:Knowledge (XXG):Translation
1149:Add an edit summary e.g., "
979:create the category, e.g.,
855:Topic codes and topic names
124:Knowledge (XXG):Translation
81:will aid in categorization.
1656:
1560:
1046:Template:Expand Portuguese
932:Creating a new subcategory
703:to the top of the article.
697:{{Expand Portuguese|topic=
661:Template:Expand Portuguese
599:Template:Expand Portuguese
56:Machine translation, like
1614:Subpages of this template
1369:
583:. Otherwise, skip to the
317:Topics and categorization
200:before implementing them.
192:subpages, or in your own
179:This template is used on
1640:Interconnected templates
990:
970:Example: for topic name
605:determine which missing
241:Portuguese article title
1300:translation attribution
1179:|topic=commune
733:{{Expand LanguageName}}
722:{{Expand LanguageName}}
441:Government and politics
361:Government and politics
122:For more guidance, see
1608:Add categories to the
1096:Template:Expand French
828:(for 'Biography') and
701:|date=September 2024}}
686:Template:Expand French
639:for an example; e.g.,
506:Building and structure
480:Science and technology
325:. Usage of parameters
243:|date=September 2024}}
145:Template documentation
873:templates. They are:
824:are defined, such as
663:template to include:
93:copyright attribution
1251:required attribution
716:for "Biography", or
310:|date=September 2024
239:{{Expand Portuguese|
1558:
1366:
1359:Template parameters
1129:|topic=bio
536:(11 C) 467
224:translating content
1357:
1355:
1308:Proofreader needed
1224:instructions above
944:and determine the
601:(details follow):
101:interlanguage link
18:Template:Expand pt
1557:
1556:
1382:
1351:
1286:, parent template
1231:
1230:
1119:Expand Portuguese
929:, and so forth).
759:subcategorization
680:(model after the
678:| bio = Biography
574:Expand Portuguese
540:
539:
295:featured articles
220:
219:
204:
203:
135:
134:
49:
16:(Redirected from
1647:
1605:
1597:
1584:
1540:
1517:
1499:
1496:
1491:Suggested values
1483:
1460:
1437:
1414:
1391:
1383:
1367:
1364:
1320:
1312:
1306:
1297:
1291:
1285:
1279:
1263:Help:Translation
1217:
1216:
1211:
1205:
1190:
1184:
1180:
1144:
1143:
1140:
1130:
1123:
1117:
1107:
1106:|topic=
1093:
1092:|topic=
1085:
1084:|topic=
1081:
1075:
1071:
1065:
1054:
1053:|topic=
1029:
1026:
1023:
1020:
1016:
1013:
1010:
1006:
1003:
1000:
997:
994:
973:
967:
951:
942:topic code table
916:
915:|topic=
860:topic code table
858:The rows in the
844:
843:
835:
834:|topic=
819:
813:
809:
803:
799:
798:|topic=
795:
789:
782:
764:
763:|topic=
756:
748:
742:
734:
723:
702:
679:
673:
649:
634:
578:
572:
568:
562:
548:
380:
369:
339:
332:
328:
311:
305:
292:
286:
280:
244:
213:
212:
206:
175:
174:
168:
165:
146:
144:
143:
114:
113:
106:
80:
79:|topic=
77:, and specifying
62:Google Translate
47:
35:
34:
27:
21:
1655:
1654:
1650:
1649:
1648:
1646:
1645:
1644:
1620:
1619:
1618:
1617:
1607:
1599:
1587:
1585:
1574:
1559:
1538:
1515:
1497:
1494:
1481:
1458:
1435:
1412:
1389:
1362:
1353:No description.
1316:
1310:
1304:
1295:
1293:Translated page
1289:
1283:
1281:Expand language
1277:
1237:
1232:
1214:
1213:
1209:
1203:
1188:
1182:
1160:
1138:
1135:
1134:
1121:
1115:
1102:
1089:
1079:
1073:
1069:
1063:
1038:
1031:
1030:
1027:
1024:
1021:
1018:
1014:
1011:
1008:
1004:
1001:
998:
995:
992:
971:
966:Knowledge (XXG)
958:
949:
933:
856:
841:
840:
817:
811:
807:
801:
793:
791:Expand language
787:
781:Knowledge (XXG)
776:
769:
755:Knowledge (XXG)
750:
746:
744:Expand language
740:
732:
721:
710:
699:topic code
696:
677:
674:; for example:
664:
647:
632:
591:
576:
570:
566:
564:Expand language
560:
553:
545:
392:
387:
367:
337:
330:
326:
319:
309:
300:
290:
284:
275:
269:
254:#Categorization
238:
232:
210:
172:
166:
147:
141:
139:
131:
130:
129:
111:
110:
104:
50:
36:
32:
23:
22:
15:
12:
11:
5:
1653:
1651:
1643:
1642:
1637:
1632:
1622:
1621:
1598:and testcases
1555:
1554:
1551:
1548:
1547:
1544:no description
1541:
1536:
1532:
1531:
1528:
1525:
1524:
1521:no description
1518:
1513:
1509:
1508:
1505:
1502:
1501:
1500:
1492:
1487:no description
1484:
1479:
1475:
1474:
1471:
1468:
1467:
1464:no description
1461:
1456:
1452:
1451:
1448:
1445:
1444:
1441:no description
1438:
1433:
1429:
1428:
1425:
1422:
1421:
1418:no description
1415:
1410:
1406:
1405:
1402:
1399:
1398:
1395:no description
1392:
1387:
1381:
1380:
1377:
1374:
1371:
1349:
1348:
1342:
1336:
1331:
1326:
1321:
1314:
1302:
1287:
1275:
1270:
1260:
1259:, general info
1254:
1244:
1236:
1233:
1229:
1228:
1158:
1157:
1156:
1155:
1154:
1147:
1146:
1145:
1125:
1100:
1087:
1067:Expand Chinese
1032:
991:
989:
988:
987:
986:
977:
976:
975:
968:
953:
931:
917:in the Expand
854:
846:
845:
784:
783:
767:
737:
736:
729:
708:
707:
706:
705:
704:
691:
690:
689:
650:
644:
625:
614:
589:
555:
554:
551:
546:
544:
541:
538:
537:
534:
529:
525:
524:
521:
516:
512:
511:
508:
503:
499:
498:
495:
490:
486:
485:
482:
477:
473:
472:
469:
464:
460:
459:
456:
451:
447:
446:
443:
438:
434:
433:
430:
425:
421:
420:
417:
412:
408:
407:
404:
399:
395:
394:
389:
384:
375:
374:
345:
344:
318:
315:
314:
313:
307:
298:
288:
282:
268:
265:
246:
245:
231:
228:
218:
217:
214:
202:
201:
176:
138:
137:
133:
132:
128:
127:
120:
107:
85:
82:
70:adding a topic
65:
54:
51:
41:
40:
39:
37:
30:
24:
14:
13:
10:
9:
6:
4:
3:
2:
1652:
1641:
1638:
1636:
1633:
1631:
1628:
1627:
1625:
1615:
1611:
1603:
1595:
1591:
1582:
1578:
1572:
1568:
1564:
1563:documentation
1552:
1549:
1546:
1545:
1542:
1537:
1534:
1533:
1529:
1526:
1523:
1522:
1519:
1514:
1511:
1510:
1506:
1503:
1493:
1490:
1489:
1488:
1485:
1480:
1477:
1476:
1472:
1469:
1466:
1465:
1462:
1457:
1454:
1453:
1449:
1446:
1443:
1442:
1439:
1434:
1431:
1430:
1426:
1423:
1420:
1419:
1416:
1411:
1408:
1407:
1403:
1400:
1397:
1396:
1393:
1388:
1385:
1384:
1378:
1375:
1372:
1368:
1365:
1360:
1354:
1346:
1343:
1340:
1337:
1335:
1332:
1330:
1327:
1325:
1322:
1319:
1315:
1309:
1303:
1301:
1294:
1288:
1282:
1276:
1274:
1271:
1269:into English.
1268:
1264:
1261:
1258:
1255:
1252:
1248:
1245:
1242:
1239:
1238:
1234:
1227:
1225:
1221:
1208:
1207:Expand Nepali
1201:
1197:
1192:
1187:
1186:Expand French
1176:
1171:
1169:
1167:
1152:
1148:
1141:
1133:
1132:
1126:
1120:
1113:
1112:
1111:
1110:
1109:
1099:
1097:
1078:
1077:Expand French
1068:
1061:
1059:
1048:
1047:
1042:
1036:
984:
983:
982:
978:
969:
965:
964:Language name
961:
957:
956:
954:
947:
943:
939:
935:
934:
930:
928:
924:
920:
912:
908:
904:
900:
896:
892:
888:
884:
880:
876:
872:
867:
865:
861:
853:
851:
839:
838:
837:
831:
827:
823:
816:
815:Expand German
806:
805:Expand French
792:
780:
775:
774:
773:
766:
760:
754:
745:
730:
727:
726:
725:
719:
715:
700:
695:
694:
692:
687:
683:
676:
675:
672:
668:
662:
658:
656:
651:
645:
642:
638:
630:
626:
623:
619:
615:
612:
608:
604:
603:
602:
600:
596:
588:
586:
582:
575:
565:
557:
556:
550:
549:
542:
535:
533:
532:Main category
530:
527:
526:
522:
520:
517:
514:
513:
509:
507:
504:
501:
500:
496:
494:
491:
488:
487:
483:
481:
478:
475:
474:
470:
468:
465:
462:
461:
457:
455:
452:
449:
448:
444:
442:
439:
436:
435:
431:
429:
426:
423:
422:
418:
416:
413:
410:
409:
405:
403:
400:
397:
396:
390:
385:
382:
381:
378:
373:
366:
365:
364:
362:
358:
354:
350:
343:
336:
335:
334:
324:
316:
308:
304:
299:
296:
289:
283:
279:
274:
273:
272:
266:
264:
262:
257:
255:
251:
242:
237:
236:
235:
229:
227:
225:
215:
208:
207:
199:
195:
191:
187:
183:
182:
177:
170:
169:
163:
159:
155:
151:
125:
121:
118:
108:
102:
98:
94:
90:
86:
83:
76:
75:main category
72:
71:
66:
63:
59:
55:
53:
52:
45:
42:You can help
38:
29:
28:
19:
1543:
1539:no interwiki
1535:no interwiki
1520:
1486:
1463:
1440:
1417:
1394:
1361:
1358:
1352:
1311:}}
1305:{{
1296:}}
1290:{{
1284:}}
1278:{{
1249:, describes
1219:
1210:}}
1204:{{
1199:
1196:Edit request
1193:
1189:}}
1183:{{
1172:
1165:
1161:
1150:
1137:
1122:}}
1118:
1116:{{
1103:
1080:}}
1074:{{
1070:}}
1064:{{
1057:
1049:
1045:
1043:
1039:
1035:LanguageName
1034:
963:
959:
952:⟶ Biography)
945:
937:
926:
922:
919:LanguageName
918:
910:
906:
902:
898:
894:
890:
886:
882:
878:
874:
871:LanguageName
870:
868:
857:
847:
829:
825:
821:
818:}}
812:{{
808:}}
802:{{
794:}}
788:{{
785:
779:LanguageName
778:
770:
753:LanguageName
752:
747:}}
741:{{
738:
717:
713:
711:
698:
681:
670:
666:
660:
654:
628:
622:Topics table
617:
606:
598:
592:
585:gory details
577:}}
573:
571:{{
567:}}
561:{{
558:
388:and category
376:
360:
356:
352:
348:
346:
320:
302:
285:|section=yes
277:
270:
258:
247:
240:
233:
221:
194:user subpage
178:
97:edit summary
88:
68:
43:
1567:transcluded
1373:Description
1191:template.
822:topic codes
652:Adjust the
611:topic table
595:subcategory
391:articles in
355:, and code
160:] [
156:] [
152:] [
1624:Categories
1561:The above
1139:|topic=bio
1025:CatAutoTOC
1007:Portuguese
960:Topic name
946:topic name
938:topic code
709:Background
688:if needed)
671:Topic name
667:topic code
629:topic name
618:topic name
607:topic code
590:Quickstart
581:Quickstart
386:topic name
383:topic code
267:Parameters
190:/testcases
1612:subpage.
1507:suggested
1370:Parameter
1247:WP:TFOLWP
1168:statement
1060:statement
972:Biography
940:from the
936:choose a
927:Biography
657:statement
616:find the
519:Transport
428:Geography
402:Biography
368:topic=geo
353:Geography
198:talk page
117:talk page
67:Consider
1553:optional
1530:optional
1473:optional
1450:optional
1427:optional
1404:optional
1235:See also
1124:template
1037:template
1002:language
996:Transcat
467:Military
393:category
359:becomes
351:becomes
186:/sandbox
91:provide
1592:|
1581:history
1579:|
1550:Unknown
1527:Unknown
1504:Unknown
1470:Unknown
1424:Unknown
1413:section
1409:section
1401:Unknown
1181:in the
1166:#switch
1108:param.
1088:#switch
1058:#switch
682:#switch
655:#switch
587:below.
476:scitech
454:History
415:Culture
301:|topic=
291:|fa=yes
278:ARTICLE
256:below.
158:history
115:to the
95:in the
1606:pages.
1602:create
1594:mirror
1590:create
1379:Status
1241:WP:CWW
1127:Paste
911:transp
909:, and
907:struct
820:. Ten
528:
515:transp
502:struct
493:Sports
338:fa=yes
252:. See
1569:from
1516:nodoc
1512:nodoc
1482:topic
1478:Topic
1094:from
1012:topic
903:sport
718:sport
637:table
489:sport
331:topic
303:TOPIC
230:Usage
164:]
162:purge
148:[
58:DeepL
1610:/doc
1577:edit
1447:Date
1436:date
1432:Date
1376:Type
891:hist
879:cult
864:here
739:The
659:in
450:hist
411:cult
329:and
154:edit
150:view
89:must
87:You
1565:is
1498:gov
1495:bio
1220:mtn
1202:to
1200:mtn
1170:.
1017:bio
950:bio
923:bio
899:sci
895:mil
887:gov
883:geo
875:bio
830:mil
826:bio
810:or
714:bio
684:in
523:205
510:186
463:mil
437:gov
432:360
424:geo
419:173
406:713
398:bio
357:gov
349:geo
276:|1=
188:or
60:or
46:.
1626::
1573:.
1459:fa
1455:fa
1226:.
1098:.
1028:}}
1022:{{
1019:}}
993:{{
925:⟶
905:,
901:,
897:,
893:,
889:,
885:,
881:,
877:,
852:.
669:=
665:|
497:18
471:13
458:28
445:46
370:⟶
363:.
340:⟶
327:fa
263:.
1616:.
1604:)
1600:(
1596:)
1588:(
1583:)
1575:(
1390:1
1386:1
1015:=
1009:|
1005:=
999:|
643:)
624:)
613:)
484:4
126:.
119:.
20:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.