2014-08-18 19:52:36 +00:00
|
|
|
title: $:/core/macros/toc
|
|
|
|
tags: $:/tags/Macro
|
|
|
|
|
2024-02-01 17:07:40 +00:00
|
|
|
\whitespace trim
|
2022-11-14 22:04:30 +00:00
|
|
|
|
2024-02-04 05:15:49 +00:00
|
|
|
\procedure toc-caption()
|
|
|
|
<span class="tc-toc-caption tc-tiny-gap-left">
|
|
|
|
<$let name="tv-wikilinks" value="no">
|
|
|
|
<$transclude field="caption">
|
|
|
|
<$view field="title"/>
|
|
|
|
</$transclude>
|
|
|
|
</$let>
|
|
|
|
</span>
|
|
|
|
\end
|
|
|
|
|
2024-02-01 17:53:55 +00:00
|
|
|
<!-- v5.2.4 add "Custom Icons" -->
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-open-icon() $:/core/images/down-arrow
|
|
|
|
\procedure toc-closed-icon() $:/core/images/right-arrow
|
2024-02-01 13:12:35 +00:00
|
|
|
|
2024-02-05 20:14:44 +00:00
|
|
|
\procedure toc-hide-field() toc-hide
|
|
|
|
\procedure toc-include-field() toc-include
|
|
|
|
\procedure toc-filter-field() toc-filter
|
|
|
|
|
2024-02-04 06:37:24 +00:00
|
|
|
<!-- helper functions for li class definitions -->
|
|
|
|
\function tf.toc-itemClassFilter() [<selectedTiddler>get[text]match<currentTiddler>then[toc-item-selected]else[toc-item]]
|
2024-02-05 19:10:29 +00:00
|
|
|
\function tf.toc-includeClass() [subfilter<tf.toc-include>match<currentTiddler>then[toc-item-include]]
|
|
|
|
\function tf.toc-filterClass() [subfilter<tf.toc-filter>match<currentTiddler>then[toc-item-filter]]
|
2024-02-04 21:29:07 +00:00
|
|
|
\function tf.toc-hideClass() [<tf.toc-hide>!is[blank]then[toc-item-hide]]
|
2024-02-04 06:37:24 +00:00
|
|
|
<!-- join the CSS definitions from above -->
|
2024-02-05 19:07:10 +00:00
|
|
|
\function tf.toc-itemClass() [<tf.toc-itemClassFilter>] [<tf.toc-includeClass>] [<tf.toc-filterClass>] [<tf.toc-hideClass>] +[join[ ]]
|
2024-02-01 13:12:35 +00:00
|
|
|
|
2024-02-04 06:37:24 +00:00
|
|
|
<!-- the following 3 functions need to use <currentTiddler> -->
|
2024-02-05 20:14:44 +00:00
|
|
|
\function tf.toc-getHideText() [<currentTiddler>get<toc-hide-field>]
|
2024-02-04 20:57:34 +00:00
|
|
|
\function tf.toc-hideIsYes() [<currentTiddler>format:titlelist[]]
|
2024-02-04 06:37:24 +00:00
|
|
|
|
2024-02-04 20:57:34 +00:00
|
|
|
<!-- Special case, if toc-hide field is "yes", we need a currentTiddler *titlelist* -- otherwise return the content as text -->
|
|
|
|
\function tf.toc-hide() [<tf.toc-getHideText>match[yes]then<tf.toc-hideIsYes>] :else[<tf.toc-getHideText>]
|
2014-12-11 17:00:57 +00:00
|
|
|
|
2024-02-05 19:07:10 +00:00
|
|
|
<!-- tf.toc-include and tf.toc-filter need to use <tag> -->
|
2024-02-05 20:14:44 +00:00
|
|
|
\function tf.toc-include() [<tag>get<toc-include-field>]
|
|
|
|
\function tf.toc-filter() [<tag>get<toc-filter-field>]
|
2024-02-03 02:04:41 +00:00
|
|
|
|
2024-02-04 06:37:24 +00:00
|
|
|
<!-- define unique path based state title -->
|
|
|
|
\function tf.toc-newPath() [<path>addsuffix[/]addsuffix<tag>]
|
2024-02-04 05:15:49 +00:00
|
|
|
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-body(tag,sort:"",itemClassFilter,exclude,path)
|
2014-08-31 13:05:43 +00:00
|
|
|
<ol class="tc-toc">
|
2024-02-01 17:53:55 +00:00
|
|
|
<!-- text substitution is needed for backwards compatibility -->
|
2024-02-05 19:07:10 +00:00
|
|
|
<$list filter=` [subfilter<tf.toc-filter>]
|
2024-02-04 14:44:49 +00:00
|
|
|
:else[all[shadows+tiddlers]tag<tag>!has[draft.of]$(sort)$]
|
2024-02-04 20:57:34 +00:00
|
|
|
[subfilter<tf.toc-include>] -[<tag>] -[subfilter<exclude>]`>
|
|
|
|
<%if [<currentTiddler>] -[subfilter<tf.toc-hide>] %>
|
2024-02-04 05:15:49 +00:00
|
|
|
<$let item=<<currentTiddler>> __path=<<tf.toc-newPath>> >
|
2024-02-04 20:57:34 +00:00
|
|
|
<!-- adding tf.toc-hide, excludes blocked elements from all visible sub-nodes -->
|
|
|
|
<$set name="__excluded" filter="[subfilter<exclude>] [<tag>] [subfilter<tf.toc-hide>]">
|
2024-02-04 05:15:49 +00:00
|
|
|
<li class=<<tf.toc-itemClass>>>
|
|
|
|
<% if [all[current]toc-link[no]] %>
|
|
|
|
<<toc-caption>>
|
|
|
|
<% else %>
|
|
|
|
<!-- v5.1.23 use target-field if present in tiddler -->
|
|
|
|
<$link to={{{ [<currentTiddler>get[target]else<currentTiddler>] }}}>
|
2024-02-03 02:04:41 +00:00
|
|
|
<<toc-caption>>
|
2024-02-04 05:15:49 +00:00
|
|
|
</$link>
|
|
|
|
<% endif %>
|
|
|
|
<$macrocall
|
|
|
|
$name="toc-body"
|
|
|
|
tag=<<item>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<__excluded>> path=<<__path>>
|
|
|
|
/>
|
|
|
|
</li>
|
|
|
|
</$set>
|
|
|
|
</$let>
|
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
</$list>
|
2014-08-18 19:52:36 +00:00
|
|
|
</ol>
|
|
|
|
\end
|
|
|
|
|
2024-02-01 18:23:48 +00:00
|
|
|
<!-- =======================================
|
|
|
|
Simple toc macro which shows the full tree
|
|
|
|
This macro is _not_ used by other toc-macros
|
|
|
|
============================================ -->
|
2024-02-01 17:53:55 +00:00
|
|
|
\procedure toc(tag,sort:"",itemClassFilter:"",exclude)
|
2024-02-01 17:07:40 +00:00
|
|
|
<$macrocall $name="toc-body" tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<exclude>>/>
|
2014-11-02 21:03:27 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-01 17:53:55 +00:00
|
|
|
<!--
|
|
|
|
If a toc-itme shows a link. Clicking the caption will open the tiddler
|
|
|
|
If toc-item is linked, the toc-caption is managed in the parent procedure
|
|
|
|
If a toc-item should not show a link, the toc-caption is part of the button. So it can be clicked to open / close the branch
|
|
|
|
-->
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-item(isUnlinked:"")
|
2024-02-01 23:42:40 +00:00
|
|
|
<% if [<toc-state>get[text]else[close]match[close]] %>
|
|
|
|
<$button setTitle=<<toc-state>> setTo="open" class="tc-btn-invisible tc-popup-keep" tooltip=<<toc-state>>>
|
|
|
|
<$transclude tiddler=<<toc-closed-icon>> />
|
|
|
|
<% if [<isUnlinked>match[yes]] %>
|
|
|
|
<<toc-caption>>
|
|
|
|
<% endif %>
|
|
|
|
</$button>
|
|
|
|
<% elseif [<toc-state>get[text]match[open]] %>
|
|
|
|
<$button setTitle=<<toc-state>> setTo="close" class="tc-btn-invisible tc-popup-keep" tooltip=<<toc-state>>>
|
|
|
|
<$transclude tiddler=<<toc-open-icon>> />
|
|
|
|
<% if [<isUnlinked>match[yes]] %>
|
|
|
|
<<toc-caption>>
|
|
|
|
<% endif %>
|
|
|
|
</$button>
|
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-04 06:37:24 +00:00
|
|
|
\function tf.toc-stateTitle() [[$:/state/toc]] [<path>] "/" [<currentTiddler>] +[join[]]
|
|
|
|
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-linked-expandable-body(tag,sort:"",itemClassFilter,exclude,path)
|
2024-02-01 17:53:55 +00:00
|
|
|
<$qualify name="toc-state" title=<<tf.toc-stateTitle>> >
|
2024-02-04 05:15:49 +00:00
|
|
|
<li class=<<tf.toc-itemClass>>>
|
2024-02-01 23:42:40 +00:00
|
|
|
<!-- v5.1.23 use target-field if present in tiddler -->
|
2024-02-01 17:07:40 +00:00
|
|
|
<$link to={{{ [<currentTiddler>get[target]else<currentTiddler>] }}}>
|
|
|
|
<<toc-item>>
|
|
|
|
<<toc-caption>>
|
|
|
|
</$link>
|
2024-02-01 20:51:53 +00:00
|
|
|
<!-- TODO auto expand -->
|
|
|
|
<% if [<toc-state>get[text]match[open]] %>
|
2024-02-01 17:53:55 +00:00
|
|
|
<$macrocall
|
|
|
|
$name="toc-expandable"
|
|
|
|
tag=<<currentTiddler>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<exclude>> path=<<path>>
|
|
|
|
/>
|
2024-02-01 20:51:53 +00:00
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
</li>
|
2018-11-06 15:29:13 +00:00
|
|
|
</$qualify>
|
2014-08-18 19:52:36 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-unlinked-expandable-body(tag,sort:"",itemClassFilter,exclude,path)
|
2024-02-01 17:53:55 +00:00
|
|
|
<$qualify name="toc-state" title=<<tf.toc-stateTitle>>>
|
2024-02-04 05:15:49 +00:00
|
|
|
<li class=<<tf.toc-itemClass>>>
|
2024-02-01 17:07:40 +00:00
|
|
|
<<toc-item isUnlinked:"yes">>
|
2024-02-01 20:51:53 +00:00
|
|
|
<!-- TODO auto expand -->
|
|
|
|
<% if [<toc-state>get[text]match[open]] %>
|
2024-02-01 17:53:55 +00:00
|
|
|
<$macrocall
|
|
|
|
$name="toc-expandable"
|
|
|
|
tag=<<currentTiddler>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<exclude>> path=<<path>>
|
|
|
|
/>
|
2024-02-01 20:51:53 +00:00
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
</li>
|
2018-11-06 15:29:13 +00:00
|
|
|
</$qualify>
|
2014-09-05 08:49:10 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-01 18:23:48 +00:00
|
|
|
<!-- ==========================================================
|
|
|
|
Shows an expandable toc. Item always have an open/close chevron
|
|
|
|
=============================================================== -->
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-expandable(tag,sort:"",itemClassFilter:"",exclude,path)
|
2024-02-04 04:16:22 +00:00
|
|
|
<ol class="tc-toc toc-expandable">
|
|
|
|
<!-- text substitution is needed for backwards compatibility -->
|
2024-02-05 19:07:10 +00:00
|
|
|
<$list filter=` [subfilter<tf.toc-filter>]
|
2024-02-04 14:44:49 +00:00
|
|
|
:else[all[shadows+tiddlers]tag<tag>!has[draft.of]$(sort)$]
|
2024-02-04 20:57:34 +00:00
|
|
|
[subfilter<tf.toc-include>] -[<tag>] -[subfilter<exclude>]`>
|
|
|
|
<%if [<currentTiddler>] -[subfilter<tf.toc-hide>] %>
|
2024-02-04 05:15:49 +00:00
|
|
|
<$let __path=<<tf.toc-newPath>>>
|
2024-02-04 20:57:34 +00:00
|
|
|
<$set name="__excluded" filter="[subfilter<exclude>] [<tag>] [subfilter<tf.toc-hide>]">
|
2024-02-04 05:15:49 +00:00
|
|
|
<% if [all[current]toc-link[no]] %>
|
|
|
|
<$macrocall
|
|
|
|
$name="toc-unlinked-expandable-body"
|
|
|
|
tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<__excluded>> path=<<__path>>
|
|
|
|
/>
|
|
|
|
<% else %>
|
|
|
|
<$macrocall
|
|
|
|
$name="toc-linked-expandable-body"
|
|
|
|
tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<__excluded>> path=<<__path>>
|
|
|
|
/>
|
|
|
|
<% endif %>
|
|
|
|
</$set>
|
|
|
|
</$let>
|
|
|
|
<% endif %>
|
2024-02-04 04:16:22 +00:00
|
|
|
</$list>
|
|
|
|
</ol>
|
2014-08-19 11:30:22 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-05 20:14:44 +00:00
|
|
|
\function tf.toc-curTidInclude() [<currentTiddler>get<toc-include-field>]
|
2024-02-04 06:37:24 +00:00
|
|
|
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-linked-selective-expandable-body(tag,sort:"",itemClassFilter,exclude,path)
|
2024-02-01 17:53:55 +00:00
|
|
|
<$qualify name="toc-state" title=<<tf.toc-stateTitle>>>
|
2024-02-04 05:15:49 +00:00
|
|
|
<li class=<<tf.toc-itemClass>>>
|
2024-02-01 23:42:40 +00:00
|
|
|
<!-- v5.1.23 use target-field if present in tiddler -->
|
2024-02-01 17:07:40 +00:00
|
|
|
<$link to={{{ [<currentTiddler>get[target]else<currentTiddler>] }}}>
|
2024-02-04 06:37:24 +00:00
|
|
|
<!-- The subfilter<exclude> needs to be the last filter run -->
|
|
|
|
<% if [all[current]tagging[]] [subfilter<tf.toc-curTidInclude>] -[subfilter<exclude>] +[limit[1]] %>
|
2024-02-01 17:07:40 +00:00
|
|
|
<<toc-item>>
|
2024-02-01 17:53:55 +00:00
|
|
|
<% else %>
|
|
|
|
<$button class='tc-btn-invisible'>
|
|
|
|
{{$:/core/images/blank}}
|
|
|
|
</$button>
|
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
<<toc-caption>>
|
|
|
|
</$link>
|
2024-02-01 20:51:53 +00:00
|
|
|
<!-- TODO auto expand -->
|
|
|
|
<% if [<toc-state>get[text]match[open]] %>
|
2024-02-01 17:53:55 +00:00
|
|
|
<$macrocall
|
|
|
|
$name="toc-selective-expandable"
|
|
|
|
tag=<<currentTiddler>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<exclude>> path=<<path>>
|
|
|
|
/>
|
2024-02-01 20:51:53 +00:00
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
</li>
|
2018-11-06 15:29:13 +00:00
|
|
|
</$qualify>
|
2014-08-19 11:30:22 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-unlinked-selective-expandable-body(tag,sort:"",itemClassFilter,exclude,path)
|
2024-02-01 17:53:55 +00:00
|
|
|
<$qualify name="toc-state" title=<<tf.toc-stateTitle>> >
|
2024-02-04 05:15:49 +00:00
|
|
|
<li class=<<tf.toc-itemClass>>>
|
2024-02-04 06:37:24 +00:00
|
|
|
<% if [all[current]tagging[]] [subfilter<tf.toc-curTidInclude>] -[subfilter<exclude>] +[limit[1]] %>
|
2024-02-01 17:07:40 +00:00
|
|
|
<<toc-item isUnlinked:"yes">>
|
2024-02-01 17:53:55 +00:00
|
|
|
<% else %>
|
|
|
|
<$button class="tc-btn-invisible">
|
|
|
|
{{$:/core/images/blank}}
|
|
|
|
</$button>
|
|
|
|
<span class="toc-item-muted">
|
|
|
|
<<toc-caption>>
|
|
|
|
</span>
|
|
|
|
<% endif %>
|
2024-02-01 20:51:53 +00:00
|
|
|
<!-- TODO auto expand -->
|
|
|
|
<% if [<toc-state>get[text]match[open]] %>
|
2024-02-01 17:53:55 +00:00
|
|
|
<$macrocall
|
|
|
|
$name="toc-selective-expandable"
|
|
|
|
tag=<<currentTiddler>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<exclude>> path=<<path>>
|
|
|
|
/>
|
2024-02-01 20:51:53 +00:00
|
|
|
<% endif %>
|
2024-02-01 17:07:40 +00:00
|
|
|
</li>
|
2018-11-06 15:29:13 +00:00
|
|
|
</$qualify>
|
2014-09-05 08:49:10 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-01 18:23:48 +00:00
|
|
|
<!-- =====================================================
|
|
|
|
Shows a selctive expandable toc.
|
|
|
|
If an item has no children, there is no open/close chevron
|
|
|
|
========================================================== -->
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-selective-expandable(tag,sort:"",itemClassFilter,exclude,path)
|
2024-02-04 04:16:22 +00:00
|
|
|
<ol class="tc-toc toc-selective-expandable">
|
|
|
|
<!-- text substitution is needed for backwards compatibility -->
|
2024-02-05 19:07:10 +00:00
|
|
|
<$list filter=` [subfilter<tf.toc-filter>]
|
2024-02-04 14:44:49 +00:00
|
|
|
:else[all[shadows+tiddlers]tag<tag>!has[draft.of]$(sort)$]
|
2024-02-04 20:57:34 +00:00
|
|
|
[subfilter<tf.toc-include>] -[<tag>] -[subfilter<exclude>]`>
|
|
|
|
<%if [<currentTiddler>] -[subfilter<tf.toc-hide>] %>
|
2024-02-04 05:15:49 +00:00
|
|
|
<$let __path=<<tf.toc-newPath>>>
|
2024-02-04 20:57:34 +00:00
|
|
|
<$set name="__excluded" filter="[subfilter<exclude>] [<tag>] [subfilter<tf.toc-hide>]">
|
2024-02-04 05:15:49 +00:00
|
|
|
<% if [all[current]toc-link[no]] %>
|
|
|
|
<$macrocall
|
|
|
|
$name="toc-unlinked-selective-expandable-body"
|
|
|
|
tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<__excluded>> path=<<__path>>
|
|
|
|
/>
|
|
|
|
<% else %>
|
|
|
|
<$macrocall
|
|
|
|
$name="toc-linked-selective-expandable-body"
|
|
|
|
tag=<<tag>> sort=<<sort>> itemClassFilter=<<itemClassFilter>> exclude=<<__excluded>> path=<<__path>>
|
|
|
|
/>
|
|
|
|
<% endif %>
|
|
|
|
</$set>
|
|
|
|
</$let>
|
|
|
|
<% endif %>
|
2024-02-04 04:16:22 +00:00
|
|
|
</$list>
|
|
|
|
</ol>
|
2014-08-18 19:52:36 +00:00
|
|
|
\end
|
2014-11-13 21:39:28 +00:00
|
|
|
|
2024-02-01 18:23:48 +00:00
|
|
|
<!-- ==============================================================
|
|
|
|
Shows a tabbed toc.
|
|
|
|
If a toc-item link is clicked it will open the tiddler in the story
|
|
|
|
=================================================================== -->
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-tabbed-external-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude)
|
|
|
|
<$tiddler tiddler={{{ [<selectedTiddler>get[text]] }}}>
|
|
|
|
<div class="tc-tabbed-table-of-contents">
|
|
|
|
<$linkcatcher to=<<selectedTiddler>>>
|
|
|
|
<div class="tc-table-of-contents">
|
2024-02-04 06:37:24 +00:00
|
|
|
<!-- v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter -->
|
2024-02-01 17:07:40 +00:00
|
|
|
<$macrocall
|
|
|
|
$name="toc-selective-expandable"
|
|
|
|
tag=<<tag>>
|
|
|
|
sort=<<sort>>
|
|
|
|
itemClassFilter="[all[current]] -[<selectedTiddler>get[text]]"
|
|
|
|
exclude=<<exclude>>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</$linkcatcher>
|
|
|
|
<div class="tc-tabbed-table-of-contents-content">
|
|
|
|
<$reveal stateTitle=<<selectedTiddler>> type="nomatch" text="">
|
|
|
|
<$transclude mode="block" tiddler=<<template>>>
|
|
|
|
<h1><<toc-caption>></h1>
|
|
|
|
<$transclude mode="block">$missingText$</$transclude>
|
|
|
|
</$transclude>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal stateTitle=<<selectedTiddler>> type="match" text="">
|
|
|
|
<<unselectedText>>
|
|
|
|
</$reveal>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-11-13 21:39:28 +00:00
|
|
|
</$tiddler>
|
2014-11-14 17:06:21 +00:00
|
|
|
\end
|
|
|
|
|
2024-02-01 18:23:48 +00:00
|
|
|
<!-- ========================================================
|
|
|
|
Shows a tabbed toc. If a toc-item link is clicked
|
|
|
|
it will open the tiddler in the view area of the same tiddler
|
|
|
|
============================================================= -->
|
2024-02-01 17:07:40 +00:00
|
|
|
\procedure toc-tabbed-internal-nav(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"",exclude)
|
|
|
|
<$linkcatcher to=<<selectedTiddler>>>
|
|
|
|
<$macrocall
|
|
|
|
$name="toc-tabbed-external-nav"
|
|
|
|
tag=<<tag>>
|
|
|
|
sort=<<sort>>
|
|
|
|
selectedTiddler=<<selectedTiddler>>
|
|
|
|
unselectedText=<<unselectedText>>
|
|
|
|
missingText=<<missingText>>
|
|
|
|
template=<<template>>
|
|
|
|
exclude=<<exclude>>
|
|
|
|
/>
|
2014-11-13 21:39:28 +00:00
|
|
|
</$linkcatcher>
|
|
|
|
\end
|