Jump to content

Wikipedia:Templates for discussion/Log/2018 April 5

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pppery (talk | contribs) at 21:12, 5 April 2018 (Bah, I accidentally pressed ~ instead of ! when trying to resolve the conflict). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

April 5

Propose merging Template:Bad with Template:No. Compare:

Bad No

It's a duplicate of {{no}}, aside from a barely noticable color difference (#faa vs. #F99). Nominated because there are 0 uses with no parameters, meaning that the default form is never used to display "Bad", allowing it to be easily redirected to {{no}}.

I'm unfortunately short on time, so I haven't handled other formalities (notifying users); I will handle them later if no one else has. It would be nice if they could be automatically handled by a bot in the future, but that's just wishful thinking. E to the Pi times i (talk | contribs) 18:53, 5 April 2018 (UTC)[reply]

@Pppery: Oh! It was my edit to {{Bad}} that caused the erroneous merge template formatting! Thanks for fixing it; I'll definitely avoid making such an error in the future, now that I'm aware of it. E to the Pi times i (talk | contribs) 21:03, 5 April 2018 (UTC)[reply]
(edit conflict) A large number unrelated things went wrong there leading to the mess.
  1. Your edit to {{bad}} broke the template by making it include the open table tag that it shouldn't.
  2. {{bad}} and {{no}} don't work when used directly, but only when inside of tables (that's what produced the <code.style="background: #faa; color: black; vertical-align: middle; text-align: center; " nonsense. )
  3. You can't include two open curly brackets in a row in the middle of a template without escaping them (\{{2}) did that. (that's what made the template not subst)
  4. Your signature has a displayed vertical bar in it. As it says in the relevant section of your preferences, Note: to use a displayed pipe (", which only didn't cause a huge wikimarkup mess because of the previous problem.
{{3x|p}}ery (talk) 21:11, 5 April 2018 (UTC)[reply]