Template talk:=

(Redirected from Template talk:=/sandbox)
Latest comment: 1 year ago by GKFX in topic Protected edit request on 1 July 2022

Interwiki edit

{{editprotected}}
Hello, could anybody put interwiki link to hsb hsb:Předłoha:Eq, please? Thanks and greetings --Tlustulimu 11:18, 13 June 2007 (UTC)

 Y Done - Nihiltres(t.l) 21:55, 23 August 2007 (UTC)Reply

{{editprotected}} Please add

==See also==
* Template:(( — produces {{
* Template:)) — produces }}

Peak 21:04, 11 September 2007 (UTC)Reply

  Done. Cheers. --MZMcBride 03:43, 12 September 2007 (UTC)Reply

Documenting {=} vs. {Equals} edit

  Resolved
 – Added to new /doc subpage

{{Editprotected}} Please add to documentation:


This template will NOT work for uses such as:

{{Colors|black|yellow|2 + 2 {{=}} 4}} → 2 + 2 = 4

For this, you will need {{Equals}}:

{{Colors|black|yellow|2 + 2 {{Equals}} 4}} → 2 + 2 = 4

Thanks. — Komusou talk @ 10:48, 22 September 2007 (UTC)Reply

The documentation has been moved here. Cheers. --MZMcBride 01:21, 23 September 2007 (UTC)Reply
Thanks. I should have thought of doing the /doc and request a {{Template doc}} instead, d'oh! Updated the doc... — Komusou talk @ 11:30, 23 September 2007 (UTC)Reply

tlx edit

This doesn't seem to work with {{tlx}}, but the code & # 6 1 ; without spaces works fine to make an "=" sign, so would it be a good idea to make this template use the code instead? --Arctic Gnome (talkcontribs) 16:54, 30 November 2007 (UTC)Reply

Get it back to = edit

The current version uses =, but we can get it back to = now. Is it because of recent parser changes?

The content of {{User:TAKASUGI_Shinji/=}} is as follows:

<onlyinclude>=</onlyinclude>

And compare the following results as of today:

  • {{concat|{{=}}}} → =
  • {{concat|{{User:TAKASUGI_Shinji/=}}}} → =
  • {{concat|<nowiki>=</nowiki>}} → =
  • {{tlx|{{=}}}}{{=}}
  • {{tlx|{{User:TAKASUGI_Shinji/=}}}}{{=}}
  • {{tlx|<nowiki>=</nowiki>}}{{[[Template:=|=]]}}
  • {{strlen|{{=}}}} → 5
  • {{strlen|{{User:TAKASUGI_Shinji/=}}}} → 1
  • {{strlen|<nowiki>=</nowiki>}} → 43
  • {{urlencode:{{=}}}} → %26%2361%3B
  • {{urlencode:{{User:TAKASUGI_Shinji/=}}}} → %3D
  • {{urlencode:<nowiki>=</nowiki>}} → %7FUNIQ2d11730c3f36c9f8-nowiki-0000005B-QINU%7F

Clearly, {{User:TAKASUGI_Shinji/=}} works better than {{=}}. <nowiki> is just weird. - TAKASUGI Shinji (talk) 01:03, 23 April 2008 (UTC)Reply

Someone please change &#61; to = ? Is there any problem in doing so? - TAKASUGI Shinji (talk) 04:02, 3 June 2008 (UTC)Reply
I'm planning to change this over very soon... after I run through the current usages of the template to clean out the ones that are not necessary, etc. --- RockMFR 20:10, 10 June 2008 (UTC)Reply
Nevermind. I'm changing it now. Also will be redirecting {{equals}} and friends here, as they no longer have a purpose that I can see. --- RockMFR 21:05, 10 June 2008 (UTC)Reply
Thanks. I'll delete {{User:TAKASUGI_Shinji/=}} soon. - TAKASUGI Shinji (talk) 01:40, 11 June 2008 (UTC)Reply


Incompatible edit

This template is incompatible with the {{annotated link}} template. For example, Diimide had its short description defined like this: {{Short description|Chemical compound: H–N{{=}}N–H}}. The Hydrazine article invoked {{annotated link|Diimide}}, but that rendered as "Diimide – Chemical compound: H–N{{" instead of "Diimide – Chemical compound: H–N=N–H".

Changing the short description to {{Short description|Chemical compound: H–N=N–H}} fixes the problem.

Is the {{=}} template incompatbile with only {{annotated link}}, or is it incompatible with other templates, as well? -- Mikeblas (talk) 23:33, 20 October 2021 (UTC)Reply

It's a weakness in {{Template parameter value}}, which parses the wiki-source rather than what it looks like after rendering. Best I can decipher, that template sees the }} that closes {{=}} as the closing of {{Short description. Therefore, the "=" is not interpretted as a template-call because it has no closing }}, and nothing after that }} is seen as part of the {{Short description}} template-call at all. Instead of trying to find the correct closing, which would mean having to parse and find matching nested opening/closing, it merely finds the first closeing. DMacks (talk) 01:11, 21 October 2021 (UTC)Reply

Sandbox version for after T91154 edit

I have put a version in the sandbox (Special:Permalink/1090005035) for after phab:T91154, which has been merged but not released yet. It assumes that the = magic word will behave basically the same as the ! magic word and so need the same error message at Template:= as Template:!, which seems to be the case after reading the patch. The only other changes needed should be slight re-phrasing of the documentation.

The error message on ordinary transclusion will be 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., and it adds the page to Category:Pages which use a template in place of a magic word. User:GKFXtalk 20:36, 26 May 2022 (UTC)Reply

  Done User:GKFXtalk 13:07, 31 July 2022 (UTC)Reply

Protected edit request on 1 July 2022 edit

Please implement the changes to Template:=/sandbox in the main template. The template is now officially a magic word. GeoffreyT2000 (talk) 01:36, 1 July 2022 (UTC)Reply

  Not done for now: We don't need an error while the template still has transclusions. — JJMC89(T·C) 03:20, 1 July 2022 (UTC)Reply
There is no real transclusions at the moment. Only a backlog. It is only possible to transclude the template using one of the three redirects to this page. Using {{=}} will not transclude the template but use the magic word. Christian75 (talk) 08:57, 1 July 2022 (UTC)Reply
  Done I have copied the sandbox across now as the transclusions are at zero and the page is not protected. User:GKFXtalk 13:07, 31 July 2022 (UTC)Reply

"Template:Equal" listed at Redirects for discussion edit

  An editor has identified a potential problem with the redirect Template:Equal and has thus listed it for discussion. This discussion will occur at Wikipedia:Redirects for discussion/Log/2022 July 12#Template:Equal until a consensus is reached, and readers of this page are welcome to contribute to the discussion. signed, Rosguill talk 18:42, 12 July 2022 (UTC)Reply

"Template:Equals" listed at Redirects for discussion edit

  An editor has identified a potential problem with the redirect Template:Equals and has thus listed it for discussion. This discussion will occur at Wikipedia:Redirects for discussion/Log/2022 July 12#Template:Equals until a consensus is reached, and readers of this page are welcome to contribute to the discussion. signed, Rosguill talk 18:42, 12 July 2022 (UTC)Reply