Difference between revisions of "Widget:Button"

From Cargo Handbook - the world's largest cargo transport guidelines website
imported>Automator
(User: Liselot Roelen)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Managed
+
<noinclude>
|Version=1.0
+
 
|Version notes=1.0 - First managed version
 
|Short description=
 
|Feature=Wiki:Feature/1530870851
 
|Status=Live
 
|Uses managed items=}}
 
  
 
==Syntax==
 
==Syntax==
Line 35: Line 30:
  
  
==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>

Latest revision as of 09:55, 6 December 2019


Syntax

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

Example

click here