| ||||||||||||||||||||||||||||
Navigation
pmwiki.org (en)
Home Page
Click here to expand or collapse... Every You, Every Me (Youtube release)
Upcoming BL Series (Start date) Click here to expand or collapse... Top Form (Thu 20 Mar 2025)
Click here to expand or collapse... Art Of Love (OFFLINE)
Beautiful Scars (Episode 4 finale OFFLINE)
Boyband (No International release)
Friend Forever/Our Love Is Sick (OFFLINE)
Great Men Academy (OFFLINE)
Healing Thingyan (OFFLINE)
Hehe & He (Season 3 - on hiatus)
Hook Up (Season 2) (OFFLINE)
If I Love A Boy (OFFLINE)
Indigo (OFFLINE)
Jack And Jill (OFFLINE)
Lakan (OFFLINE)
Make A Wish [Philippines] (OFFLINE)
Make A Wish [Thailand] (No International release)
Missing Piece (OFFLINE)
My Secret Love (OFFLINE)
Quaranthings (OFFLINE)
Roommate (Season 1 OFFLINE)
Sugar Dog Life (No International release)
Truly Very Yours (Season 1) (OFFLINE)
Unguarded (Season 3) (OFFLINE)
Venus In The Sky (Youtube release)
Click here to expand or collapse...Click here to expand or collapse... Destined/Fated (OFFLINE)
Infinity (OFFLINE)
Kiss The Night (OFFLINE)
Overlooked Love (OFFLINE)
The Next Door Crush (OFFLINE)
The Whisperer (EP10 Finale never released)
Unexpected (OFFLINE)
Click here to expand or collapse... = Cambodia = China = Hong Kong = India |
Diretivas de Tabelas
authors (intermediate) There are four directives for table processing. All must be at the beginning of a line to have any effect.
|
(:table border=1 cellpadding=5 cellspacing=0:) (:cell:) a1 (:cell:) b1 (:cell:) c1 (:cell:) d1 (:cellnr:) a2 (:cell:) b2 (:cell:) c2 (:cell:) (:tableend:) | ||||||||
|
In HTML, this is the same as
<table border='1' cellpadding='5' cellspacing='0'> <tr> <td>a1</td> <td>b1</td> <td>c1</td> <td>d1</td> </tr> <tr> <td>a2</td> <td>b2</td> <td>c2</td> <td> </td> </tr> </table>
What if you wanted to create a nice little table like a table of contents in a page like this? In this example, the table is floating right and contains some links in a bulleted list. This is a nice demonstration of how it's possible to build a little table of contents in the page, which might navigate to other pages just within the same wiki group. Note that having a bulleted list won't work in a ordinary table - it only works inside an table created with table directives such as the example code used here.
(:table border=1 width=30% align=right bgcolor=#cccc99 cellspacing=0 :) (:cellnr:) '''Navigation Links''' (:cellnr:) *[[Tables]] *[[Table directives]] (:tableend:) | ||
|
(:table border=1 width=30% align=right bgcolor=#cccc99 cellspacing=0 :) (:cellnr colspan=2 align=center:) '''Navigation Links''' (:cellnr align=center:) [[Tables]] (:cell align=center:) [[Table directives]] (:tableend:) | ||||
|
Looking at the markup here, notice that we have used a #cccc99 hex color for the table background. Also, the (:cellnr:)
markup creates a new row, a new cell and closes the row at the end.
You could take this concept a little further: since you might want each page in the group to contain the same table of contents, you can make ONE table like the above and put it in its own page. Then use an include ? on any of your pages and bring in the table. The float (align) property will be honored in each page where it's included. Pretty sweet!
<< Tabelas | Documentation Index | WikiStyles? >>
Can I define table headers using the table directive markup?
No, but you can with Cookbook:AdvancedTableDirectives. See Pm's reply to pending PITS:00535
Is it possible to do nested tables?
Yes, if you nest simple tables inside advanced tables. See also Cookbook:AdvancedTableDirectives.
Is it possible to add background images to tables and table cells?
Yes, see Cookbook:BackgroundImages.
Is it possible to have a collapsible table, that you can set by default to be deployed (as with the (:toc:) display) or retracted?
Essa é possivelmente a tradução do original em : PmWiki.TableDirectives - Backlinks
Essa tradução se encontra em : PmWikiPtBr.TableDirectives - Backlinks
Últimas modificações da tradução feitas em : September 10, 2011, at 11:00 AM
Últimas modificações feitas no original em : December 23, 2023, at 01:20 PM