PDA

View Full Version : New BB Code


FreezeWarp
07-17-2008, 04:32 PM
Well everybody, I've been playing around and I've added new BB Code. They are designed for use with Pokebattlers Presentations but can be used anywhere.

Table BB Code
Syntax: Cell|Cell
Cell|Cell
Cell|Cell

Example Input: 1|2|3
2|4
3|6|9
4|8
5|10

Example Output:
1|2|3
2|4
3|6|9
4|8
5|10Table Options:
Syntax = {option4=value}1|2
3|4


Option1s:
Head - Has the first row be a head row. This row is not sorted
Example Input: 1|2
3|4
5|6
Example Output: 1|2
3|4
5|6

Option2s:
Width = Specify the width of the table. Define in percentage, pixels, or ems.
Example Input: 1|2
3|4
5|6
Example Output: 1|2
3|4
5|6

Autonum - Adds a first column which numbers each row. Specify either a, A, or 1 for the numbering.
Example Input: 1|2
2|4
3|6
4|8
5|10
Example Output: 1|2
2|4
3|6
4|8
5|10

Option3s:
Sort - Sorts the rows. Specify the the order of columns to be sorted. Put a d after the order for it to sort descending instead of ascending.
Example Input: 1|2|3
2|2|4
4|3|3
1|1|5
3|3|5
1|3|4
3|1|4

Example Ouput: 1|2|3
2|2|4
4|3|3
1|1|5
3|3|5
1|3|4
3|1|4


Option4s:
Colspan - Specifies the colspan of the current row.
Example Input: {colsp=2}1
2|3
Example Output: {colsp=2}1
2|3

PC Pokemon Image BB Code
Syntax = pokemonnumber
Example Input = 112
Example Output = 112

Battle Pokemon Image BB Code
Syntax = pokemonnumber
What type can be:
male - Male
female - Female
males - Male Shiny
females - Female Shiny
TYPE MUST BE IN LOWER CASE
Example Input: 025
Example Output: 025

SlimeBerserker
07-17-2008, 08:11 PM
Cool. We can get shinies!
469

Akai
07-18-2008, 12:55 AM
I plan on using the [pc] code a lot in my banner thread.

SlimeBerserker
07-18-2008, 05:33 AM
Hmmm. That's strange I used BB code for my presentation but it won't work... Never mind. It's working again.

po123ks
07-19-2008, 04:34 AM
cool we can get shinys

Afterlife9798
07-23-2008, 02:37 AM
Whew. I took me a while to figure out how to get my team presentation the way I did*see link in my sig* with this code, but I finally did it. I like it. :)

zaptos
07-23-2008, 02:34 PM
It kinda is hard to put stuff on there well it takes longer for it to work but it turns out ok.