![]() |
Wiki cleric page
Dunno where to post this, so apologies ahead of time -
On: https://wiki.project1999.com/index.p...ic&action=edit In spells, some levels are missing the <tr> tag for the first element. Code:
==Level 50== Code:
==Level 49== |
That might be my fault - I redid that spell list a couple years back because it was an absolute mess. In any case: https://wiki.project1999.com/template:disclaimer
|
I created a new "SpellRow" template, then applied it to the whole Cleric spell page. This should make everything have uniform HTML (no missing TRs), plus it will be easier to edit spell lists (not like that happens much anymore). As an added bonus, once I apply the template to all of the other classes it makes the possibility of switching to an improved style (eg. http://wiki.project1999.com/Bard/Songs) a lot easier.
If anyone out there wants to help and knows regular expressions (all I did to "upgrade" the Cleric page was use a regex-based find/replace) here are the basic regexs I used (although I had to tweak and re-run them a few times to handle slight variations): Find: Code:
\w*(?:<tr.*?>)<td width='22%'>\[\[(.*?)\]\]</td><td width='52%'>(.*?)</td><td width='5%'>(?: )</td><td width='5%'>(.*?)</td><td width='8%'>(.*?)</td><td width='5%'>(.*?)</td></tr> Code:
{{SpellRow |
All times are GMT -4. The time now is 10:16 PM. |
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.