660:
31:
2119:
1021:
1935:
1440:
179:
2052:
763:
1345:
1184:
1778:
1714:
174:
Make the three most frequently encountered editing fields also use this font stack: the main editing window, the edit summary line, and the search entry box.
1601:
1542:
732:
1397:
1275:
756:
1960:
1833:
1355:
2034:
1902:
1887:
1392:
1270:
1328:
1194:
1914:
1768:
1763:
1522:
791:
1977:
1870:
1333:
749:
47:
1907:
1838:
1702:
1527:
1402:
667:
This is a documentation snippet page transcluded (without the banner or this doc section) into other template documentation, and into
1370:
2072:
1683:
1596:
795:
2067:
2045:
1631:
863:
2135:
934:
2084:
2040:
1897:
1892:
1608:
1265:
1503:
2079:
1860:
1692:
1547:
1387:
1040:
941:
829:
1147:
2057:
1865:
1668:
1435:
824:
39:
1365:
62:
You can consistently use a monospaced font with well-designed characters for coding (e.g., to distinguish clearly between
1360:
917:
1843:
1152:
2027:
1945:
1450:
1050:
1016:
123:
1753:
1157:
1658:
1618:
1532:
989:
1678:
1651:
1508:
1803:
1562:
1011:
819:
809:
1462:
1457:
885:
137:, should that font go missing or not have characters you need) to all the normally monospaced HTML elements like
103:
1855:
1719:
946:
873:
1709:
1486:
1243:
1132:
649:
1992:
984:
1414:
1204:
1189:
1087:
929:
1940:
1697:
922:
1783:
1409:
1248:
1033:
1997:
1788:
1626:
1567:
900:
787:
51:
1758:
1493:
895:
1481:
1375:
783:
706:
Have monospaced templates in this group – and your editing window – use your preferred monospaced font:
1537:
1474:
1209:
1097:
1065:
963:
1987:
1982:
1850:
1955:
1828:
1253:
1060:
999:
1972:
1967:
1818:
1663:
1641:
1340:
1055:
645:
1793:
1216:
1162:
1028:
880:
846:
2010:
2005:
1882:
1307:
1731:
1591:
1574:
1430:
974:
951:
890:
851:
1950:
1823:
1082:
1813:
1382:
1282:
1142:
1726:
1557:
868:
799:
2062:
1877:
1673:
1292:
1287:
1199:
1120:
1075:
994:
841:
736:
668:
565:
element – which has been discouraged since the 1990s, and should usually be replaced with
46:
It explains concepts or processes used by the
Knowledge (XXG) community. It is not one of
178:
If you know of an additional class to add here, please update this page or mention it on
1584:
1092:
1070:
905:
856:
772:
2129:
1636:
1517:
1445:
1350:
1169:
1115:
1107:
979:
912:
1919:
1174:
1127:
836:
151:
17:
133:
Apply a consistent monospace font of your choice (and the fallback system-default
1045:
159:
112:
1646:
1579:
1469:
1323:
1318:
1179:
577:(this may vary by context) – you can add something like the following to your
118:
If you don't want to manually add this code to your CSS page but would rather
1260:
1238:
1230:
1226:
1137:
741:
654:
1552:
1297:
1006:
167:
Do the same for additional site-wide classes (as identified so far, e.g.
731:
It can also be used as a stand-alone how-to page; a redirect to it,
735:, is categorized as such. It is also transcluded as a section, at
1741:
115:
was picked as a freely-available coding font for this example).
745:
1745:
25:
101:
Add something like one of the code snippets below into your
2112:
2104:
2100:
737:
Help:User style#User CSS for a monospaced coding font
1928:
1802:
1740:
1617:
1502:
1423:
1306:
1225:
1106:
962:
808:
2097:Editors can experiment in this template's sandbox
483:/* Make some of the editable stuff monospaced */
303:/* Make some of the editable stuff monospaced */
553:If you'd like to help clean up instances of the
757:
671:, for consistency. It takes no parameters.
648:. For CSS you can just import for this, see
111:with whatever your preferred coding font is (
8:
679:== User CSS for a monospaced coding font ==
375:/* Use my font, when available, for code */
192:/* Use my font, when available, for code */
2035:Category:Knowledge (XXG) information pages
764:
750:
742:
733:Help:User CSS for a monospaced coding font
714:Mxt/User CSS for a monospaced coding font
108:
48:Knowledge (XXG)'s policies or guidelines
156:and other monospaced templates in the
7:
148:Do the same for the classes used by
50:, and may reflect varying levels of
1774:User CSS for monospaced coding font
1022:Non-admin and admin-only page moves
641:
637:
633:
582:
566:
554:
142:
138:
124:meta:User:SMcCandlish/codefont.css
24:
129:This code will do the following:
1715:Bug reports and feature requests
658:
29:
2028:Category:Knowledge (XXG) how-to
1543:Template sandbox and test cases
782:Get personal technical help at
594:/* Flag bad code for cleanup */
773:Knowledge (XXG) technical help
650:meta:User:SMcCandlish/lint.css
1:
589:stick out like a sore thumb:
1398:How to improve image quality
1276:Complete diff and link guide
1834:Cleaning up vandalism tools
1720:TimedMediaHandler extension
1356:Preparing images for upload
171:) that output as monospace.
2152:
2096:
1920:Beta Features at MediaWiki
1393:Basic bitmap image editing
1271:Simple diff and link guide
632:You can also do this with
2120:Subpages of this template
2021:
1195:Advanced table formatting
779:
104:Special:MyPage/common.css
1915:Wikimedia Cloud Services
1769:Common.js and common.css
1764:Catalogue of CSS classes
1523:Advanced template coding
1366:Options to hide an image
792:village pump (technical)
676:
591:
372:
189:
126:for quick instructions.
2136:Documentation templates
2039:Further navigation at:
1779:Classes in microformats
1334:Moving files to Commons
1153:Conditional expressions
528:"Roboto Mono"
465:"Roboto Mono"
348:"Roboto Mono"
285:"Roboto Mono"
1839:Customizing watchlists
1754:Cascading Style Sheets
1528:Template documentation
1403:Graphics Lab resources
1346:Introduction to images
1158:Switch parser function
663:Template documentation
1652:File description page
1371:Extended image syntax
122:(transclude) it, see
1903:Navigation shortcuts
1888:Alternative browsing
886:Multilingual support
864:How to create a page
38:This help page is a
1609:Guide to Scribbling
1487:EasyTimeline syntax
1266:Simplest diff guide
1133:Line-break handling
646:deprecated elements
1602:Costs and benefits
1548:Citation templates
1415:Visual file markup
1388:Graphics tutorials
1329:Creation and usage
1205:Conditional tables
1088:User contributions
1029:Notifications/Echo
942:User access levels
930:Special Characters
830:Keyboard shortcuts
420:userlinks-username
237:userlinks-username
2093:
2092:
2073:Citation metadata
1978:Navigation popups
1936:AfC helper script
1929:Automated editing
1784:Markup validation
1669:Project/Wikipedia
1436:Graphs and charts
1410:Sound file markup
1312:videos and sounds
1175:Sections and TOCs
975:Special page help
60:
59:
2143:
2116:
2108:
1908:Optimum tool set
1759:HTML in wikitext
1703:User page design
1494:WikiHiero syntax
1361:Uploading images
1351:Picture tutorial
918:Software notices
896:Page information
766:
759:
752:
743:
727:
724:
721:
718:
715:
712:
709:
705:
702:
699:
695:
692:
689:
686:
683:
680:
664:
662:
661:
643:
639:
635:
628:
625:
622:
619:
616:
613:
610:
607:
604:
601:
598:
595:
588:
586:
580:
576:
574:
571:>...</
570:
564:
562:
559:>...</
558:
544:
541:
538:
535:
532:
529:
526:
523:
520:
517:
514:
511:
508:
505:
502:
499:
496:
493:
490:
487:
484:
481:
478:
475:
472:
469:
466:
463:
460:
457:
454:
451:
448:
445:
442:
439:
436:
433:
430:
427:
424:
421:
418:
415:
412:
409:
406:
403:
400:
397:
394:
391:
388:
385:
382:
379:
376:
364:
361:
358:
355:
352:
349:
346:
343:
340:
337:
334:
331:
328:
325:
322:
319:
316:
313:
310:
307:
304:
301:
298:
295:
292:
289:
286:
283:
280:
277:
274:
271:
268:
265:
262:
259:
256:
253:
250:
247:
244:
241:
238:
235:
232:
229:
226:
223:
220:
217:
214:
211:
208:
205:
202:
199:
196:
193:
186:Horizontal style
170:
163:
155:
144:
140:
136:
121:
107:page, replacing
106:
97:
93:
89:
85:
81:
77:
73:
69:
65:
33:
32:
26:
2151:
2150:
2146:
2145:
2144:
2142:
2141:
2140:
2126:
2125:
2124:
2123:
2118:
2110:
2098:
2095:
2094:
2089:
2038:
2017:
1946:AutoWikiBrowser
1924:
1806:
1798:
1736:
1613:
1597:Labeled section
1538:Template limits
1507:
1498:
1475:Musical symbols
1451:To scale charts
1419:
1311:
1302:
1221:
1210:Sortable tables
1102:
1098:What links here
1066:Related changes
1051:Pending changes
1017:History merging
1000:Reset passwords
965:
958:
811:
804:
775:
770:
729:
728:
725:
723:collapse bottom
722:
719:
716:
713:
710:
707:
703:
700:
697:
693:
690:
687:
684:
681:
678:
674:Typical usage:
669:Help:User style
665:
659:
657:
630:
629:
626:
623:
620:
617:
614:
611:
608:
605:
602:
599:
596:
593:
584:
578:
572:
568:
560:
556:
549:Cleanup efforts
546:
545:
542:
539:
536:
533:
530:
527:
524:
521:
518:
515:
512:
509:
506:
503:
500:
497:
494:
491:
488:
485:
482:
479:
476:
473:
470:
467:
464:
461:
458:
455:
452:
449:
446:
443:
440:
437:
434:
431:
428:
425:
422:
419:
416:
413:
410:
407:
404:
401:
398:
395:
392:
389:
386:
383:
380:
377:
374:
366:
365:
362:
359:
356:
353:
350:
347:
344:
341:
338:
335:
332:
329:
326:
323:
320:
317:
314:
311:
308:
305:
302:
299:
296:
293:
290:
287:
284:
281:
278:
275:
272:
269:
266:
263:
260:
257:
254:
251:
248:
245:
242:
239:
236:
233:
230:
227:
224:
221:
218:
215:
212:
209:
206:
203:
200:
197:
194:
191:
168:
157:
149:
134:
119:
110:
102:
95:
91:
87:
83:
79:
75:
71:
67:
63:
56:
55:
44:
30:
22:
21:
20:
12:
11:
5:
2149:
2147:
2139:
2138:
2128:
2127:
2109:and testcases
2091:
2090:
2088:
2087:
2082:
2077:
2076:
2075:
2065:
2060:
2055:
2050:
2049:
2048:
2046:Administrators
2031:
2022:
2019:
2018:
2016:
2015:
2014:
2013:
2008:
2000:
1995:
1990:
1985:
1980:
1975:
1970:
1965:
1964:
1963:
1958:
1948:
1943:
1938:
1932:
1930:
1926:
1925:
1923:
1922:
1917:
1912:
1911:
1910:
1905:
1900:
1895:
1890:
1880:
1875:
1874:
1873:
1868:
1863:
1853:
1848:
1847:
1846:
1836:
1831:
1829:Citation tools
1826:
1821:
1816:
1810:
1808:
1800:
1799:
1797:
1796:
1791:
1786:
1781:
1776:
1771:
1766:
1761:
1756:
1750:
1748:
1738:
1737:
1735:
1734:
1729:
1724:
1723:
1722:
1717:
1707:
1706:
1705:
1695:
1690:
1689:
1688:
1687:
1686:
1671:
1666:
1661:
1656:
1655:
1654:
1644:
1639:
1634:
1629:
1623:
1621:
1619:Data structure
1615:
1614:
1612:
1611:
1606:
1605:
1604:
1599:
1589:
1588:
1587:
1577:
1572:
1571:
1570:
1565:
1555:
1550:
1545:
1540:
1535:
1533:Template index
1530:
1525:
1520:
1514:
1512:
1500:
1499:
1497:
1496:
1491:
1490:
1489:
1479:
1478:
1477:
1470:Musical scores
1467:
1466:
1465:
1455:
1454:
1453:
1448:
1443:
1433:
1427:
1425:
1424:Other graphics
1421:
1420:
1418:
1417:
1412:
1407:
1406:
1405:
1400:
1395:
1385:
1380:
1379:
1378:
1373:
1368:
1363:
1358:
1353:
1348:
1338:
1337:
1336:
1331:
1321:
1315:
1313:
1310:files: images,
1304:
1303:
1301:
1300:
1295:
1290:
1285:
1280:
1279:
1278:
1273:
1268:
1258:
1257:
1256:
1251:
1246:
1235:
1233:
1223:
1222:
1220:
1219:
1214:
1213:
1212:
1207:
1202:
1197:
1192:
1187:
1177:
1172:
1167:
1166:
1165:
1160:
1155:
1150:
1140:
1135:
1130:
1125:
1124:
1123:
1112:
1110:
1104:
1103:
1101:
1100:
1095:
1090:
1085:
1080:
1079:
1078:
1068:
1063:
1061:Recent changes
1058:
1053:
1048:
1043:
1038:
1037:
1036:
1026:
1025:
1024:
1019:
1009:
1004:
1003:
1002:
992:
990:Emailing users
987:
982:
977:
971:
969:
960:
959:
957:
956:
955:
954:
944:
939:
938:
937:
927:
926:
925:
915:
910:
909:
908:
898:
893:
888:
883:
878:
877:
876:
866:
861:
860:
859:
854:
849:
844:
834:
833:
832:
827:
816:
814:
812:technical help
806:
805:
780:
777:
776:
771:
769:
768:
761:
754:
746:
677:
656:
655:
642:<strike>
638:<center>
592:
373:
369:Vertical style
190:
176:
175:
172:
165:
146:
82:, and between
74:, and between
58:
57:
45:
36:
34:
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
2148:
2137:
2134:
2133:
2131:
2121:
2114:
2106:
2102:
2086:
2083:
2081:
2078:
2074:
2071:
2070:
2069:
2066:
2064:
2061:
2059:
2056:
2054:
2053:Accessibility
2051:
2047:
2044:
2043:
2042:
2037:
2036:
2032:
2030:
2029:
2024:
2023:
2020:
2012:
2009:
2007:
2004:
2003:
2001:
1999:
1996:
1994:
1991:
1989:
1986:
1984:
1981:
1979:
1976:
1974:
1971:
1969:
1966:
1962:
1959:
1957:
1954:
1953:
1952:
1949:
1947:
1944:
1942:
1939:
1937:
1934:
1933:
1931:
1927:
1921:
1918:
1916:
1913:
1909:
1906:
1904:
1901:
1899:
1898:Editing tools
1896:
1894:
1893:Browser tools
1891:
1889:
1886:
1885:
1884:
1881:
1879:
1876:
1872:
1869:
1867:
1864:
1862:
1859:
1858:
1857:
1854:
1852:
1849:
1845:
1842:
1841:
1840:
1837:
1835:
1832:
1830:
1827:
1825:
1822:
1820:
1817:
1815:
1812:
1811:
1809:
1805:
1804:Customisation
1801:
1795:
1794:Useful styles
1792:
1790:
1787:
1785:
1782:
1780:
1777:
1775:
1772:
1770:
1767:
1765:
1762:
1760:
1757:
1755:
1752:
1751:
1749:
1747:
1743:
1739:
1733:
1730:
1728:
1725:
1721:
1718:
1716:
1713:
1712:
1711:
1708:
1704:
1701:
1700:
1699:
1696:
1694:
1691:
1685:
1682:
1681:
1680:
1677:
1676:
1675:
1672:
1670:
1667:
1665:
1662:
1660:
1657:
1653:
1650:
1649:
1648:
1645:
1643:
1640:
1638:
1635:
1633:
1630:
1628:
1625:
1624:
1622:
1620:
1616:
1610:
1607:
1603:
1600:
1598:
1595:
1594:
1593:
1590:
1586:
1583:
1582:
1581:
1578:
1576:
1573:
1569:
1566:
1564:
1561:
1560:
1559:
1556:
1554:
1551:
1549:
1546:
1544:
1541:
1539:
1536:
1534:
1531:
1529:
1526:
1524:
1521:
1519:
1516:
1515:
1513:
1510:
1505:
1501:
1495:
1492:
1488:
1485:
1484:
1483:
1480:
1476:
1473:
1472:
1471:
1468:
1464:
1461:
1460:
1459:
1458:Math formulas
1456:
1452:
1449:
1447:
1444:
1442:
1441:How to create
1439:
1438:
1437:
1434:
1432:
1429:
1428:
1426:
1422:
1416:
1413:
1411:
1408:
1404:
1401:
1399:
1396:
1394:
1391:
1390:
1389:
1386:
1384:
1381:
1377:
1374:
1372:
1369:
1367:
1364:
1362:
1359:
1357:
1354:
1352:
1349:
1347:
1344:
1343:
1342:
1339:
1335:
1332:
1330:
1327:
1326:
1325:
1322:
1320:
1317:
1316:
1314:
1309:
1305:
1299:
1296:
1294:
1291:
1289:
1286:
1284:
1281:
1277:
1274:
1272:
1269:
1267:
1264:
1263:
1262:
1259:
1255:
1252:
1250:
1247:
1245:
1244:Interlanguage
1242:
1241:
1240:
1237:
1236:
1234:
1232:
1228:
1224:
1218:
1217:Using colours
1215:
1211:
1208:
1206:
1203:
1201:
1198:
1196:
1193:
1191:
1188:
1186:
1183:
1182:
1181:
1178:
1176:
1173:
1171:
1168:
1164:
1163:Time function
1161:
1159:
1156:
1154:
1151:
1149:
1148:For beginners
1146:
1145:
1144:
1141:
1139:
1136:
1134:
1131:
1129:
1126:
1122:
1119:
1118:
1117:
1114:
1113:
1111:
1109:
1105:
1099:
1096:
1094:
1091:
1089:
1086:
1084:
1081:
1077:
1074:
1073:
1072:
1069:
1067:
1064:
1062:
1059:
1057:
1054:
1052:
1049:
1047:
1044:
1042:
1041:Page Curation
1039:
1035:
1032:
1031:
1030:
1027:
1023:
1020:
1018:
1015:
1014:
1013:
1012:Moving a page
1010:
1008:
1005:
1001:
998:
997:
996:
993:
991:
988:
986:
983:
981:
978:
976:
973:
972:
970:
967:
961:
953:
950:
949:
948:
945:
943:
940:
936:
933:
932:
931:
928:
924:
921:
920:
919:
916:
914:
911:
907:
904:
903:
902:
899:
897:
894:
892:
889:
887:
884:
882:
881:Mobile access
879:
875:
872:
871:
870:
867:
865:
862:
858:
855:
853:
850:
848:
847:Edit conflict
845:
843:
840:
839:
838:
835:
831:
828:
826:
823:
822:
821:
820:Browser notes
818:
817:
815:
813:
807:
803:
801:
797:
793:
789:
785:
778:
774:
767:
762:
760:
755:
753:
748:
747:
744:
740:
738:
734:
675:
672:
670:
653:
651:
647:
590:
551:
550:
371:
370:
188:
187:
183:
181:
180:the talk page
173:
166:
161:
153:
147:
132:
131:
130:
127:
125:
116:
114:
109:"Roboto Mono"
105:
99:
53:
49:
43:
41:
35:
28:
27:
19:
2085:User scripts
2033:
2026:
1856:User scripts
1773:
1632:Main/Article
1592:Transclusion
1575:Substitution
1463:Math symbols
1431:Family trees
1185:Introduction
1056:Random pages
947:VisualEditor
891:Page history
852:Edit toolbar
825:Bypass cache
784:the Teahouse
781:
730:
685:collapse top
673:
666:
644:, and other
634:<font>
631:
552:
548:
547:
438:keyboard-key
411:example-mono
368:
367:
255:keyboard-key
228:example-mono
185:
184:
177:
162:}}
158:{{
154:}}
150:{{
139:<code>
128:
117:
100:
61:
40:how-to guide
37:
18:Template:Mxt
2068:Referencing
1993:Ultraviolet
1851:IRC Scripts
1814:Preferences
1558:Lua project
1383:Gallery tag
1283:Colon trick
1143:Magic words
1046:Page import
985:Edit filter
522:font-family
507:searchInput
459:font-family
342:font-family
327:searchInput
279:font-family
169:.monospaced
143:<pre>
113:Roboto Mono
2041:Help pages
2025:See also:
1941:AntiVandal
1878:User style
1871:Techniques
1844:Hide pages
1627:Namespaces
1319:Media help
1293:Pipe trick
1288:Link color
1200:Collapsing
1121:Cheatsheet
1076:Linksearch
995:Logging in
923:Editnotice
842:CharInsert
796:talk pages
615:background
579:common.css
537:!important
516:searchText
489:wpTextbox1
474:!important
429:monospaced
357:!important
336:searchText
309:wpTextbox1
294:!important
246:monospaced
2080:Templates
2002:Inactive
1998:WPCleaner
1807:and tools
1789:Span tags
1710:MediaWiki
1679:Archiving
1585:Job queue
1563:Resources
1518:Templates
1504:Templates
1446:Barcharts
1254:Permanent
1249:Interwiki
1170:Redirects
1093:Watchlist
1071:Searching
901:Page name
857:Reverting
788:help desk
534:monospace
498:wpSummary
471:monospace
453:plaincode
354:monospace
318:wpSummary
291:monospace
273:plaincode
135:monospace
52:consensus
2130:Category
2058:Accounts
1956:Creating
1693:Template
1637:Category
1553:Lua help
1482:Timeline
1376:SVG help
1116:Wikitext
1108:Wikitext
980:AllPages
968:-related
935:Entering
913:Printing
874:Tutorial
581:to make
2103:|
1988:Twinkle
1983:RedWarn
1961:history
1819:Gadgets
1732:Special
1511:modules
1128:Columns
964:Special
837:Editing
810:General
609:DarkRed
120:@import
2117:pages.
2113:create
2105:mirror
2101:create
1973:Huggle
1968:HotCat
1727:Module
1684:Simple
1664:Portal
1341:Images
1190:Basics
1180:Tables
447:button
264:button
164:family
145:, etc.
94:, and
70:, and
2011:STiki
2006:igloo
1883:Tools
1861:Guide
1824:Skins
1642:Draft
1580:Purge
1568:To do
1324:Files
1308:Media
1261:Diffs
1239:Links
1231:diffs
1227:Links
1138:Lists
701:title
603:color
16:<
2063:Bots
1951:Bots
1866:List
1744:and
1742:HTML
1698:User
1674:Talk
1659:Help
1647:File
1298:URLs
1229:and
1083:Tags
1007:Logs
966:page
952:Help
906:Help
691:left
621:Pink
587:>
583:<
575:>
573:code
569:code
567:<
563:>
555:<
390:samp
378:code
207:samp
195:code
78:and
1746:CSS
1509:Lua
1506:and
1034:FAQ
869:IRC
800:IRC
798:or
396:kbd
384:pre
213:kbd
201:pre
152:mxt
98:).
2132::
794:,
790:,
786:,
739:.
726:}}
720:{{
717:}}
711:{{
708:}}
682:{{
640:,
636:,
597:tt
585:tt
561:tt
557:tt
402:tt
219:tt
182:.
160:xt
141:,
90:,
86:,
66:,
2122:.
2115:)
2111:(
2107:)
2099:(
802:.
765:e
758:t
751:v
704:=
698:|
696:y
694:=
688:|
652:.
627:}
624:;
618::
612:;
606::
600:{
543:}
540:;
531:,
525::
519:{
513:#
510:,
504:#
501:,
495:#
492:,
486:#
480:}
477:;
468:,
462::
456:{
450:.
444:.
441:,
435:.
432:,
426:.
423:,
417:.
414:,
408:.
405:,
399:,
393:,
387:,
381:,
363:}
360:;
351:,
345::
339:{
333:#
330:,
324:#
321:,
315:#
312:,
306:#
300:}
297:;
288:,
282::
276:{
270:.
267:,
261:.
258:,
252:.
249:,
243:.
240:,
234:.
231:,
225:.
222:,
216:,
210:,
204:,
198:,
96:—
92:–
88:−
84:-
80:0
76:O
72:I
68:1
64:l
54:.
42:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.