Edgewall Software

Changes between Version 2 and Version 3 of PageOutline


Ignore:
Timestamp:
Aug 24, 2012, 3:42:24 PM (12 years ago)
Author:
complex_trac@…
Comment:

Added examples of usage of the parameters. I needed them, experimented, and then shared.

Legend:

Unmodified
Added
Removed
Modified
  • PageOutline

    v2 v3  
    99----
    1010
     11== Examples ==
     12
     13=== Range of Headings Displayed ===
     14
     15![[PageOutline]]'s first parameter only appears to accept integers, and doesn't appear to have a coded value for displaying the default of all headings. It displays an error message when passed a non-integer value.
     16
     17|| ![[PageOutline(1)]] || Only level 1 heading: [[PageOutline(1)]] ||
     18
     19|| ![[PageOutline(1-2)]] || Only first 2 levels of headings: [[PageOutline(1-2)]] ||
     20
     21|| ![[PageOutline(1-100)]] || All headings -- actually first 100 levels of headings: [[PageOutline(1-100)]] ||
     22
     23=== Outline Title ===
     24
     25Apparently, in order to specify the title you must also give the range of headings; you can't just pass an empty first parameter (e.g. ![[PageOutline(,Title)]] ).
     26
     27|| ![[PageOutline(1-100),Page Contents]] || A title over 'all' headings -- actually the first 100 levels of headings: [[PageOutline(1-100,Page Contents)]] ||
     28
     29=== Inline / Pullout ===
     30
     31'Inline' means 'part of the content' and not a floating box; it doesn't mean the text is a list without linebreaks, as one's HTML background might mislead you into thinking.
     32
     33|| ![[PageOutline(1-100),Page Contents,inline]] || Ditto, but '''inline''': [[PageOutline(1-100,Page Contents,inline)]] ||
     34
     35=== Numbered / Unnumbered ===
     36
     37Remember, only useful for inline contents.
     38
     39|| ![[PageOutline(1-100),Page Contents,inline,unnumbered]] || Ditto, but '''inline''': [[PageOutline(1-100,Page Contents,inline,unnumbered)]] ||
     40
    1141See also: trachacks:TocMacro