New BBCode (Pardon Our Dust Beta Version) - Printable Version +- Eagle Time (https://eagle-time.org) +-- Forum: Archive (https://eagle-time.org/forumdisplay.php?fid=25) +--- Forum: Announcements (https://eagle-time.org/forumdisplay.php?fid=26) +---- Forum: Eagle Time Forums (https://eagle-time.org/forumdisplay.php?fid=3) +---- Thread: New BBCode (Pardon Our Dust Beta Version) (/showthread.php?tid=3876) |
New BBCode (Pardon Our Dust Beta Version) - Sunspider - 09-11-2018 As some folks may know, part of the recent forum overhaul involved adding some shiny new BBCode Formatting Tags and features. They're all coded up for the most part, but we'll be rolling out new features a bit at a time, to make sure they're in good working order. If you want to make use of 'em, keep your eyes on this thread! NOTE 1: The rich-text editor doesn't currently recognize these tags, and gets confused parsing them (especially when not in Source Mode). If you plan to use them, I'd suggest editing your posts in an external notepad and copypasting them in to preview, since it has a bad habit of eating posts sometimes. At very least, edit in Source Mode by clicking on the page button on the editor (you can also set Source Mode to be default in your user settings). And keep backups as you work, because the editor might eat posts because of this. Also, keep an eye out for the editor auto-replacing tags with tags you don't want. Hoping to get tags fixed in the editor ASAP, but it's a big fix. Bear with it for now, please. It'll get better. NOTE 2: Apologies for any broken or borked features. Bug will need to be ironed out, old tags may be messed up for a bit, and it's possible that some of these tags may change how they look/work in the next few weeks. I'll do my best not to break anything if they get redesigned extensively. Also, if you have any trouble with these tags, please leave a note here Expanded Text Styling: First of all, here are some returning tags, which have been enhanced with handy new features. Also, anything given in all caps is a parameter; for example COLOR is a hex color code or name, while ### represents a number up to 3 digits long. If you have any questions about how these are used, please ask!
Neutral outlines help [outline=#808080][c=yellow]Light Text[/c][/outline] show on light bgs, and [outline=#808080][c=purple]Dark Text[/c][/outline] show on dark bgs! New Fonts: We're test-driving a series of new fonts. These might get pared down a bit in time, and others are still to be added. They're applied with [noparse]TEXT[/noparse] as before. The full list of potential new fonts can be found here! [fixed][3x1] Acme Audiowide Caveat Brush Creepster Dancing Script Delius Swash Caps Electrolize Flavors Glass Antiqua Grand Hotel Indie Flower Kelly Slab [|] Lato Lobster Two MedievalSharp Mina Monoton Montserrat Alternates Mystery Quest Nanum Pen Script Nova Square Open Sans Oregano Pacifico [|] Poiret One Princess Sofia Redressed Righteous Roboto Share Special Elite Sunshiney Ubuntu Mono Unica One Unifont VT323 [/3x1][/fixed] Enhanced Background Tags: Backgrounds have several new features! They now expand to cover all of the content they're placed around, allowing you to put background colors behind images, spoilers, code blocks, and more! In addition, there are new image backgrounds, which allow you to put stretched or tiled images behind your content, to create graphical text elements and such.
https://en.wikipedia.org/wiki/Dancing_baby Wrote:The Dancing Baby animation spread quickly on popular web forums, individual web sites, international e-mail, demo videos, commercials, and eventually mainstream television. Awareness of the baby most significantly increased when featured on CBS, CNN, and Fox's Ally McBeal comic drama series. The animation was shown on several episodes of Ally McBeal as a recurring hallucination, suggesting a metaphor for the ticking of Ally's biological clock. On that show, it was curiously accompanied by Blue Swede's cover of the B. J. Thomas song "Hooked on a Feeling." Various commercial advertisements presented the Dancing Baby animation to international markets continuing the mainstream media attention. This particular manifestation of the video, bound to the song, is widely distributed and referred to as the "Ugachaka (or Oogachaka) Baby." This case used "style=tile-bottom" to tile the fire only along the bottom of the text. Also, the [noparse][bg][/noparse] tag is 2 lines of text tall, so the fire can extend beyond the top of the text. I lit this text on fire for you. I hope you like it. Box Tags: A new tag for organizing and styling content. By default, it draws a box that shrinks around whatever's inside it, and fits in the same line as other content, making highly customizable containers similar to quote or code boxes.[noparse][box]CONTENT[/box][/noparse] is the simplest form of box tag. [box]Behold! I am a normal box![/box] And I'm some text that's in the same line as the box, but I figure I'll just wrap around to the next line or so when we're done running parallel? Like, I'm lined up with the bottom, not the top of the box, so... this is just where I is, I guess. Box tags can also be given color and border size parameters, like [noparse][box=grey border=2]CONTENT[/box][/noparse]. NOTE: If you want to make a box invisible, just use the color "transparent"; this is a color value that works on other tags too, if you didn't know! [box=#F69 border=4]I'm a pink box that's given a border size of 4 pixels! :O[/box] Normally, boxes shrink to fit their content, but if given a size they will constrain their content to fit within that size instead. Much like images, boxes can be resized by [noparse][box width=### height=###]CONTENT[/box][/noparse] parameters. You can also use size=###x### to define both dimensions at once, or use x=### and y=###. [box width=250 height=100]I am a box that's been told to be 250 pixels wide by 100 pixels tall. When there's too much content like text or big images, I get scrollbars all up in my business, which lets users scan around. Works horizontally or vertically, though only goes horizontal if it's gotta. Images that are too wide, for example.[/box] When giving a box a width=full or size=full parameter, the box is set to be full-width, and stretch to fill whatever content it's inside. [box width=full]My text is much smaller than full width![/box] Also note that tags like [noparse][url] or [bg][/noparse] affect all the content inside them, so you can make these apply to the entire box, and all it's contents. It might not seem like much on it's own, but when combined together, this tag can create some fun content wrappers, like this boy right here. [box=#0CF][bg=#069][box=#fff]What is Lorem Ipsum?[/box] [box=#0CF]Why should I care?[/box] [box=#0CF]Original Text[/box] [box=#0CF]Quit[/box] [box=transparent height=200]> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.[/box][/box][/bg] And, for what might be my favorite feature, the box tag can also be given an image to turn into a border for it. This can create textboxes, faux UI elements, buttons, word bubbles, or other graphical text elements. [noparse][box=URL]CONTENT[/box][/noparse] will chop up the image URL you give it into 3x3 equal pieces, and use it to create the edges, corners, and background for a graphical box! <-- This is the raw image, which gets chopped up into 3x3 tiles... [box=https://i.imgur.com/dNiP06K.png border=32]...and this is the box that gets drawn using the edges, corners, and background tiles made from it. And if you feel really sassy, you can make it a gif, and it'll be animated.[/box] NOTE: You can still give it a width=###, height=###, and/or border=### like above too, which looks like [noparse][box=URL width=### height=### border=###]CONTENT[/box][/noparse]. Since the border parameter resizes the border thickness of the image, if it's important to match the scale of the raw image as closely as possible, the border=### should be equal to 1/3 of the image size, or the width of one of the 3x3 tiles. Layout Tags: Layouts are a powerful new tag for arranging content. Think of them like invisible tables, with rows and columns. They can be used to make grids, stick content that can't normally be side-by-side next to each other, or even make a boring old data table. NOTE: For now, layouts can be at most 5x5 cells. Bigger layouts coming soon. Like lists, Layouts are built with multiple tags:
Example of a 3-by-3 layout: Code: [3x3] Layouts can be used to do all sorts of things, like create textboxes that resize to fit their content... [2x1][img width=96]https://i.imgur.com/MKwOx6i.png[/img] [|] Hi there. It's me, famous game director Todd Howard. We here at Bethesda Game Studios have heard what you've been saying, and I'm very excited to announce that we are finally porting Skyrim to Eagle Time. Soon, you'll be able to share interactive text and graphics-based adventures featuring all your favorite vikings, lizards, and wizards in a living, breathing message board environment. [/2x1] ...put normally full-width content like quotes and spoilers side-by-side in even-sized [noparse][fixed][/noparse] tables... [fixed][2x1] My Left Brain Wrote:Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs Dogs[|] My Right Brain Wrote:Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats Cats[/2x1][/fixed] ...and whatever else you crazy kids get up to these days. I'm not your boss. Web Embed Tags: PLEASE USE RESPONSIBLY!!! This is a test-drive of a new feature; allowing users to embed an external webpage inside a frame in their post. This is intended for use in creating interactive content, minigames, or animations to go with adventures using HTML, to fill the sort of role older content like Flash used to. For now, you'll need an external place to host HTML; if you don't have a server, places like free Github Pages work well too. If it's useful and people are good about it, we may be able to make hosting interactive content like this easier in the future. NOTE: It's equivalent to forcing someone to automatically open a new tab on their browser, so don't abuse it or overdo it!
RE: New BBCode (Pardon Our Dust Beta Version) - Artem1s - 09-11-2018 GOSH THIS IS ALL SO COOL YOU DID SUCH A GOOD JOB SUNSPIDER!!! RE: New BBCode (Pardon Our Dust Beta Version) - BRPXQZME - 09-11-2018 I am appreciating the Toddposting RE: New BBCode (Pardon Our Dust Beta Version) - Myeth - 09-11-2018 AAAAAAAAAAAAAAAAAAAAAAAAA RE: New BBCode (Pardon Our Dust Beta Version) - Reyweld - 09-11-2018 Wow wow wow WOW WOW WOW! Sunspider, you are awesome! Thank you for all this new stuff! RE: New BBCode (Pardon Our Dust Beta Version) - Ubersketch - 03-16-2019 You should be able to remove the border around web imbeds. Also resizing doesn't work, but it's beta so... RE: New BBCode (Pardon Our Dust Beta Version) - Sunspider - 03-17-2019 Thanks for the heads up on the [web] tag. The "width=###" and "height=###" parameters both worked, but I fixed an error with the "size=###x###" parameter (it was still looking for a size percent, rather than a pixel size). Should work now. Also, just to reiterate, I'm not yet sure I want to remove the frame around web embeds. It shouldn't be that disruptive, and marks the contents of the tag as something separate from the rest of the post content, which is definitely my preference for a few reasons. If there are enough people making use of it, and would prefer it was seamless with the rest of the post content, please let me know, and I'll be happy to reconsider this. Also also, I added support for the font "Unifont" on request, and added it to the font examples above. It's a fixed-width terminal style font that supports a lot of language and special characters. NOTE: It may not work on all mobile browsers. |