Difference between revisions of "Widget:Button"
From Cargo Handbook - the world's largest cargo transport guidelines website
m (1 revision imported) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude> |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Syntax== | ==Syntax== | ||
Line 35: | Line 30: | ||
− | |||
− | |||
</noinclude><includeonly><a type="button" <!--{if (isset($class) && $class!="" )}-->class="<!--{$class|escape:'quotes'}-->"<!--{/if}--> <!--{if (isset($id) && $id!="" )}-->id="<!--{$id|escape:'quotes'}-->"<!--{/if}--> <!--{if (isset($style) && $style!="" )}-->style="<!--{$style|escape:'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}--> role="button"><!--{if (isset($buttontext) && $buttontext!="" )}--><!--{$buttontext|escape:'quotes'}--><!--{/if}--></a></includeonly> | </noinclude><includeonly><a type="button" <!--{if (isset($class) && $class!="" )}-->class="<!--{$class|escape:'quotes'}-->"<!--{/if}--> <!--{if (isset($id) && $id!="" )}-->id="<!--{$id|escape:'quotes'}-->"<!--{/if}--> <!--{if (isset($style) && $style!="" )}-->style="<!--{$style|escape:'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}--> role="button"><!--{if (isset($buttontext) && $buttontext!="" )}--><!--{$buttontext|escape:'quotes'}--><!--{/if}--></a></includeonly> |
Latest revision as of 09:55, 6 December 2019
Syntax
{{#widget: Button |class= |id= |href= |title= |buttontext= |target= |style= |datatarget= |datatoggle= |datadismiss= }}
Example