Difference between revisions of "Widget:Button"
From Venlo Samenwerkingswijzer
Line 32: | Line 32: | ||
[[Template:Linked button]] | [[Template:Linked button]] | ||
− | </noinclude><includeonly><a type="button" <!--{if ( | + | </noinclude><includeonly><a type="button" <!--{if (isset($class) && $class!="" )}-->class="<!--{$class|escape:'single quotes'}-->"<!--{/if}--> <!--{if (isset($id) && $id!="" )}-->id="<!--{$id|escape:'single quotes'}-->"<!--{/if}--> <!--{if (isset($style) && $style!="" )}-->style="<!--{$style|escape:'single quotes'}-->"<!--{/if}--> <!--{if (isset($href) && $href!="" )}-->href="<!--{$href|escape:'html'}-->"<!--{/if}--> <!--{if (isset($title) && $title!="" )}-->title="<!--{$title|escape:'html'}-->"<!--{/if}--> <!--{if (isset($target) && $target!="" )}-->target="<!--{$target|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datatoggle))}-->data-toggle="<!--{$datatoggle|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datadismiss))}-->data-dismiss="<!--{$datadismiss|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datatarget))}-->data-target="<!--{$datatarget|escape:'html'}-->"<!--{/if}--> <!--{if (isset($onclick) && $onclick!="" )}-->onClick="<!--{$onclick}-->"<!--{/if}--> role="button"><!--{if (isset($buttontext) && $buttontext!="" )}--><!--{$buttontext|escape:'single quotes'}--><!--{/if}--></a></includeonly> |
Latest revision as of 10:44, 24 July 2018
Borrowed from the Tenso wiki
Syntax
{{#widget: Button |class= |href= |title= |buttontext= |target= |style= }}
Example
Dashboard Samenwerking
https://venlo.dashboardsamenwerking.nl
Template version