Template talk:Spell table

I updated this template to use CSS styles. The background color is a little darker than the background for the Spell template so the spell table is easy to distinguish from other elements. It follows the same general style as percentage table now, with a right-aligned right column. For a good example, take a look at Cure Light Wounds. Let me know if there are any concerns with the design or problems on specific pages. &mdash;Moviesign (talk) 20:10, November 8, 2014 (UTC)

2nd edition spheres?
Not sure if this is the right place, but I wanted to ask if it really makes sense to put the 2nd edition spheres in the spell table at priest spells. In contrast to 3rd edition divine domains, a 2nd edition cleric (or druid) spell will always be part of a sphere, which should already be stated in the line just above in the spell template, and it will always be the same level. To me it seems there is no additional information, just the same stated twice. Opinions? Daranios (talk) 17:40, April 2, 2016 (UTC)


 * Spheres and domains each automatically generate a category when you put them in the Spell table. It's a little redundant, but handy. &mdash;Moviesign (talk) 18:15, April 2, 2016 (UTC)


 * Ah, I didn't realize that. Sounds handy enough. Daranios (talk) 18:23, April 2, 2016 (UTC)

Categories for 5th edition rituals
In 5th edition, spells that can be cast as rituals in general also can be cast as regular spells by using spell slots as normal. However, using the tag  prevents generation of level-specific categories. For example, comprehend languages is a 1st-level bard spell that can be cast as a ritual, so using the tag puts it in Category:Bard rituals (5e), but it is not listed in Category:1st-level bard spells (5e) nor Category:Bard spells (5e). Is this by design? Personally, I would prefer 5th edition rituals to be listed in both spells and rituals categories, since they can be cast as either. &mdash; Sirwhiteout (talk) 14:40, June 10, 2017 (UTC)


 * I will look into this and get back to you. BTW, in case you didn't know, you don't have to use  tags to display categories. You can link to them without placing the page in the category like so: Category:Bard spells (5e). &mdash;Moviesign (talk) 16:22, June 10, 2017 (UTC)


 * Thanks! I didn't know how to properly format the question, so I just used  everywhere. I edited it to reflect the original intent. &mdash; Sirwhiteout (talk) 17:31, June 10, 2017 (UTC)


 * Okay, it looks like this template is not compatible with rituals in 5th edition yet. In 4th edition, rituals were not associated with a class, so the template didn't have to worry about it. In 5th edition, ritual is a tag that goes on a spell that can be cast by certain classes, but not all classes can cast the spell as a ritual. Therefore, we should never be generating Category:Ranger rituals (5e) for example (which it does right now). (Note that anyone can cast rituals if they take the Ritual Caster feat, but this is an option and not something the template needs to be aware of.)


 * Because of this, I think we should not be generating class-specific ritual categories (like Category:Bard rituals (5e)) but rather using the Category intersection to generate a list of all spells that are in both Category:Bard spells (5e) AND Category:Rituals (5e). Removing  from the template will generate all the "spell" categories again, but then the level-specific ritual categories will not be generated (e.g., Category:2nd-level rituals (5e)). If, where, and how this category should be generated, I will have to think about. Thoughts? &mdash;Moviesign (talk) 16:51, June 11, 2017 (UTC)