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