Template:=
- Аԥсшәа
- Acèh
- Afrikaans
- Aragonés
- Ænglisc
- العربية
- الدارجة
- অসমীয়া
- Asturianu
- Авар
- अवधी
- Azərbaycanca
- تۆرکجه
- Башҡортса
- Basa Bali
- Беларуская (тарашкевіца)
- Беларуская
- Български
- भोजपुरी
- Bamanankan
- বাংলা
- Brezhoneg
- Bosanski
- Basa Ugi
- Буряад
- Català
- 閩東語 / Mìng-dĕ̤ng-ngṳ̄
- Нохчийн
- Cebuano
- Chamoru
- کوردی
- Corsu
- Čeština
- Словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ
- Чӑвашла
- Cymraeg
- Dansk
- Zazaki
- Dolnoserbski
- डोटेली
- ދިވެހިބަސް
- Ελληνικά
- Español
- Euskara
- فارسی
- Suomi
- Føroyskt
- Français
- Arpetan
- Gagauz
- 贛語
- Gàidhlig
- Galego
- गोंयची कोंकणी / Gõychi Konknni
- ગુજરાતી
- Hausa
- 客家語 / Hak-kâ-ngî
- עברית
- हिन्दी
- Hornjoserbsce
- Kreyòl ayisyen
- Magyar
- Հայերեն
- Արեւմտահայերէն
- Ilokano
- ГӀалгӀай
- Ido
- 日本語
- Jawa
- ქართული
- Qaraqalpaqsha
- Taqbaylit
- Адыгэбзэ
- Қазақша
- ភាសាខ្មែរ
- ಕನ್ನಡ
- 한국어
- Перем коми
- Къарачай-малкъар
- Kurdî
- Кыргызча
- Ladino
- Ligure
- Ladin
- ລາວ
- Lietuvių
- Latviešu
- मगही
- Мокшень
- Македонски
- ဘာသာမန်
- मराठी
- Bahasa Melayu
- Malti
- Mirandés
- မြန်မာဘာသာ
- Эрзянь
- مازِرونی
- Nedersaksies
- Plattdüütsch
- नेपाली
- नेपाल भाषा
- Nederlands
- Norsk nynorsk
- Norsk bokmål
- Sesotho sa Leboa
- Occitan
- ଓଡ଼ିଆ
- Ирон
- ਪੰਜਾਬੀ
- Kapampangan
- पालि
- پنجابی
- پښتو
- Português
- Română
- Русский
- संस्कृतम्
- Саха тыла
- Scots
- سنڌي
- Srpskohrvatski / српскохрватски
- တႆး
- සිංහල
- Simple English
- Slovenčina
- Slovenščina
- Anarâškielâ
- Shqip
- Српски / srpski
- Svenska
- ꠍꠤꠟꠐꠤ
- Sakizaya
- தமிழ்
- ತುಳು
- తెలుగు
- Тоҷикӣ
- ไทย
- ትግርኛ
- Türkmençe
- Tagalog
- Türkçe
- Xitsonga
- Татарча / tatarça
- Тыва дыл
- Удмурт
- Українська
- اردو
- Oʻzbekcha / ўзбекча
- Vèneto
- Tiếng Việt
- Volapük
- Winaray
- მარგალური
- ייִדיש
- Yorùbá
- 文言
- 閩南語 / Bân-lâm-gí
- 粵語
- 中文
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 HTML 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 in Phab:T91154.
Do not use syntax like {{Template:=}}, and do not supply a parameter, for example {{=|foo}}. In those cases, the template transcludes as an error message: Error: The retired template {{=}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{= }} to generate the = character.
Do not use this magic word in URLs. Instead, use percent-encoding or no encoding:
- Wrong: https://example.com/?arg{{=}}789
- Sometimes correct: https://example.com/?arg%3D789 ("=" is a reserved character with special meaning; it may break the URL when encoded at certain locations)
- Correct: https://example.com/?arg=789
Usage
[edit ]{{Font color|black|yellow|2 + 2 {{=}} 4}}produces: 2 + 2 = 4
You can also use named parameters to bypass the restriction:
{{Font color|black|yellow|3= 2 + 2 = 4}}produces: 2 + 2 = 4
Unlike =, the magic word only delays the interpretation of the symbol as code:
{{concat|<divstyle{{=}}"font-style:italic">This should be italicised.</div>}} {{concat|<divstyle="font-style:italic">This will not be italicised.</div>}}
produces:
TemplateData
[edit ]TemplateData for =
A magic word to allow = to be used in template parameters
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
Tracking category
[edit ]See also
[edit ]| Template call (m for magic word) | Output(delayed interpretation as wikimarkup) | HTML alternative (never interpreted as wikimarkup) |
|---|---|---|
{{!}} (m) | | | | or {{pipe }} |
{{=}} (m) | = | = |
{{!! }} | || | || |
{{!( }} | [ | [ |
{{)! }} | ] | ] |
{{!(( }} | [[ | [[ |
{{))! }} | ]] | ]] |
{{( }} | { | { |
{{) }} | } | } |
{{(( }} | {{ | {{ |
{{)) }} | }} | }} |
{{((( }} | }}} | |
{{(! }} | {| | {| |
{{!+ }} | |+ | |+ |
{{!- }} | |- | |- |
{{!) }} | |} | |} |
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.