Template talk:ESp

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Edit request on 6 June 2013[edit]

please change the code from this

{{EP
 |{{#switch:{{lc:{{{1|}}}}}
  |page move|move request|pagemove|moverequest|move|rpm|rm|pm|m
  |d|do|done
  |pd|prtdo|partly done
  |deny|not|notdone|not done|n
  |nfn|ndfn|not now|notnow|now
  |consensus|c
  |specific|spec|detail|?
  |ad|a|already
  |question
  |ques
  |q
  |rs
  |r|rfpp|rfp
  |doc
  |nlp|no longer protected
  |permission|perm|p
  |note
  |misplaced|mis
  |xy={{{1}}}
  |u|un|unprotected=semi
 }}
 |ESp=yes
}}

to this

{{EP|{{{{{|safesubst:}}}#switch:{{lc:{{{1|}}}}}
  |page move|move request|pagemove|moverequest|move|rpm|rm|pm|m
  |d|do|done
  |pd|prtdo|partly done
  |deny|not|notdone|not done|n
  |nfn|ndfn|not now|notnow|now
  |consensus|c
  |specific|spec|detail|?
  |ad|a|already
  |question
  |ques
  |q
  |rs
  |r|rfpp|rfp
  |doc
  |nlp|no longer protected
  |permission|perm|p
  |note
  |misplaced|mis
  |xy={{{1}}}
  |u|un|unprotected=semi
 }}|ESp=yes}}

which will lessen the mess if someone substitutes the template (see here). I added substitution prevention to the {{EP}} template since I can't see a reason for substituting that one, since it would make an even bigger mess. Frietjes (talk) 21:17, 6 June 2013 (UTC)

feel free to move this request when responding, but I thought I would leave it here to make it clear which template I was discussing. Frietjes (talk) 21:19, 6 June 2013 (UTC)
I added a html comment for displaying and not redirecting the page. Feel free to restore the redirect. mabdul 07:25, 7 June 2013 (UTC)
Not done for now: Changed it, tried it, didn't work, reverted. The problem was that the parameter {{{1}}} wasn't being passed through - I have encountered such problems before, and it comes down to a failure of {{subst:#switch:{{expression}}|...}} to subst cleanly - it's done outside-in, so the expression is seen as something beginning with brace, which isn't one of the switch test values. The whole switch therefore comes back with its #default= value (if there is one) or blank (if there isn't).
It's probably a good idea for you to put your proposed new version into Template:ESp/sandbox, see WP:TESTCASES. --Redrose64 (talk) 19:54, 7 June 2013 (UTC)
I made the change. It looks like you were missing a safesubst for the lc:. The testcases seem to indicate everything works now. Thanks! Plastikspork ―Œ(talk) 01:55, 9 June 2013 (UTC)

Edit request on 13 August 2013[edit]

Make these changes. Jackmcbarn (talk) 20:53, 13 August 2013 (UTC)

Yes check.svg Done --Shirik (Questions or Comments?) 07:01, 16 August 2013 (UTC)

Edit request on 23 August 2013[edit]

Make these changes. This greatly simplifies the code and removes the need to change this template when new options are added to Template:EP. Jackmcbarn (talk) 01:31, 23 August 2013 (UTC)

Done. What a very good idea. :) — Mr. Stradivarius ♪ talk ♪ 06:42, 24 August 2013 (UTC)

edit request![edit]

Please make {{ESp|xy}} to read from "Not done: it's not clear what changes you want made. Please mention the specific changes in a "change X to Y" format", to "Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format". Anupmehra -Let's talk! 01:33, 15 May 2014 (UTC)

Padlock-silver-open.svg Not done: According to the page's protection level and your user rights, you should be able to edit the page yourself. If you seem to be unable to, please reopen the request with further details. Despite what the first graphic and icon says, I've Yes check.svg Done this for you, although it is true that you could've done it yourself. I understand templates can be intimidating, especially ones like this in which the actual code is hosted on {{EP}}. — {{U|Technical 13}} (tec) 01:58, 15 May 2014 (UTC)
  • Thanks. I actually didn't find codes to edit on this page. I could have done it myself if I knew it is at {{EP}} before. Thanks again! Anupmehra -Let's talk! 03:05, 15 May 2014 (UTC)