|
Introduction to Microcontroller Programming * Course Index * Introduction * About the Author * About this Course * Feedback * Course Navigation * Quick Course Navigation * How to use this Course * Acronyms Used and Course Conventions About PICmicro Chips * What is a PICmicro? * Microcontrollers * Digital versus Analogue * Inputs and Outputs * Memory * Programming * 16F1937 Architecture Clocking Your PICmicro Devices * Introduction * The Clock Circuit * Clock Settings * Clock Confusion E-Blocks * Introduction to E-blocks * Using E-blocks * E-blocks Boards Flowcode Step By Step * Introduction to Flowcode * Basic Flowcode Functions * Digital Outputs * Digital Inputs * Basic Loops * The LCD Display * Binary Numbers * Decisions * Goto (Connection Point) * 7-Segment Displays * Software Macro * Strings and Memory * A Simple Hi-Fi PICmicro Projects * Introduction to PICmicro Projects * Construction Methods * Choosing a Power Source * Adding Inputs * Input Conditioning * Adding Outputs * Adding Drivers Labs * Introduction and Lesson Plan * 1. Output * 2. Delay * 3. Connection Point * 4. Calculations * 5. Loop * 6. Input * 7. Decision * 8. LCD * 9. Keypad * 10. Analogue + EEPROM * 11. Software Macro * 12. External Interrupt * 13. Timer Interrupt |
(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * Print (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) * %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) * Login PmWiki /
Tables(:Summary: PmWiki group header. Includes styles and trail.:) (:comment please leave the multiple style definitions concatenated as a single line. Linebreaks do appear in the output when the wiki is configured with linebreaks enabled -- thanks!:) (:comment included in PmWiki localisation headers and footers :) authors (basic)
(:nl:)(:Audience: authors (basic) :)
(:Summary:Simple tables with double pipe markup, one row per line:) PmWiki has two types of table markup; the markup described in this page is useful for creating ''simple'' tables with lots of small cells, while table directive markup helps with larger scale or more complex tables. For more possibilities with formatting simple tables, see Cookbook:Rowspan in simple tables and Cookbook:Formatting tables. Table basicsSimple tables are created via use of double pipe characters: @@||@@. Lines beginning with this markup denote rows in a table or a formatting line. Within table row lines the double-pipe is used to delimit cells. In the examples below a border is added for illustration (the default is no border). The first line in the markup contains formatting commands for the table. It only has double pipe characters at the start of the line.
Header cells can be created by placing ! as the first character of a cell. Note that these are ''table headers'', not ''headings'', so it doesn't extend to !!, !!!, etc.
A table can have a caption, indicated by
Formatting cell contentsCell contents may be aligned left, centered, or aligned right. * To left-align contents, place the cell contents next to the leading @@||@@. * To center contents, add a space before and after the cell contents. * To right-align contents, place a space before the cell contents and leave the cell contents next to the trailing @@||@@.
Note that header and detail cells have different default alignments. To get a cell to span multiple columns, follow the cell with empty cells. (At present there is no markup for spanning rows.)
Table attributesAny line that begins with Use the See also
The
Use
Note: to get a table to align left (but not "float left") requires CSS, as in
-> The
Sortable tablesTo allow readers to reorder a table, give it the class="sortable" attribute:
Note: this feature has to be enabled in local configuration, see FAQ>>faq<< Q: How do I create a basic table? A: Tables are created via use of the double pipe character: @@||@@. Lines beginning with this markup denote rows in a table; within such lines the double-pipe is used to delimit cells. In the examples below a border is added for illustration (the default is no border).
Q: How do I create cell headers? A: Header cells can be created by placing ! as the first character of a cell. Note that these are ''table headers'', not ''headings'', so it doesn't extend to !!, !!!, etc.
Q: How do I obtain a table with thin lines and more distance to the content? A: "Thin lines" is tricky and browser dependent, but the following works for Firefox and IE (Nov. 2009):
Q: How do I create an advanced table? A: See table directives Q: My tables are by default centered. When I try to use '||align=left' they don't align left as expected. A: Use ||style="margin-left:0px;" instead. Q: How can I specify the width of columns?
A: You can define the widths via custom styles, see Cookbook:FormattingTables and
table.column td.col1 { width: 120px; }
table.column td.col3 { width: 40px; }
Q: How can I display a double pipe "||" in cell text using basic table markup?
A: Escape it with Q: How do I apply styles to the elements of the table, like an ID to the table row, or a class/style to the TD? A: See $WikiStyleApply. Alternately, use table directives, which allow specifying styling either directly (''style="..."'') or by a ''class="..."'' attribute for CSS.(:nl:)(:Summary:Trail and talk page links:) (:comment included in PmWiki localisation headers and footers :) <<? >>bgcolor=#ffe border-top="1px solid black" font-size=.8em<< This page may have a more recent version on pmwiki.org: PmWiki:Tables, and a talk page: PmWiki:Tables-Talk. >><< |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(:Summary: Website page footer:)
Print - (:comment (:if group Site,SiteAdmin,Cookbook,Profiles,PmWiki*:) (:comment delete if and ifend to enable backlinks:) %item rel=nofollow class=backlinks accesskey='$[ak_backlinks]'% [[{*$Name}?action=search&q=link={*$FullName} | $[Backlinks] ]] (:ifend:) :) Search - Login
Page last modified on September 01, 2019, at 09:09 PM