Admin Forum:Redesigning the Delete template

Forums: Admin Central Index → Technical Help → Redesigning the Delete template Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

We have decided to modify our template and adopt wikiHow's deletion policy, which uses three-letter codes instead of manually typing a reason (i.e.  ). You can read about it here. Currently, our wiki uses. Being an active editor at wikiHow, I've gotten community manager's permission to emulate their template.

However, I am not good at advanced syntax, especially when it comes to templates. How can I write the code so that the original message, "This article has been nominated for deletion. This reason for this is:" stays, but the three-letter code is the parameter that changes? Basically, for us, one exmaple would be, which would make "This article has been nominated for deletion. The reason for this is: Personal player pages are not allowed."

Thanks! :) --Immunizations (talk) (contribs) (Habbo page) 03:41, May 30, 2012 (UTC)


 * Hi. In my example I've written in another parser function into the delete template. So the norm is: . Whereas I've changed this too:  . The #ifeq: function compares the input parameter   with "ppp". If they are the same then it will display your wanted text. If they are different then it won't. Feel free to reply if you don't follow my poor explanation. Here's the whole thing if you would like to see it in the code:

 This page is a candidate for speedy deletion.

If you disagree with its speedy deletion, please explain why at Category talk:Candidates for speedy deletion or improve the page and remove the  tag.

Remember to check what links here and [ the page history] before deleting.


 * STARFLEET ACADEMY 07:48, May 30, 2012 (UTC)


 * PS Oh and could you link to your wiki please? so I can give a more tailored answer if need be. :) STARFLEET ACADEMY 07:52, May 30, 2012 (UTC)


 * Thank you. I will try the code out once I get onto a proper computer. The link to my wiki is habbo.wikia.com with the Delete template at Template:Delete. You could also send a message to Imdill3, our techie. --Immunizations (talk) (contribs) (Habbo page) 14:30, May 30, 2012 (UTC)


 * Okay, this topic is moving to the wiki itself.


 * @Immunizations: I've created a new version. It's here on w:c:Habbo:Template talk:D. I've sent you a message on Habbo Wiki as well. Talk soon STARFLEET ACADEMY 07:14, May 31, 2012 (UTC)