===== BBCode Cheatsheet ===== BBCode is a markup language that allows users to format text in online forums, blogs, and other websites. BBCode uses tags enclosed in square brackets to indicate how the text should be displayed. For example, [b]bold[/b] will make the text **bold**. Here are some common BBCode tags and their usage: | **Tag** | **Usage** | **Example** | **Output** | | [b]...[/b] | Makes the text bold | [b]Hello[/b] | **Hello** | | [i]...[/i] | Makes the text italic | [i]Hello[/i] | //Hello// | | [u]...[/u] | Underlines the text | [u]Hello[/u] | __Hello__ | | [s]...[/s] | Strikes through the text | [s]Hello[/s] | Hello | | [color=...]...[/color] | Changes the color of the text | [color=red]Hello[/color] | Hello | | [size=...]...[/size] | Changes the size of the text | [size=20]Hello[/size] | Hello | | [font=...]...[/font] | Changes the font of the text | [font=Arial]Hello[/font] | Hello | | [url]...[/url] | Creates a hyperlink | [url]https://melonland.net [/url] | https://melonland.net | | [url=...]...[/url] | Creates a hyperlink with custom text | [url=https://melonland.net]MelonLand [/url] | [[https://melonland.net|MelonLand]] | | [img]...[/img] | Inserts an image - add "nocache=1" to bypass caching | [img]https://melonland.net/logo.png [/img] | (image) | | [3d]...[/3d] | Inserts an 3d model - accepts width/height & x3d nav | [3d]https://melonland.net/model.x3d [/3d] | (3D iFrame) | | [quote]...[/quote] | Creates a quote box | [quote]Hello[/quote] | (quote) | | [quote=...]...[/quote] | Creates a quote box with the author's name | [quote=Molly]Hello[/quote] | (quote by Molly) | | [code]...[/code] | Creates a code box | [code]Hello[/code] | (code) | | [list]...[/list] | Creates an unordered list | [list][*]Item 1[*]Item 2[/list] | (list) | | [list type=decimal]...[/list] | Creates an ordered list | [list type=decimal][li]Item 1[/li][/list] | (list) | | [list type=lower-alpha]...[/list] | Creates an ordered list with letters | [list type=lower-alpha][li]Item 1[/li][/list] | (list) | | [list type=lower-roman]...[/list] | Creates an ordered list with roman numerals | [list type=lower-roman][li]Item 1[/li][/list] | (list) | | [li]...[/li] | Creates a list item | See above | See above | | [center]...[/center] | Centers the text | [center]Hello[/center] | Hello | | [left]...[/left] | Aligns the text to the left | [left]Hello[/left] | Hello | | [right]...[/right] | Aligns the text to the right | [right]Hello[/right] | Hello | | [spoiler]...[/spoiler] | Hides the text until clicked | [spoiler]Hello[/spoiler] |(hidden) | | [spoiler=...]...[/spoiler] | Hides the text until clicked with a custom title | [spoiler=Facts]Hello[/spoiler] |(hidden) | | [marquee]...[/marquee] | Animated text to move | [marquee]Hello[/marquee] | (Animated Hello) | | [blink]...[/blink] | Animated text to flash | [blink]Hello[/blink] | (Animated Hello) | | [spin]...[/spin] | Animated text to spin | [spin]Hello[/spin] | (Animated Hello) | | [emo]...[/emo] | Cool Emo formatted text | [emo]Hello[/emo] | (heLL0) | | [webgarden]...[/webgarden] | Allows you to embed a [[web_gardens|webgarden]] | [webgarden]https://melonland.net/webgarden [/webgarden] | (webgarden) | | [tart]...[/tart] | Changes the font to be more robotic, specifically designed for ascii art. | [tart]ascii art goes here[/tart] | (Ascii Art) | | [glow]...[/glow] | Makes the text glow | [glow=orange,2]text or more BB Code[/glow] | (glowing text) | | https://youtube.com/watch?v=xxxxxxxxx | YouTube embed. If you are very curious, the bbcode is [youtube]...[/youtube], which you won't need because videos embed without the code anyways | https://m.youtube.com/watch?v=dQw4w9WgXcQ | (youtube video) | | https://vimeo.com/xxxxxxxxx | Vimeo embed. The tag is [vimeo]...[/vimeo]. bbcode not needed. | https://vimeo.com/611776525?fl=pl&fe=vl | (vimeo video) | | [mod]...[/mod] | Write a mod note in a nice pink sticky note. Forum moderators can only use this. It won't work for normal users, as it will make the text disappear if they try to use it. | [mod]something something important[/mod]| (mod note) | | :emojiname: | Insert an emoji. | :smile: | {{:smiley.gif?20|}} | Additionally see the [[https://wiki.simplemachines.org/smf/Basic_bulletin_board_codes|BBCode reference guide for SimpleMachies Forums]] for more obscure tags ===== Time Format ===== You have the power to adjust how the time and date look for yourself. There are a lot of little letters, but it's quite simple. The conventions follow PHP's strftime function and are described as below (more details can be found at php.net). | **Tag** | **Usage** | | %a | abbreviated weekday name | | %A | full weekday name | | %b | abbreviated month name | | %B | full month name | | %d | day of the month (01 to 31) | | %D* | same as %m/%d/%y | | %e* | day of the month (1 to 31) | | %H | hour using a 24-hour clock (range 00 to 23) | | %I | hour using a 12-hour clock (range 01 to 12) | | %m | month as a number (01 to 12) | | %M | minute as a number | | %p | either "am" or "pm" according to the given time | | %R* | time in 24 hour notation | | %S | second as a decimal number | | %T* | current time, equal to %H:%M:%S | | %y | 2 digit year (00 to 99) | | %Y | 4 digit year | | %% | a literal '%' character | | %@ | Swatch/.beat timestamp @000.00 |