(Imported by PageSync) Tag: Metadata slot edit |
(Imported by PageSync) Tag: wsps-content-edit-tag |
||
| Line 26: | Line 26: | ||
|hrefsurround=Used for images that should be surrounded by an ''a'' link | |hrefsurround=Used for images that should be surrounded by an ''a'' link | ||
|targetsurround= | |targetsurround= | ||
|alt= | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 35: | Line 36: | ||
</noinclude><includeonly><!--{if (isset($hrefsurround) && $hrefsurround != "")}--><a href="<!--{$hrefsurround|escape:'html'}-->" <!--{if (isset($targetsurround))}-->target="<!--{$targetsurround|escape:'html'}-->"<!--{/if}-->><!--{/if}--><<!--{$type|allowedvalues:'a,button,img,li'}--> <!--{if (isset($typeattribute) && $typeattribute!="")}-->type="<!--{$typeattribute|escape:'html'}-->"<!--{/if}--> <!--{if (isset($class) && $class!="")}-->class="<!--{$class|escape:'html'}-->"<!--{/if}--> <!--{if (isset($id) && $id!="")}-->id="<!--{$id|escape:'html'}-->"<!--{/if}--> <!--{if (isset($style) && $style!="")}-->style="<!--{$style|escape:'html'}-->"<!--{/if}--> <!--{if (isset($href))}-->href="<!--{$href|escape:'html'}-->"<!--{/if}--> <!--{if (isset($src) && $src!="")}-->src="<!--{$src|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datasrc) && $datasrc!="")}-->data-src="<!--{$datasrc|escape:'html'}-->"<!--{/if}--> <!--{if (isset($width) && $width!="" )}-->width="<!--{$width|escape:'html'}-->"<!--{else}--><!--{/if}--> <!--{if (isset($height) && $height!="" )}-->height="<!--{$height|escape:'html'}-->"<!--{else}--><!--{/if}--> <!--{if (isset($title))}-->title="<!--{$title|escape:'html'}-->"<!--{/if}--> <!--{if (isset($ariacontrols))}-->aria-controls="<!--{$ariacontrols|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($datatarget) && $datatarget!="")}-->data-target="<!--{$datatarget|escape:'html'}-->"<!--{/if}--> <!--{if (empty($for))}--><!--{else}-->for="<!--{$for|escape:'html'}-->"<!--{/if}--> <!--{if (isset($name) && $name!="" )}-->name="<!--{$name|escape:'html'}-->"<!--{/if}--> <!--{if (isset($value) && $value!="" )}-->value="<!--{$value|escape:'html'}-->"<!--{/if}--> <!--{if (isset($dataplacement))}-->data-placement="<!--{$dataplacement|escape:'html'}-->"<!--{/if}--> <!--{if (isset($dataslide) && $dataslide!="" )}-->data-slide="<!--{$dataslide|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datadismiss) && $datadismiss!="" )}-->data-dismiss="<!--{$datadismiss|escape:'html'}-->"<!--{/if}-->><!--{if (isset($text) && $text!="")}--><!--{$text|sanitize}--><!--{/if}--></<!--{$type|allowedvalues:'a,button,img,li'}-->><!--{if (isset($hrefsurround) && $hrefsurround!="")}--></a><!--{/if}--></includeonly> | </noinclude><includeonly><!--{if (isset($hrefsurround) && $hrefsurround != "")}--><a href="<!--{$hrefsurround|escape:'html'}-->" <!--{if (isset($targetsurround))}-->target="<!--{$targetsurround|escape:'html'}-->"<!--{/if}-->><!--{/if}--><<!--{$type|allowedvalues:'a,button,img,li'}--> <!--{if (isset($typeattribute) && $typeattribute!="")}-->type="<!--{$typeattribute|escape:'html'}-->"<!--{/if}--> <!--{if (isset($class) && $class!="")}-->class="<!--{$class|escape:'html'}-->"<!--{/if}--> <!--{if (isset($id) && $id!="")}-->id="<!--{$id|escape:'html'}-->"<!--{/if}--> <!--{if (isset($style) && $style!="")}-->style="<!--{$style|escape:'html'}-->"<!--{/if}--> <!--{if (isset($href))}-->href="<!--{$href|escape:'html'}-->"<!--{/if}--> <!--{if (isset($alt))}-->alt="<!--{$alt|escape:'html'}-->"<!--{/if}--> <!--{if (isset($src) && $src!="")}-->src="<!--{$src|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datasrc) && $datasrc!="")}-->data-src="<!--{$datasrc|escape:'html'}-->"<!--{/if}--> <!--{if (isset($width) && $width!="" )}-->width="<!--{$width|escape:'html'}-->"<!--{else}--><!--{/if}--> <!--{if (isset($height) && $height!="" )}-->height="<!--{$height|escape:'html'}-->"<!--{else}--><!--{/if}--> <!--{if (isset($title))}-->title="<!--{$title|escape:'html'}-->"<!--{/if}--> <!--{if (isset($ariacontrols))}-->aria-controls="<!--{$ariacontrols|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($datatarget) && $datatarget!="")}-->data-target="<!--{$datatarget|escape:'html'}-->"<!--{/if}--> <!--{if (empty($for))}--><!--{else}-->for="<!--{$for|escape:'html'}-->"<!--{/if}--> <!--{if (isset($name) && $name!="" )}-->name="<!--{$name|escape:'html'}-->"<!--{/if}--> <!--{if (isset($value) && $value!="" )}-->value="<!--{$value|escape:'html'}-->"<!--{/if}--> <!--{if (isset($dataplacement))}-->data-placement="<!--{$dataplacement|escape:'html'}-->"<!--{/if}--> <!--{if (isset($dataslide) && $dataslide!="" )}-->data-slide="<!--{$dataslide|escape:'html'}-->"<!--{/if}--> <!--{if (isset($datadismiss) && $datadismiss!="" )}-->data-dismiss="<!--{$datadismiss|escape:'html'}-->"<!--{/if}-->><!--{if (isset($text) && $text!="")}--><!--{$text|sanitize}--><!--{/if}--></<!--{$type|allowedvalues:'a,button,img,li'}-->><!--{if (isset($hrefsurround) && $hrefsurround!="")}--></a><!--{/if}--></includeonly> | ||
| ws-class-props | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{{ | {{Csp class properties | ||
|Type=CSP Basis Core | |Type=CSP Basis Core | ||
|Origin=CSP Basis | |Origin=CSP Basis | ||
}} | }} | ||
Latest revision as of 09:37, 15 July 2025
Syntax
{{#widget: Link
|type=a, li, button, img
|typeattribute=
|id=
|class=
|style=
|href=
|src=
|datasrc=
|title=
|ariacontrols=
|text=
|target=
|role=
|height=
|width=
|for=
|datatoggle=
|datatarget=
|dataplacement=
|dataslide=
|datadismiss=
|hrefsurround=Used for images that should be surrounded by an ''a'' link
|targetsurround=
|alt=
}}
example
- does not work