Difference between revisions of "Widget:Link"

From Venlo Samenwerkingswijzer
(Created page with "<noinclude> {{Managed |Version=1.1 |Version notes=Basic stable version }} ==Syntax== <pre> {{#widget: Link |type=a, li, etc. (mandatory) |class= |href= |title= |text= |target=...")
 
 
Line 28: Line 28:
 
}}
 
}}
  
</noinclude><includeonly><<!--{$type|escape:'html'}--> <!--{if (isset($class))}-->class="<!--{$class|escape:'html'}-->"<!--{/if}--> <!--{if (isset($href))}-->href="<!--{$href|escape:'html'}-->"<!--{/if}--> <!--{if (isset($title))}-->title="<!--{$title|escape:'html'}-->"<!--{/if}--> <!--{if (isset($role))}-->role="<!--{$role|escape:'html'}-->"<!--{/if}--> <!--{if (isset($target))}-->target="<!--{$target|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datatoggle))}-->data-toggle="<!--{$datatoggle|escape:'html'}-->"<!--{/if}-->><!--{if (isset($text))}--><!--{$text|escape:'quotes'}--><!--{/if}--></<!--{$type|escape:'html'}--> ></includeonly>
+
</noinclude><includeonly><<!--{$type|escape:'html'}--> <!--{if (isset($class))}-->class="<!--{$class|escape:'html'}-->"<!--{/if}--> <!--{if (isset($href))}-->href="<!--{$href|escape:'html'}-->"<!--{/if}--> <!--{if (isset($title))}-->title="<!--{$title|escape:'html'}-->"<!--{/if}--> <!--{if (isset($role))}-->role="<!--{$role|escape:'html'}-->"<!--{/if}--> <!--{if (isset($target))}-->target="<!--{$target|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datatoggle))}-->data-toggle="<!--{$datatoggle|escape:'html'}-->"<!--{/if}--> <!--{if (isset($name))}-->name="<!--{$name|escape:'quotes'}-->"<!--{/if}-->><!--{if (isset($text))}--><!--{$text|escape:'quotes'}--><!--{/if}--></<!--{$type|escape:'html'}--> ></includeonly>

Latest revision as of 15:24, 8 November 2016

Template:Managed

Syntax

{{#widget: Link
|type=a, li, etc. (mandatory)
|class=
|href=
|title=
|text=
|target=
|role=
|data-toggle=
}}

Example

Text here