Knowledge

Template:=

Source 📝

21: 52: 72:
entity "=" can be used if there is no need for it to be interpreted as wikimarkup, such as when the literal equals-sign is to be displayed to the user. Until June 2022, there was a template at this location with the same function, but it was replaced with a magic word for performance reasons
67:
This magic word allows "=" to be used in unnamed template parameters, rather than being interpreted as the separator between the parameter name and value. It evaluates to the equals sign, =. Alternatively, the
367: 771: 374: 799: 763: 814: 804: 809: 759: 747: 36: 291: 783: 743: 729: 32: 360: 283: 124:("=" is a reserved character with special meaning it may break the URL when encoded at certain locations) 40: 95: 287: 279: 99: 721: 8: 754: 58: 733: 107: 779: 737: 716: 28: 74: 793: 433: 665: 631: 614: 529: 512: 57:
This template should have no transclusions, because it was replaced with a
15: 699: 682: 648: 597: 580: 495: 478: 461: 563: 546: 168:, the magic word only delays the interpretation of the symbol as code: 88:. In those cases, the template transcludes as an error message: 150:
You can also use named parameters to bypass the restriction:
69: 308:
A magic word to allow = to be used in template parameters
791: 98:for details. To fix this, use only the code {{ 368: 106:Do not use the magic word in URLs rather use 84:, and do not supply a parameter, for example 298:in articles based on its TemplateData. 753:Editors can experiment in this template's 375: 361: 18: 141:{{Font color|black|yellow|2 + 2 {{=}} 4}} 155:{{Font color|black|yellow|3= 2 + 2 = 4}} 792: 404:(delayed interpretation as wikimarkup) 800:Knowledge transclusionless templates 318:This template has custom formatting. 292:See a monthly parameter usage report 46: 102:}} to generate the = character. 13: 14: 826: 815:Mathematical formatting templates 412:(never interpreted as wikimarkup) 805:Character-substitution templates 116:https://example.com/?arg{{=}}789 50: 19: 641:&#125;&#125;&#125; 624:&#123;&#123;&#123; 273: 122:https://example.com/?arg%3D789 1: 810:Template namespace templates 270:This will not be italicised. 251:This will not be italicised. 129:https://example.com/?arg=789 90:Error: The retired template 7: 348: 10: 831: 727: 282:for this template used by 267:This should be italicised. 208:This should be italicised. 94:has been transcluded; see 784:Subpages of this template 407: 398: 385: 340: 324: 96:mw:Help:Magic words#Other 92:{{=}} 170: 134: 24:Magic word documentation 341:No parameters specified 80:Do not use syntax like 778:Add categories to the 301:TemplateData for = 709:&#124;&#125; 658:&#123;&#124; 607:&#125;&#125; 590:&#123;&#123; 471:&#124;&#124; 692:&#124;&#45; 675:&#124;&#43; 722:mw:Help:Magic words 539:&#93;&#93; 522:&#91;&#91; 382: 346: 321: 314:Template parameters 120:Sometimes correct: 353: 312: 310: 305: 103: 713: 712: 345: 344: 337: 306: 290:and other tools. 243:font-style:italic 200:font-style:italic 89: 65: 64: 822: 775: 767: 751: 703: 686: 669: 652: 635: 618: 601: 584: 567: 550: 533: 516: 499: 482: 465: 445: 438: 432: 420: 413: 410: 409:HTML alternative 405: 401: 396: 388: 383: 377: 370: 363: 357: 352: 338: 322: 319: 311: 260: 257: 254: 250: 247: 244: 241: 238: 235: 232: 229: 226: 223: 220: 217: 214: 211: 207: 204: 201: 198: 195: 192: 189: 186: 183: 180: 177: 174: 167: 160: 156: 146: 142: 130: 123: 117: 110:or no encoding: 108:percent-encoding 87: 83: 54: 53: 47: 44: 25: 23: 22: 830: 829: 825: 824: 823: 821: 820: 819: 790: 789: 788: 787: 777: 769: 757: 752: 741: 726: 717:Template:Spaces 697: 680: 663: 646: 629: 612: 595: 578: 561: 544: 527: 510: 493: 476: 459: 443: 436: 430: 418: 411: 408: 403: 399: 395:for magic word) 390: 389: 386: 381: 355: 351: 317: 304: 276: 271: 268: 262: 261: 258: 255: 252: 248: 245: 242: 239: 236: 233: 230: 227: 224: 221: 218: 215: 212: 209: 205: 202: 199: 196: 193: 190: 187: 184: 181: 178: 175: 172: 165: 158: 154: 144: 140: 137: 128: 121: 115: 85: 81: 51: 45: 26: 20: 12: 11: 5: 828: 818: 817: 812: 807: 802: 768:and testcases 738:Template:=/doc 725: 724: 719: 711: 710: 707: 704: 694: 693: 690: 687: 677: 676: 673: 670: 660: 659: 656: 653: 643: 642: 639: 636: 626: 625: 622: 619: 609: 608: 605: 602: 592: 591: 588: 585: 575: 574: 571: 568: 558: 557: 554: 551: 541: 540: 537: 534: 524: 523: 520: 517: 507: 506: 503: 500: 490: 489: 486: 483: 473: 472: 469: 466: 456: 455: 452: 449: 440: 439: 429:&#124; or 427: 424: 415: 414: 406: 397: 380: 379: 372: 365: 354: 350: 347: 343: 342: 336: 335: 332: 329: 326: 296:Template:= 284:TemplateWizard 277: 275: 272: 269: 266: 171: 162: 161: 148: 147: 136: 133: 132: 131: 125: 118: 82:{{Template:=}} 63: 62: 55: 17: 16: 9: 6: 4: 3: 2: 827: 816: 813: 811: 808: 806: 803: 801: 798: 797: 795: 785: 781: 773: 765: 761: 756: 749: 745: 739: 735: 731: 730:documentation 723: 720: 718: 715: 714: 708: 705: 701: 696: 695: 691: 688: 684: 679: 678: 674: 671: 667: 662: 661: 657: 654: 650: 645: 644: 640: 637: 633: 628: 627: 623: 620: 616: 611: 610: 606: 603: 599: 594: 593: 589: 586: 582: 577: 576: 572: 569: 565: 560: 559: 555: 552: 548: 543: 542: 538: 535: 531: 526: 525: 521: 518: 514: 509: 508: 504: 501: 497: 492: 491: 487: 484: 480: 475: 474: 470: 467: 463: 458: 457: 453: 450: 448: 442: 441: 435: 428: 425: 423: 417: 416: 394: 387:Template call 384: 378: 373: 371: 366: 364: 359: 358: 339: 333: 330: 327: 323: 320: 315: 309: 303: 302: 297: 293: 289: 285: 281: 265: 169: 153: 152: 151: 139: 138: 126: 119: 113: 112: 111: 109: 104: 101: 97: 93: 78: 76: 71: 60: 56: 49: 48: 42: 38: 34: 30: 702:}} 698:{{ 685:}} 681:{{ 668:}} 664:{{ 651:}} 647:{{ 634:}} 630:{{ 617:}} 613:{{ 600:}} 596:{{ 583:}} 579:{{ 566:}} 562:{{ 549:}} 545:{{ 532:}} 528:{{ 515:}} 511:{{ 498:}} 494:{{ 481:}} 477:{{ 468:|| 464:}} 460:{{ 446: 437:}} 431:{{ 421: 392: 356:This table: 316: 313: 307: 300: 299: 295: 288:VisualEditor 280:TemplateData 278:This is the 274:TemplateData 263: 163: 149: 105: 91: 79: 66: 734:transcluded 573:&#125; 556:&#123; 328:Description 75:Phab:T91154 39:] [ 35:] [ 31:] [ 794:Categories 728:The above 505:&#93; 488:&#91; 454:&#61; 264:produces: 157:produces: 143:produces: 59:magic word 782:subpage. 325:Parameter 166:&#61; 159:2 + 2 = 4 145:2 + 2 = 4 127:Correct: 86:{{=|foo}} 349:See also 762:| 755:sandbox 748:history 746:| 240:;" 164:Unlike 114:Wrong: 37:history 776:pages. 772:create 426:| 402:  400:Output 334:Status 259:>}} 246:" 234:&# 222:concat 216:>}} 203:" 197:" 176:concat 736:from 444:{{=}} 419:{{!}} 253:</ 231:style 225:|< 210:</ 185:style 179:|< 135:Usage 43:] 41:purge 27:[ 780:/doc 764:diff 760:edit 744:edit 434:pipe 376:edit 369:talk 362:view 331:Type 294:for 249:> 206:> 70:HTML 33:edit 29:view 732:is 638:}}} 632:))) 621:{{{ 615:((( 530:))! 513:!(( 447:(m) 422:(m) 256:div 228:div 213:div 182:div 73:in 796:: 740:. 706:|} 700:!) 689:|- 683:!- 672:|+ 666:!+ 655:{| 649:(! 604:}} 598:)) 587:{{ 581:(( 536:]] 519:[[ 496:)! 479:!( 462:!! 286:, 237:61 219:{{ 194:}} 188:{{ 173:{{ 77:. 786:. 774:) 770:( 766:) 758:( 750:) 742:( 570:} 564:) 553:{ 547:( 502:] 485:[ 451:= 393:m 391:( 191:= 100:= 61:.

Index

view
edit
history
purge
magic word
HTML
Phab:T91154
{{=}}
mw:Help:Magic words#Other
=
percent-encoding
TemplateData
TemplateWizard
VisualEditor
See a monthly parameter usage report
Template:=
view
talk
edit
pipe
!!
!(
)!
!((
))!
(
)
((
))
(((

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