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) \whitespace trim
<$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$"/>

''<$text text={{{ [get[name]] ~[split[/]last[1]] }}}/>'': <$view field="description"><$view field="title"/> $disabledMessage$

<$view field="title"/>

<%if [get[stability]match[STABILITY_0_DEPRECATED]] %> <> <%elseif [get[stability]match[STABILITY_1_EXPERIMENTAL]] %> <> <%elseif [get[stability]match[STABILITY_2_STABLE]] %> <> <%elseif [get[stability]match[STABILITY_3_LEGACY]] %> <> <%endif%> <$view field="version"/>

\end \define plugin-info(type,default-popup-state) \whitespace trim <$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=<>/>