|
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 /
WikiTrails(: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:)(:Summary: Trails from lists items from a single page:)
(:Audience: authors (basic) :) The WikiTrails feature allows wiki authors to create "trails" through sequences of pages in the wiki. You simply specify pages and their order on a "trail index", and then place the navigation markup on the pages that you will be navigating. (Don't confuse the pagelist directive with WikiTrails - they are different animals as explained in the Q and A below.) Trail typesPmWiki defines 2 trail markups, specifying a trail index link: * ''' * ''' and for a trail path:
* ''' Markup is most often added to a group header or group footer. Trail index page link markupThe trail index page link has the same markup as a standard link,
this means for example you can specify:
* Trail index page links can be restricted by anchors (links to a specific location within a page),
this means you can have more than one trail on a page, or start a trail from a specific location in a page.
* Creating a trailBefore you can use a trail through a set of pages, you have to create a "trail index" on a separate page, which we will call the "trail index page". On that trail index page, you simply create a numbered, bulleted, or definition list of links. (So every numbered or bulleted list of links implicitly creates a trail.) It is important that each page name (link) be the first item following each bullet; any text or formatting in front of the page name link will exclude it from the trail. An example trail index page might contain the list: * Installation how to install * The customisation page * PmWiki some other text PmWiki Philosophy (The latter won't be in the trail because it is preceded by text) * Yet some other text. PmWiki.WikiStyles (This won't be in the trail because it follows text) * Uploads (This won't be in the trail because it is preceded by the %center% style.) * Some text (This won't be in the trail because it is not a link) * PageLists Searching and listing pages by multiple criteria with templated output * http://pmwiki.org (This won't be in the trail because it is not a page link) ** PmWiki:InterMap (This won't be in the trail because it is an InterMap link) * Cookbook:Cookbook (This won't be in the trail because it is an InterMap link) : PmWiki philosophy : Design notes (The first link in this definition list will, and the second link won't, be in the trail defined by (definition list)) * Security (This won't be in the trail because its preceded by a (hidden) anchor) * Links (This won't be in the trail because its preceded by a (hidden) %newwin% style) * ''Troubleshooting'' (This won't be in the trail because its preceded by (hidden) ''italic'' style markup) The list above creates the following "wikitrail", displayed using a pagelist:
Observations# In general, indentation levels in the page list don't matter -- trails are a linear sequence of pages. # A page is part of the trail only if the page link immediately follows the list markup. # The list itself can be delineated by the use of anchors, allowing for multiple lists on a page, or for some list items to be excluded. Using the trailWhat makes a trail "work" is adding ''trail markup'' on the pages in the trail (i.e. the pages that are listed in the bullet/numbered list on the trail index page). To build a trail, add ''trail markup'' like The trail markup can be placed anywhere in a group header or footer, or on a page. A page can contain multiple trail markups. If you are adding a trail to every page in a group, consider setting the trail markup in the Group Header or Group Footer pages instead of on every individual page in your group. Path trail
Wiki administrators can change the trail separator of the "path" trail ( Circular trailsTypically, a trail is a linear list with a first and a last page. However, the trail can be made "circular" by repeating the first page as the last item in the trail index: -> * [[TrailPage1]] * [[TrailPage2]] ... * [[TrailPageN]] * [[TrailPage1]] If the trail index page is intended to be read by others, the last item can be made invisible inside an -> * [[TrailPage1]] * [[TrailPage2]] ... * [[TrailPageN]] (:if false:) * [[TrailPage1]] (:ifend:) Cross Group TrailsBefore version 2.2.1, if your trail contains pages in different groups, it should use full [[Group.Name]] links instead of just [[Name]]. Other notes* There is no space between @@<|@@ and @@[[link]]@@ and @@|>@@; same for the other trail markups. * Note that non-existing pages will appear in the WikiTrail as links. * Conditional markup supports the ontrail query. * Page lists provides the trail= parameter. Trail stylePmWiki encapsulates the trail with a @@''wikitrail''@@ css class. This allows the wiki trail to be customised by defining CSS for the ''wikitrail'' in the @@''local.css''@@ file. Trail in page listsTrails from a single page can only be displayed using the pagelist trail parameter. For example
A simple example of a WikiTrail1) On the TrailIndexPage: * [[MyTrailPage1]] * [[MyTrailPage2]] * [[MyTrailPage3]] 2) On the pages MyTrailPage1, 2, and 3: <<|[[TrailIndexPage]]|>> >>comment<< > {=$Groupspaced}.{=$Namespaced}? < >><< FAQ>>faq<< Q: What's the difference between a PageList and a WikiTrail? A: The pagelist directive dynamically generates a list of pages. There are many ways to generate the list, including using a WikiTrail as the source. The pagelist directive then displays the pages that match the criteria using an optional template - for example displaying each page name on a separate line as a link or including the entire content. The pagelist directive currently does not have built-in navigation markup that you can put on the pages in the list. By contrast, WikiTrails are simply specified via links on an "index" page and you ''can'' put previous-next navigation markup on each page. The two serve very different purposes. WikiTrails are useful for specifying the pages in web feeds, for creating a "tour" through a predefined set of pages, and many other things.(: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:WikiTrails, and a talk page: PmWiki:WikiTrails-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 August 30, 2019, at 11:51 AM