Ir al contenido

Plantilla:=/doc

Desde Chavacano de Zamboanga Wikipedia - El Libre Enciclopedia

Plantilla:Transclusionless 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 Plantilla:Magic word 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

You can also use named parameters to bypass the restriction:

Unlike =, the magic word only delays the interpretation of the symbol as code:

{{concat|<div style{{=}}"font-style:italic">This should be italicised.</div>}}
{{concat|<div style&#61;"font-style:italic">This will not be italicised.</div>}}

produces: Plantilla:Concat Plantilla:Concat

TemplateData

[revisa codigo]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. see the monthly parameter usage report for Template:=.

TemplateData for =

A magic word to allow = to be used in template parameters

Parámetros de la plantilla

Esta plantilla contiene formato personalizado.

ParámetroDescripciónTipoEstado
No hay parámetros especificados

See also

[revisa codigo]

Plantilla:Escape template list