There are four different versions (6 with variants): Number "list=1", Letter "list=A", Roman Numeral "list=I", and Plain Bullet "list". Both Letters and Roman Numerals have uppercase and lowercase modes ("=I" -> I, II, III, IV, V, VI or "=i" -> i, ii, iii, iv, v, vi)
Creates a spoiler box with a button to collapse the box. Useful for large quotes and other things that would benefit from being able to collapse. Good for talking about secrets, game endings, and other spoilers.
Enter a YouTube URL to embed the video. Please use only if really necessary since it lags on older computers if there are many videos. Also has a variant to specify size (useful if all you are interested in is the music - see second example - default size is 560x315).
Display a random image, changes every refresh. Only works with pictures uploaded on the forums. Use the last few numbers on the URL of the image, like this: http://www.runouw.com/forums/download/file.php?id=1287 - the red numbers are needed. Write them up, divided by commas.
ALERT The <blink> tag has been deprecated (discouraged and eliminated from newer versions) since HTML 4.0 May be replaced with different code that does the same thing, when I get time...
There are still some others tags, but either we want them secret or they are just plain useless. So eh, have fun with these.
Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation. The foundation of such a method is love.
The opening code. The Bigger the number, the thicker the border. Please don't spam size. 10 should be the largest. 0 just makes it so the table has NO borders/lines in it. Nice for just a list without the border/lines to get in the way. (SuyoEDIT: Or a layout, like in my sig)
Just put as much as you want in the row, no extra code needed. When length is reached with text, the Row will become one line taller. (NOTE: Top and Bottom NEED to match with amount of boxes.) (NOTE: the last box WILL span to the rest of the page, regardless of the size you put.)
[table=1][tr][td=10]Name[/td][td=40]Author[/td][td=50]Description[/td][/tr] [tr][td=10]How to hack your Wii[/td][td=40]Superyoshi[/td][td=50]Play games from USB, have a black Wii Menu and screw around![/td][/tr] [tr][td=10]The unofficial SM63 Book[/td][td=40]Zunar[/td][td=50]A complete walkthrough of the flash game Super Mario 63![/td][/tr][/table]
Replace "RandomNumber" with some random number, it really doesn't matter what it is (This is used to grab that instance of the embedded level player. Not useful now, but will be useful when I get the embedded player working.)
This only works in the SM63 Level Portal, and grabs the thread number from the page URL for the LevelID of the level in the database (the same way SM63 itself grabs them).
The popup link will open a new window and load the level in it. Clicking on the image will do the same.
The new thread/level ("Post Topic") form has been modified to put this tag into all new level submissions with the new usage (as long as you check the "Add Level Player" checkbox).
Old Usage Note: This is currently designed to work with existing usage of the levelplayer tag in the portal (where it has the level code in the tag, instead of the word "new"). Currently, it will ignore the level code and open the level from the thread URL like the new usage defined here.
What DOESN'T work:
The embedded player is still broken. It will currently give you an apology and repeat the popup link.
This tag will not work anywhere else in the forums (specifically because it refers to the "current" thread number, and elsewhere the number it extracts from that page will not line up with a portal thread.)
This will load a level from the old portal, but is currently grabbing the LevelID from the current thread, which will seem kinda random, since the old portal has completely different levels in it from the current one, but has enough to have parallel entries for everything currently existing in the new portal.
I haven't figured out how to get the inline player working yet, but these simpler links are still going to be useful to most folks (note that the text inside can be anything, and also, the numbers used for the levels come from the ThreadID in the Portal):
sm63oldportal Makes a link pointing to a SM63 Level in the old portal (in a new tab/window).
And, these are really the last BBCodes I think would be commonly useful: Link codes
threadlink Makes a link to a specific thread. (requires you to get the ThreadID of the post) Getting the ThreadID is as easy as looking up at the address of the page you are on, and getting the number after the "t=".
postlink Makes a link to a specific post. (requires you to get the PostID of the post) Getting the PostID is a little trickier. At the top of every post is the Name of the thread (at the time the post was made), and under THAT is the name of the user, and the date the post was made. Just to the left of the username is a little white icon that looks like a piece of paper. Hover over that (or click it, if you don't get a tool-tip with the URL), and you will see the address ends in "p=55263#p55263". That repeated number is your PostID.
For all of you budding web designers out there that are frustrated by the limitations of your everyday BBCode, I present FullTables. Coded with about 80% of the full CSS capabilities of tables, You can decorate these beauties to the hilt, now.
It's a beast of a BBCode, with a ton of parameters, but I'll go over them, and show you an example...
The two new BBCodes are fulltable and fulltd (tr really didn't need any upgrades, and would only have confused things more). Both are similar to what you have seen in HTML and CSS, but with a few twists brought about by the maze of php and JavaScript that your post has to wander through before it makes it to the screen. Each parameter has certain data types that it has to contain, to maintain the security of the forums (thus the limitations of BBCode). I have worked around some of those limitations, but not all (thus the 80%).
There must be something in every parameter, thus the width=0 width_type=none (meaning width unspecified - resulting code drops the declaration)
There must be a link in the background image, thus "http://runouw.com/forums/images/spacer.gif" if you don't want to set an image.
width_type and height_type can take "pixels", "percent", and "em" However, border_size is only a number, and is specified in pixels.
border_type can take any valid CSS2 border type: "dashed" "groove" "solid" "double" "inset" "outset" etc.
All features can be set at the table level (fulltable) and at the table cell level (fulltd).
Can set both bg color and bg image - again, for table overall, and per cell.
It has advanced code for properly aligning the overall table ("align=center" broken in HTML, so puts "style=margin:5px auto;" there instead - td simply uses text-align CSS)
Padding is locked for table (fulltable) elements at 3px, but padding can be set for cell (fulltd) elements, and can follow the full CSS Box model with the exception that it cannot be set in percent (since the % symbol makes the BBCode fail, and is the required symbol per CSS rules - so, px and em are Ok, and you can set them all in one, or split top, right, bottom, and left up...)
If there is only one value, it applies to all sides. If there are two values, the top and bottom margins are set to the first value and the right and left margins are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively.
There is an align parameter in both fulltable and fulltd, but they act differently in each.
On the fulltable tag, there is an align parameter that applies to the whole table and sets up spacing on the outside of the table - left puts the whole table on the left, right puts the whole table on the right, and center puts the whole table in the center of the post.
However, on the fulltd tag, there is an align parameter, and that applies to the contents of the inside of the table - left puts the table contents to the left of the cell, right puts the table contents to the right off the cell, and center puts the table contents to the center of the cell. In fact, the fulltd tag can align both horizontally and vertically. The full list of possibilities are shown below.
Full Breakdown of fulltd (fulltable is just missing the padding parameter)
width=700
Number only, usual max post width is 700px
width_type=pixels
Words only, can take "pixels" "percent" and "em"
height=0
Same as Width - Number only. For both width and height, if you are not going to set it, put a zero there.
height_type=none
Same as Width - Words only, can take "pixels" "percent" and "em" For both width and height, if you are not going to set it, put "none" there.
text_color=white
Can take any CSS authorized entry - named color, hex RGB (#FF8800), etc.
bg_color=black
Can take any CSS authorized entry - named color, hex RGB (#FF8800), etc.
bg_img=http://runouw.com/forums/images/spacer.gif
MUST be set. If you are not going to use it, set it to an empty spacer, as I have done here. (Also now takes http://none.com - it needs to parse as a valid address. This is the shortest I could make it.)
align=right
This is actually a combination of vertical and horizontal alignment, and can set one or both. Takes "top", "middle" (vertical, default), "bottom", (left is default), "center" (horizontal), "right", and all combinations - "top_right", "top_center", "middle_right", "middle_center", "bottom_right", and "bottom_center". Any other text will result in it not setting anything (which is technically middle-left).
border_size=3
Number only. Automatically in pixels.
border_color=red
Can take any CSS authorized entry - named color, hex RGB (#FF8800), etc.
border_style=inset
Can take any CSS authorized entry - "dashed" "dotted" "groove" "ridge" "solid" "double" "inset" and "outset"
padding=3px 3px 7px
Can take any CSS authorized entry - all unit types, with the exception of percentage (do not forget that you DO have to put the unit type here, as versus above), separate sides per the box model
Also, since Raiyuuni asked for it, here's HR too! (minus center align, minus text color, plus margin)
A bunch of minor fixes in the first post - corrected color (not British, also added named color version), youtube (added size version), popup (made better description, moved), added Fulltable, and moved IS.
Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation. The foundation of such a method is love.