Victory Road

Victory Road (http://www.victoryroad.net/index.php)
-   Victory Road Network Support (http://www.victoryroad.net/forumdisplay.php?f=25)
-   -   Make and Edit tables in victory road? (http://www.victoryroad.net/showthread.php?t=11865)

CinnabarPyro January 20, 2015 08:12:06 AM

Make and Edit tables in victory road?
 
I know that you can make a table using the tag TABLE, but how do you add extra rows to tables and input data for each row?

Dragonite January 20, 2015 09:10:54 AM

I know that HTML has you use something that looks like <table><tr><td>cell 1</td><td>cell 2</td></tr></table> but it doesn't look like this BBCode lets you do the same with the square brackets S:

CinnabarPyro January 20, 2015 10:45:35 AM

Quote:

Originally Posted by Dragonite (Post 297097)
I know that HTML has you use something that looks like <table><tr><td>cell 1</td><td>cell 2</td></tr></table> but it doesn't look like this BBCode lets you do the same with the square brackets S:

Damn. That's a shame.

Cat333Pokémon January 20, 2015 12:03:08 PM

Code:

[table="head"]fruit|vegetable|tree
banana|broccoli|oak
pear|carrot|birch
apple|cucumber|holly
orange|potato|cedar
lemon|onion|pine
mango|pea|fir
[/table]

yields:

fruitvegetabletree
bananabroccolioak
pearcarrotbirch
applecucumberholly
orangepotatocedar
lemononionpine
mangopeafir

Use the vertical pipe | to delineate a column and a new line for a new row. The first row must also be on the same line as the [table] tag. Removing the ="head" part will make the first row a regular row instead of a heading.

CinnabarPyro January 20, 2015 12:16:34 PM

Quote:

Originally Posted by Cat333Pokémon (Post 297100)
Code:

[table="head"]fruit|vegetable|tree
banana|broccoli|oak
pear|carrot|birch
apple|cucumber|holly
orange|potato|cedar
lemon|onion|pine
mango|pea|fir
[/table]

yields:

fruitvegetabletree
bananabroccolioak
pearcarrotbirch
applecucumberholly
orangepotatocedar
lemononionpine
mangopeafir

Use the horizontal pipe | to delineate a column and a new line for a new row. The first row must also be on the same line as the [table] tag. Removing the ="head" part will make the first row a regular row instead of a heading.

Oh, brilliant! Thanks, cat.

Cat333Pokémon January 20, 2015 12:24:48 PM

Quote:

Originally Posted by CinnabarPyro (Post 297102)
Oh, brilliant! Thanks, cat.

No problem. It was probably never clear how to use the thing to begin with. I think only Yoshi, a past admin, and I used them for the most part.


All times are GMT -8.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Victory Road ©2006 - 2024, Scott Cat333Pokémon Cheney