Difference between revisions of "Widget:Button"

From Cargo Handbook - the world's largest cargo transport guidelines website
m (1 revision imported)
Line 35: Line 35:
  
  
==Template version==
 
[[Template:Linked button]]
 
  
  
 
</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>

Revision as of 09:53, 6 December 2019

Template:Managed

Syntax

{{#widget: Button
|class=
|id=
|href=
|title=
|buttontext=
|target=
|style=
|datatarget=
|datatoggle=
|datadismiss=
}}

Example

click here