1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-09 23:50:01 +00:00

toc examples use named params now

This commit is contained in:
pmario 2024-02-06 17:29:13 +01:00
parent eecb7b6954
commit f953c758a0
5 changed files with 11 additions and 14 deletions

View File

@ -1,11 +1,10 @@
caption: Expandable
created: 20150221201816000 created: 20150221201816000
modified: 20150221203715000 modified: 20150221203715000
title: Example Table of Contents: Expandable title: Example Table of Contents: Expandable
caption: Expandable type: text/vnd.tiddlywiki
tags: table-of-contents-example
order: 2
<$macrocall $name=".example" n="1" <$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents"> eg="""<div class="tc-table-of-contents">
<<toc-expandable "Contents">> <<toc-expandable tag:"Contents">>
</div>"""/> </div>"""/>

View File

@ -11,6 +11,6 @@ type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1" <$macrocall $name=".example" n="1"
eg="""<$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder"> eg="""<$let toc-open-icon="$:/core/images/fold-button" toc-closed-icon="$:/core/images/folder">
<div class="tc-table-of-contents"> <div class="tc-table-of-contents">
<<toc-selective-expandable "Contents">> <<toc-selective-expandable tag:"Contents">>
</div> </div>
</$let>"""/> </$let>"""/>

View File

@ -1,11 +1,10 @@
caption: Selective
created: 20150221201907000 created: 20150221201907000
modified: 20150221203950000 modified: 20150221203950000
title: Example Table of Contents: Selectively Expandable title: Example Table of Contents: Selectively Expandable
caption: Selective type: text/vnd.tiddlywiki
tags: table-of-contents-example
order: 4
<$macrocall $name=".example" n="1" <$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents"> eg="""<div class="tc-table-of-contents">
<<toc-selective-expandable "Contents">> <<toc-selective-expandable tag:"Contents">>
</div>"""/> </div>"""/>

View File

@ -1,11 +1,10 @@
caption: Simple
created: 20150221201838000 created: 20150221201838000
modified: 20150221203742000 modified: 20150221203742000
title: Example Table of Contents: Simple title: Example Table of Contents: Simple
caption: Simple type: text/vnd.tiddlywiki
tags: table-of-contents-example
order: 1
<$macrocall $name=".example" n="1" <$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents"> eg="""<div class="tc-table-of-contents">
<<toc "Contents">> <<toc tag:"Contents">>
</div>"""/> </div>"""/>

View File

@ -8,5 +8,5 @@ type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1" <$macrocall $name=".example" n="1"
eg="""<div class="tc-table-of-contents"> eg="""<div class="tc-table-of-contents">
<<toc-selective-expandable "Contents" "!sort[title]">> <<toc-selective-expandable tag:"Contents" sort:"!sort[title]">>
</div>"""/> </div>"""/>