Template talk:Rating

From D&D Wiki

Jump to: navigation, search

Headers in Templates[edit]

As a general rule, it's bad policy to put headers in templates, because of the funny side-effects with section editing. Also, you can't put tilda's (~~~~) in the template, because they always get substituted, so anyone using this template will always get "--Hawk 21:50, 29 February 2008 (MST)" for the signature regardless of who used the template and what time it was added.

Thanks for that was just messing around I guess didn't know that though. Don't suppose you could think of a way to do this then? -Hawk 06:08, 1 March 2008 (MST)
I have an idea, but I won't know for sure until I finish messing around with the spell form. —Sledged (talk) 09:35, 1 March 2008 (MST)
I just figured a solution have a look sandbox. The form this is for uses subst: which is a much better solution now that I think about it. Basically the form allows you to easily rate articles and when you hit save it will place the contents of the template on the articles fixing the heading problem and allowing for easier reading of the code and formating. Rate this page --Hawk 22:10, 2 March 2008 (MST)
Feel free to test what i've done so far by Rating this page. When you click that page it will show a warning message saying that the current page does not use this form ignore it, I know you can turn that off completely by editing /includes/SF_FormPrinter.inc and commenting out the three lines of code around sf_editdata_formwarning but that wouldn't be great the warning can be useful can anyone think of a way to selectively turn off the warning ie: make a tag that when present removes it? And does anyone know why my fields aren't coming up as drop downs for the ratings on the form? --Hawk 22:25, 2 March 2008 (MST)


This is not as versatile as the current way of doing ratings... For example, how would the rating on the Marksman be formatted using this? --Green Dragon 12:29, 1 March 2008 (MST)

I do not know how you put the ratings on the actual page I haven't looked into it. This was an experiment to see if instead of a link to rate this class which led to a preload to put a rating on a talk page see if we could make a form instead. What I mean to say is you click rate this class it leads to a form which you would fill out and it would automatically add the data to the talk page (By using Special:EditData/Rating/Talk:<classname>). I wanted to make it format out exactly as the preload does it but as Sledged said it isn't working yet. --Hawk 21:41, 1 March 2008 (MST)


This template is really cool, good work! However, and really the only area of improvement I can see, is the param names. I think, to make it more logical, they should be changed from Power_Rating, Formatting_Rating, etc to Rating_Power, Rating_Formatting, Rating_Wording, Reason_Wording, etc. Thoughts? --Green Dragon 22:23, 2 March 2008 (MST)

Sounds fine to me i'll make the changes --Hawk 22:27, 2 March 2008 (MST)
Cool, thanks :). --Green Dragon 22:35, 2 March 2008 (MST)
Personal tools
Home of user-generated,
homebrew pages!
system reference documents
admin area
Terms and Conditions for Non-Human Visitors