Code and Pre tags

Forum features, help, and how tos

Posts: 2047
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
-------------------------------------------
[f=4]Wen the Pale, Elf Hero/Spellbinder (MV 12", AC 9, HD 4/2, hp 11/11, FC Hero, L) helm, bow[/f]
[f=47]Kiplyn Sorefoot, Hobbet Thief (Lv: 4 AC: 5 Hp 12) Leather+Shield+Dagger, Sling[/f]
[f=59]Tass Purrfoot (Agile Hobbet Varlet, MV 9′′, AC 7, HD 2, hp 8, FC 2 men, SV T7, N)[/f]

Posts: 2899
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. :)
[f=59]Stern (Strong Hero, MV 9′′, AC 3, HD 4, hp 20, FC 4 men/hero, SV F4, L)[/f]

Posts: 2136
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...
[f=47]Dougal Blackfoot (MV 9", AC 6, Lvl 4, HP 10/10) [/f]
[f=59]Goldwen (Sagacious* Abbess, MV 9′′, AC 6, HD 2+1, HP 9, FC 2 men, SV C3, L][/f]

Posts: 2047
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
[f=4]Wen the Pale, Elf Hero/Spellbinder (MV 12", AC 9, HD 4/2, hp 11/11, FC Hero, L) helm, bow[/f]
[f=47]Kiplyn Sorefoot, Hobbet Thief (Lv: 4 AC: 5 Hp 12) Leather+Shield+Dagger, Sling[/f]
[f=59]Tass Purrfoot (Agile Hobbet Varlet, MV 9′′, AC 7, HD 2, hp 8, FC 2 men, SV T7, N)[/f]

Posts: 2047
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
[f=4]Wen the Pale, Elf Hero/Spellbinder (MV 12", AC 9, HD 4/2, hp 11/11, FC Hero, L) helm, bow[/f]
[f=47]Kiplyn Sorefoot, Hobbet Thief (Lv: 4 AC: 5 Hp 12) Leather+Shield+Dagger, Sling[/f]
[f=59]Tass Purrfoot (Agile Hobbet Varlet, MV 9′′, AC 7, HD 2, hp 8, FC 2 men, SV T7, N)[/f]

Posts: 2136
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!
[f=47]Dougal Blackfoot (MV 9", AC 6, Lvl 4, HP 10/10) [/f]
[f=59]Goldwen (Sagacious* Abbess, MV 9′′, AC 6, HD 2+1, HP 9, FC 2 men, SV C3, L][/f]

Posts: 16921
Joined: Thu Sep 05, 2013 1:15 am
Location: Melbourne, Australia

Post by waysoftheearth » Tue Jun 21, 2022 12:34 pm

Re: Code and Pre tags

Awesomeness, thanks Mike.

I think I added those additional button configs way back when to support colourful dialog, light source indicators, and in/out of character in the Hinterlands games.

Amazed that you managed to get them going again!
[f=32]Golgildir the Elf Medium (MV 12", AC 9, HD 1, hp 1/1, AL N) great cloak, lantern; spells: color spray; scrolls: sleep, sleep, charm person
Hirelings: Georges; torch[/f]

Return to “Forum Help”

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