diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 06c32852b..f54d7d2e1 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -104,7 +104,7 @@ Simple toc macro which alwayse shows the full tree This macro is _not_ used by other toc-macros v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter ================================================================== --> -\procedure toc(tag, sort:"", itemClassFilter, exclude, tagField, parentField, captionField, itemTemplate) +\procedure toc(tag,sort:"",itemClassFilter,exclude,captionField,tagField,parentField,itemTemplate) <$macrocall $name="toc-body" tag=<> sort=<> exclude=<>/> \end @@ -133,7 +133,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter \function tf.toc-stateTitle() [[$:/state/toc]] [] "/" [] +[join[]] -\procedure toc-linked-expandable-body(tag,sort:"",itemClassFilter,exclude,path,tagField,parentField,captionField,itemTemplate) +\procedure toc-linked-expandable-body(tag,sort:"",itemClassFilter,exclude,path,captionField,tagField,parentField,itemTemplate) <$qualify name="toc-state" title=<> >
  • >> @@ -145,7 +145,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter <% if [get[text]match[open]] %> <$macrocall $name="toc-expandable" tag=<> sort=<> exclude=<> path=<> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% endif %> @@ -153,7 +153,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter \end -\procedure toc-unlinked-expandable-body(tag,sort:"",itemClassFilter,exclude,path,tagField,parentField,captionField,itemTemplate) +\procedure toc-unlinked-expandable-body(tag,sort:"",itemClassFilter,exclude,path,captionField,tagField,parentField,itemTemplate) <$qualify name="toc-state" title=<>>
  • >> <> @@ -161,7 +161,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter <% if [get[text]match[open]] %> <$macrocall $name="toc-expandable" tag=<> sort=<> exclude=<> path=<> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% endif %> @@ -172,7 +172,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter -\procedure toc-expandable(tag,sort:"",itemClassFilter:"",exclude,path,tagField,parentField,captionField,itemTemplate) +\procedure toc-expandable(tag,sort:"",itemClassFilter:"",exclude,path,captionField,tagField,parentField,itemTemplate) <$set name=currentTiddler filter="[!is[blank]thenelse]">
      @@ -185,13 +185,13 @@ Shows an expandable toc. Item always have an open/close chevron <% if [all[current]toc-link[no]] %> <$macrocall $name="toc-unlinked-expandable-body" tag=<> sort=<> exclude=<<_excluded>> path=<<_path>> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% else %> <$macrocall $name="toc-linked-expandable-body" tag=<> sort=<> exclude=<<_excluded>> path=<<_path>> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% endif %> @@ -205,7 +205,7 @@ Shows an expandable toc. Item always have an open/close chevron \function tf.toc-curTidInclude() [get] -\procedure toc-linked-selective-expandable-body(tag,sort:"",itemClassFilter,exclude,path,tagField,parentField,captionField,itemTemplate) +\procedure toc-linked-selective-expandable-body(tag,sort:"",itemClassFilter,exclude,path,captionField,tagField,parentField,itemTemplate) <$qualify name="toc-state" title=<>>
    1. >> @@ -226,7 +226,7 @@ Shows an expandable toc. Item always have an open/close chevron <% if [get[text]match[open]] %> <$macrocall $name="toc-selective-expandable" tag=<> sort=<> exclude=<> path=<> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> @@ -235,7 +235,7 @@ Shows an expandable toc. Item always have an open/close chevron \end -\procedure toc-unlinked-selective-expandable-body(tag,sort:"",itemClassFilter,exclude,path,tagField,parentField,captionField,itemTemplate) +\procedure toc-unlinked-selective-expandable-body(tag,sort:"",itemClassFilter,exclude,path,captionField,tagField,parentField,itemTemplate) <$qualify name="toc-state" title=<> >
    2. >> <% if [has] :filter[getmatch<..currentTiddler>] +[limit[1]] %> @@ -254,7 +254,7 @@ Shows an expandable toc. Item always have an open/close chevron <% if [get[text]match[open]] %> <$macrocall $name="toc-selective-expandable" tag=<> sort=<> exclude=<> path=< - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% endif %> @@ -266,7 +266,7 @@ Shows an expandable toc. Item always have an open/close chevron Shows a selctive expandable toc. If an item has no children, there is no open/close chevron ========================================================== --> -\procedure toc-selective-expandable(tag,sort:"",itemClassFilter,exclude,path,tagField,parentField,captionField,itemTemplate) +\procedure toc-selective-expandable(tag,sort:"",itemClassFilter,exclude,path,captionField,tagField,parentField,itemTemplate) <$set name=currentTiddler filter="[!is[blank]thenelse]">
        @@ -279,13 +279,13 @@ If an item has no children, there is no open/close chevron <% if [all[current]toc-link[no]] %> <$macrocall $name="toc-unlinked-selective-expandable-body" tag=<> sort=<> exclude=<<_excluded>> path=<<_path>> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% else %> <$macrocall $name="toc-linked-selective-expandable-body" tag=<> sort=<> exclude=<<_excluded>> path=<<_path>> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> /> <% endif %> @@ -301,7 +301,7 @@ If an item has no children, there is no open/close chevron Shows a tabbed toc. If a toc-item link is clicked it will open the tiddler in the story =================================================================== --> -\procedure toc-tabbed-external-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude,tagField,parentField,captionField,itemTemplate) +\procedure toc-tabbed-external-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude,captionField,tagField,parentField,itemTemplate) <$tiddler tiddler={{{ [get[text]] }}}>
        <$linkcatcher to=<>> @@ -309,7 +309,7 @@ If a toc-item link is clicked it will open the tiddler in the story <$macrocall $name="toc-selective-expandable" tag=<> sort=<> exclude=<> - tagField=<> parentField=<> captionField=<> + captionField=<> tagField=<> parentField=<> itemTemplate=<> />
        @@ -333,7 +333,7 @@ If a toc-item link is clicked it will open the tiddler in the story Shows a tabbed toc. If a toc-item link is clicked it will open the tiddler in the view area of the same tiddler ============================================================= --> -\procedure toc-tabbed-internal-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude,tagField,parentField,captionField,itemTemplate) +\procedure toc-tabbed-internal-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude,captionField,tagField,parentField,itemTemplate) <$linkcatcher to=<>> <$macrocall $name="toc-tabbed-external-nav" tag=<> @@ -343,9 +343,9 @@ it will open the tiddler in the view area of the same tiddler missingText=<> template=<