title: $:/core/ui/Components/plugin-info \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,default-popup-state)
<$reveal type="nomatch" state=<> text="yes" default="""$default-popup-state$"""> <$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="yes"> {{$:/core/images/chevron-right}} <$reveal type="match" state=<> text="yes" default="""$default-popup-state$"""> <$button class="tc-btn-invisible tc-btn-dropdown" set=<> setTo="no"> {{$:/core/images/chevron-down}}
<$transclude tiddler=<> subtiddler=<>> <$transclude tiddler="$:/core/images/plugin-generic-$type$"/>

''<$view field="name"/>'': <$view field="description"><$view field="title"/> $disabledMessage$

<$view field="title"/>

<$view field="version"/>

\end \define plugin-info(type,default-popup-state) <$set name="popup-state" value=<>> <$reveal type="nomatch" state=<> text="yes"> <$link to={{!!title}} class="tc-plugin-info"> <> <$reveal type="match" state=<> text="yes"> <$link to={{!!title}} class="tc-plugin-info tc-plugin-info-disabled"> <">> <$reveal type="match" text="yes" state=<> default="""$default-popup-state$""">
<$list filter="[all[current]] -[[$:/core]]">
<$reveal type="nomatch" state=<> text="yes"> <$button set=<> setTo="yes" tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}> <> <$reveal type="match" state=<> text="yes"> <$button set=<> setTo="no" tooltip={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}> <>
<$set name="tabsList" filter="[list[]] contents"> <$macrocall $name="tabs" state=<> tabsList=<> default={{{ [enlist] }}} template="$:/core/ui/PluginInfo"/>
\end <$macrocall $name="plugin-info" type=<> default-popup-state=<>/>