Cel link BBCode

All about writing scripts for Celestia in Lua and the .cel system
Topic author
Mneme
Posts: 78
Joined: 01.06.2010
With us: 13 years 11 months

Cel link BBCode

Post #1by Mneme » 18.08.2013, 22:59

This forum might benefit from the addition of a [cel][/cel] BBCode such as this: http://f.tarazedi.com/viewtopic.php?f=18&t=187

If you're inclined to add such a thing, mine looks like this:

BBCode:

Code: Select all

[cel]{TEXT}[/cel]


HTML replacement:

Code: Select all

<a href="{TEXT}" style="font-size:7pt; color:#0099FF" title="Go to this location in Celestia">Cel <img src="http://f.tarazedi.com/images/icons/pleiades.png" style="vertical-align:top"></a>


Example usage:

Code: Select all

[cel]cel://Follow/Albireo/2013-08-18T02:03:56.21004?x=AAAAUB+GA7Mw+f7//////w&y=AAAAwC7Wuqjquf3//////w&z=AAAAIKlMe53uTv7//////w&ow=0.342915&ox=-0.341884&oy=0.814695&oz=-0.319055&select=Albireo&fov=37.351&ts=1&ltd=0&p=0&rf=3986879&lm=1635359&tsrc=0&ver=3[/cel]

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 4 months

Re: Cel link BBCode

Post #2by Chuft-Captain » 19.08.2013, 16:26

You mean like this? --> Cel
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Topic author
Mneme
Posts: 78
Joined: 01.06.2010
With us: 13 years 11 months

Re: Cel link BBCode

Post #3by Mneme » 21.08.2013, 18:59

Well, that's just a [url] tag isn't it? You're no fun. :p

I am curious what the [tex] tag is though?

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 8 months

Re: Cel link BBCode

Post #4by John Van Vliet » 22.08.2013, 01:20

--- edit----
Last edited by John Van Vliet on 18.10.2013, 10:56, edited 1 time in total.

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 4 months

Re: Cel link BBCode

Post #5by Chuft-Captain » 22.08.2013, 23:23

Unfortunately, as you can see from your post John, latex rendering has been broken on this forum since at least a year or two ago (I think since the last phpBB upgrade). 8O
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS


Return to “Scripting”