title: $:/core/ui/ControlPanel/Plugins
tags: $:/tags/ControlPanel
caption: {{$:/language/ControlPanel/Plugins/Caption}}
\define lingo-base() $:/language/ControlPanel/Plugins/
\define popup-state-macro()
$(qualified-state)$-$(currentTiddler)$
\end
\define tabs-state-macro()
$(popup-state)$-$(pluginInfoType)$
\end
\define plugin-icon-title()
$(currentTiddler)$/icon
\end
\define plugin-disable-title()
$:/config/Plugins/Disabled/$(currentTiddler)$
\end
\define plugin-table-body(type,disabledMessage)
<$reveal type="nomatch" state=<
> text="yes">
<$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="yes">
{{$:/core/images/right-arrow}}
$button>
$reveal>
<$reveal type="match" state=<> text="yes">
<$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="no">
{{$:/core/images/down-arrow}}
$button>
$reveal>
<$transclude tiddler=<
> subtiddler=<>>
<$transclude tiddler="$:/core/images/plugin-generic-$type$"/>
$transclude>
''<$view field="description"><$view field="title"/>$view>'' $disabledMessage$
<$view field="title"/>
<$view field="version"/>
\end
\define plugin-table(type)
<$set name="qualified-state" value=<>>
<$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]" emptyMessage=<>>
<$set name="popup-state" value=<>>
<$reveal type="nomatch" state=<> text="yes">
<$link to={{!!title}} class="tc-plugin-info">
<>
$link>
$reveal>
<$reveal type="match" state=<> text="yes">
<$link to={{!!title}} class="tc-plugin-info tc-plugin-info-disabled">
<">>
$link>
$reveal>
<$reveal type="match" text="yes" state=<>>
<$list filter="[all[current]] -[[$:/core]]">
<$reveal type="nomatch" state=<
> text="yes">
<$button set=<> setTo="yes" title={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>
<>
$button>
$reveal>
<$reveal type="match" state=<> text="yes">
<$button set=<> setTo="no" title={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>
<>
$button>
$reveal>
$list>
<$reveal type="nomatch" text="" state="!!list">
<$macrocall $name="tabs" state=<
> tabsList={{!!list}} default="readme" template="$:/core/ui/PluginInfo"/>
$reveal>
<$reveal type="match" text="" state="!!list">
No information provided
$reveal>
$reveal>
$set>
$list>
$set>
\end
! <>
<>
! <>
<>
! <>
<>