Knowledge

Template:Languages

Source 📝

70: 101: 184:
For most languages, saying "language" after it is necessary to direct it straight to the language's mainspace page, but sometimes saying "language" directs it to a red link. To stop this problem put:
210:
This template automatically puts the template in its User template category, to redirect to a different User templates category do this, using Scottish English as an example:
375: 386: 371: 359: 85: 398: 355: 81: 15: 281:
series and other fictional languages, do not need to have their own category. To void the category completely, use this
108: 414: 341: 89: 381: 117: 144:
This template is to be placed in template documentation of user languages. It is intended primarily for
366: 113: 330: 125: 394: 349: 269:
place the "-", at the end of "sections" as was done previously, this will mess up the sorting.
121: 77: 285: 247: 243: 152: 20: 8: 278: 145: 195:
Most language userboxes are in the template namespace. For those in user space, add the
259: 255: 233: 226: 345: 319: 238:
And so on, but if you wanted to replace these with different abbreviations such as:
31: 301:
If all of these functions were used on one template they would look like this:
408: 64: 162:
be placed on mainspace articles. It is written as (example for English):
265:
Add |sections= with the abbreviated code, such as "ca" or "en", etc. Do
304:{{Languages|English|en|langvoid=|catvoid=|catalt=en|sections=us|#=N}} 307:
Please note catalt, sections and # cannot exist if catvoid exists.
282: 112:
and changes may be widely noticed. Test changes in the template's
202:{{Languages|Southern American English|UBX/SoE|userspace=yes}} 221:
By default the template categorizes templates like:
406: 213:{{Languages|Scottish English|en-sco|catalt=en}} 365:Editors can experiment in this template's 67: 272: 176:: the template writes that by itself). 407: 205: 124:. Consider discussing changes on the 19: 216: 95: 292:{{Languages|Spoken|blank|catvoid=}} 187:{{Languages|English|en|langvoid=}} 13: 14: 426: 179: 99: 68: 109:approximately 2,700 pages 1: 190: 277:Some templates, such as the 7: 310: 10: 431: 339: 139: 399:Subpages of this template 296: 165:{{Languages|English|en}} 128:before implementing them. 120:subpages, or in your own 107:This template is used on 26: 134: 415:Language user templates 197:|userspace=yes 393:Add categories to the 350:Template:Languages/doc 73:Template documentation 248:Template:User en-ca-2 244:Template:User en-ca-1 273:Voiding the category 260:Template:User en-2 256:Template:User en-1 234:Template:User en-2 227:Template:User en-1 206:Different category 217:Category sections 158:), and it should 132: 131: 62: 61: 422: 390: 379: 363: 335: 329: 324: 318: 293: 198: 157: 151: 103: 102: 96: 93: 74: 72: 71: 34: 17: 16: 430: 429: 425: 424: 423: 421: 420: 419: 405: 404: 403: 402: 392: 384: 369: 364: 353: 338: 333: 327: 322: 316: 313: 299: 291: 275: 262: 258: 254: 250: 246: 242: 232: 225: 219: 208: 196: 193: 182: 168:You write only 155: 149: 142: 137: 100: 94: 75: 69: 63: 58: 30: 22: 12: 11: 5: 428: 418: 417: 337: 336: 331:Language table 325: 312: 309: 298: 295: 274: 271: 268: 218: 215: 207: 204: 192: 189: 181: 178: 161: 141: 138: 136: 133: 130: 129: 104: 66: 65: 60: 59: 57: 56: 53: 50: 47: 44: 41: 38: 35: 27: 24: 23: 9: 6: 4: 3: 2: 427: 416: 413: 412: 410: 400: 396: 388: 383: 377: 373: 368: 361: 357: 351: 347: 343: 342:documentation 332: 326: 321: 315: 314: 308: 305: 302: 294: 289: 287: 284: 280: 270: 266: 263: 261: 257: 251: 249: 245: 239: 236: 235: 229: 228: 222: 214: 211: 203: 200: 188: 185: 180:Language void 177: 175: 171: 166: 163: 159: 154: 147: 127: 123: 119: 115: 111: 110: 105: 98: 97: 91: 87: 83: 79: 54: 51: 48: 45: 42: 39: 36: 33: 29: 28: 25: 18: 334:}} 328:{{ 323:}} 317:{{ 306: 303: 300: 290: 276: 264: 252: 240: 237: 230: 223: 220: 212: 209: 201: 194: 186: 183: 173: 169: 167: 164: 156:}} 153:User en-ca-1 150:{{ 143: 122:user subpage 106: 346:transcluded 286:markup text 199:parameter: 88:] [ 84:] [ 80:] [ 340:The above 191:User space 118:/testcases 397:subpage. 382:testcases 148:(such as 146:userboxes 126:talk page 409:Category 320:Complang 311:See also 283:wikitext 174:language 114:/sandbox 374:| 367:sandbox 360:history 358:| 170:English 140:General 86:history 391:pages. 297:Format 348:from 279:blank 172:(not 135:Usage 92:] 90:purge 76:[ 32:Babel 395:/doc 387:edit 380:and 376:diff 372:edit 356:edit 82:edit 78:view 344:is 267:not 160:not 116:or 411:: 352:. 288:: 401:. 389:) 385:( 378:) 370:( 362:) 354:( 253:e 241:c 231:2 224:1 55:] 52:] 49:] 46:] 43:] 40:] 37:] 21:]

Index

Babel
view
edit
history
purge
approximately 2,700 pages
/sandbox
/testcases
user subpage
talk page
userboxes
User en-ca-1
Template:User en-1
Template:User en-2
Template:User en-ca-1
Template:User en-ca-2
Template:User en-1
Template:User en-2
blank
wikitext
markup text
Complang
Language table
documentation
transcluded
Template:Languages/doc
edit
history
sandbox
edit

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.