Difference between revisions of "Template:Label button"

From BrineRIS Dataspace
(Updated with content from Extension:SemanticActions version 1.0.0)
 
(Updated with content from Extension:SemanticActions version 1.0.0)
 
Line 9: Line 9:
 
-->{{#vardefine:labelColorQueried|{{#show:{{#var:labelPageName}}|?Color}}}}<!--
 
-->{{#vardefine:labelColorQueried|{{#show:{{#var:labelPageName}}|?Color}}}}<!--
  
-->{{#vardefine:color|{{#if:{{#var:labelColorQueried}}|{{#var:labelColorQueried}}|Gray}}}}<span class="actionable_button label_button_{{#var:color}}">{{#formredlink:form=Label|link text={{#var:labelName}}|existing page link text={{#var:labelPageName}}|link type=text|query string=Label[ALIAS]={{#var:labelName}}|target={{#var:labelPageName}}|tooltip=Create a page for this label to customize its color|new window}}</span><!--
+
-->{{#vardefine:color|{{#if:{{#var:labelColorQueried}}|{{#var:labelColorQueried}}|Gray}}}}<span class="actionable_button label_button_{{#var:color}}">{{#formredlink:form=Label|link text={{#var:labelName}}|existing page link text={{#var:labelPageName}}|link type=text|query string=Label[ALIAS]={{#var:labelName}}|target={{#var:labelPageName}}|tooltip={{int:sa-create-label-page}}|new window}}</span><!--
  
 
Clear variables
 
Clear variables
  
 
-->{{#vardefine:labelPageName|}}{{#vardefine:labelName|}}{{#vardefine:color|}}{{#vardefine:labelColorQueried|}}</includeonly><noinclude>[[Category:Page required for Actionable Extension]]</noinclude>
 
-->{{#vardefine:labelPageName|}}{{#vardefine:labelName|}}{{#vardefine:color|}}{{#vardefine:labelColorQueried|}}</includeonly><noinclude>[[Category:Page required for Actionable Extension]]</noinclude>

Latest revision as of 04:49, 18 November 2022