Template:=/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


{{Wikipedia template}}
{{Message box
|type = content
|image = Ambox important.svg
|title = This template was replaced with a magic word.
|text = Administrators: Please do not delete this template even if it is not transcluded on any pages.
}}
 
<nowiki>{{=}}</nowiki> is a [[Help:Magic words|magic word]] used to escape a equal character "=" in wikitext, where it would otherwise be interpreted as a special character. Typically this is used when "=" is needed as part of a template argument.
 
This was formerly an actual template. In May 2022, the MediaWiki parser was updated to interpret <code><nowiki>{{=}}</nowiki></code> as a magic word for performance reasons. From an editor's perspective, there is no difference; the magic word is used in the exact same manner as the template. However, if this template ''is'' transcluded in some way, an error message will be displayed and the page that transcludes it will be added to [[:Category:Pages that use a template in place of a magic word]].
 
The HTML character code <code>&amp;#61;</code> may be used instead of this template in situations where it should never be interpreted as anything except a literal character.
 
==See also==
{{Character substitution templates}}
 
{{Adapted from Wikipedia|Template:=}}


{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Formatting templates]]
[[Category:Character substitution templates]]
{{Sister|poewiki}}
}}
}}

Latest revision as of 14:16, 24 March 2025

This subpage provides documentation for Template:=.

This template was replaced with a magic word.

Administrators: Please do not delete this template even if it is not transcluded on any pages.

{{=}} is a magic word used to escape a equal character "=" in wikitext, where it would otherwise be interpreted as a special character. Typically this is used when "=" is needed as part of a template argument.

This was formerly an actual template. In May 2022, the MediaWiki parser was updated to interpret {{=}} as a magic word for performance reasons. From an editor's perspective, there is no difference; the magic word is used in the exact same manner as the template. However, if this template is transcluded in some way, an error message will be displayed and the page that transcludes it will be added to Category:Pages that use a template in place of a magic word.

The HTML character code &#61; may be used instead of this template in situations where it should never be interpreted as anything except a literal character.

See also

Template Output HTML alternative
{{*}} &nbsp;&bull;
{{!}} (m) | &#124;
{{=}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!)}} |} &#124;&#125;
This template was adapted from Template:=/doc on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.