Code and Pre tags

Forum features, help, and how tos

Posts: 1751
Joined: Thu Sep 05, 2013 1:17 am
Location: San Diego, Ca

Post by mgtremaine » Sat Oct 02, 2021 11:51 pm

Code and Pre tags

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
-------------------------------------------
Wen the Pale, Elf Hero/Spellbinder (MV 12", AC 9, HD 4/2, hp 11/11, FC Hero, L) helm, bow
Kiplyn Sorefoot, Hobbet Thief (Lv: 3 AC: 6 Hp 6) Leather+Shield+Dagger, Sling

Posts: 2073
Joined: Tue Sep 17, 2013 11:12 pm
Location: Upper Miskatonic Valley

Post by mushgnome » Thu Oct 07, 2021 12:31 am

Re: Code and Pre tags

Thanks Mike! I fixed my Druid class tables. Good work. :)

Posts: 1925
Joined: Mon Sep 16, 2013 3:33 pm
Location: Just west of St. Louis

Post by ehiker133 » Fri Oct 15, 2021 2:54 pm

Re: Code and Pre tags

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...
Dougal Blackfoot (MV 9", AC 6, HD 1, HP 10/10, FC 1 Man) leather, short sword+main gauche

Posts: 1751
Joined: Thu Sep 05, 2013 1:17 am
Location: San Diego, Ca

Post by mgtremaine » Fri Oct 15, 2021 4:37 pm

Re: Code and Pre tags

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
Wen the Pale, Elf Hero/Spellbinder (MV 12", AC 9, HD 4/2, hp 11/11, FC Hero, L) helm, bow
Kiplyn Sorefoot, Hobbet Thief (Lv: 3 AC: 6 Hp 6) Leather+Shield+Dagger, Sling

Posts: 1751
Joined: Thu Sep 05, 2013 1:17 am
Location: San Diego, Ca

Post by mgtremaine » Fri Oct 15, 2021 9:44 pm

Re: Code and Pre tags

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
Wen the Pale, Elf Hero/Spellbinder (MV 12", AC 9, HD 4/2, hp 11/11, FC Hero, L) helm, bow
Kiplyn Sorefoot, Hobbet Thief (Lv: 3 AC: 6 Hp 6) Leather+Shield+Dagger, Sling

Posts: 1925
Joined: Mon Sep 16, 2013 3:33 pm
Location: Just west of St. Louis

Post by ehiker133 » Sun Oct 17, 2021 11:40 pm

Re: Code and Pre tags

Thanks, Mike!
Dougal Blackfoot (MV 9", AC 6, HD 1, HP 10/10, FC 1 Man) leather, short sword+main gauche

Return to “Forum Help”

cron
Powered by phpBB® Forum Software © phpBB Limited
Designed by ST Software.