Page 1 of 1

Code and Pre tags

Posted: Sat Oct 02, 2021 11:51 pm
by mgtremaine
I just noticed that the Code tag has changed recently and all are nicely pre-formatted tables are busted. I started to dig into it but then quickly just created a Pre tag and put into the posting Button list. So if you ar trying copy a pre-formatted table in use Pre going forward.


ADDED: OK I fixed it mostly but you can see the difference in the results where PRE is very simple and Code is a more complex presentation. Use which ever you prefer.

-Mike

Example:

Pre:
==========================================
              Magic-User Spells
==========================================
 Magic-    Spells   Memorized   per    Day
  User     B y     S p e l l     L e v e l
 Level     1     2     3     4     5     6
------------------------------------------
   1       1     .     .     .     .     .
   2       2     .     .     .     .     .
   3       3     1     .     .     .     .
   4       4     2     .     .     .     .
   5       4     2     1     .     .     .
   6       4     3     2     .     .     .
   7       4     3     2     1     .     .
   8       4     3     3     2     .     .
   9       4     4     3     2     1     .
  10       4     4     3     3     2     .
  11       4     4     4     3     2     1
  12       4     4     4     3     3     2
-------------------------------------------
Code:
  Code:
==========================================
              Magic-User Spells
==========================================
 Magic-    Spells   Memorized   per    Day
  User     B y     S p e l l     L e v e l
 Level     1     2     3     4     5     6
------------------------------------------
   1       1     .     .     .     .     .
   2       2     .     .     .     .     .
   3       3     1     .     .     .     .
   4       4     2     .     .     .     .
   5       4     2     1     .     .     .
   6       4     3     2     .     .     .
   7       4     3     2     1     .     .
   8       4     3     3     2     .     .
   9       4     4     3     2     1     .
  10       4     4     3     3     2     .
  11       4     4     4     3     2     1
  12       4     4     4     3     3     2
-------------------------------------------

Re: Code and Pre tags

Posted: Thu Oct 07, 2021 12:31 am
by mushgnome
Thanks Mike! I fixed my Druid class tables. Good work. :)

Re: Code and Pre tags

Posted: Fri Oct 15, 2021 2:54 pm
by ehiker133
Hey, Mike, I know this is somewhat off the topic, but... all of the mouse-over text for the custom buttons is gone. Or, rather, the mouse-over text is the same as the actual button name, which isn't terribly helpful.

Can we get the help text put back?

I think...
"C" is "Chaotic"
"D" is "Dialogue (normal)"
"L" is "Lawful"
"M" is... ???
"N" is "Neutral"
"ic" is "In Character"
"mono" is... ???
"oc" is "Out of Character"
"pre" is... ???
"s" is "Strike through"

Sorry, I've never used some of them and have no idea what they mean anymore...

Re: Code and Pre tags

Posted: Fri Oct 15, 2021 4:37 pm
by mgtremaine
Intersting... It the Admin panel "C" has this defined as the mouse over help: Chaotic, wicked, insideous

But clearly it doesn't appear which probably means the issue in the CA Vintage template. Sadly that template is not really maintained and I've had manually edit pieces of it to restore some of these features. I'll poke around and see if I can find that issue in the html.

-Mike

PS -

"M" is... ??? => Magic
"mono" is... ??? => Monospace font
"pre" is... ??? => Pre-formatted text

Re: Code and Pre tags

Posted: Fri Oct 15, 2021 9:44 pm
by mgtremaine
This is fixed also... Thanks for bringing it up. Again the html was wrong in the template.. sigh. You get what you pay for and it was free haha.

-Mike

Re: Code and Pre tags

Posted: Sun Oct 17, 2021 11:40 pm
by ehiker133
Thanks, Mike!