Content deleted Content added
m גרסה אחת יובאה |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> |
|||
<span class="{{{2|}}}">{{{1|}}}</span> |
|||
Template for styles spans |
|||
==Example == |
|||
<pre>{{span|content|style=text decoration: underline|class=new}}</pre> |
|||
== Result == |
|||
{{span|content|style=text decoration: underline|class=new}} |
|||
</noinclude><includeonly><span class="{{{class|}}}" style="{{{style|}}}">{{{1|}}}</span></includeonly><noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Content", |
|||
"required": true, |
|||
"suggested": true, |
|||
"type": "string" |
|||
}, |
|||
"class": { |
|||
"label": "Class", |
|||
"suggested": true |
|||
}, |
|||
"style": { |
|||
"label": "Style" |
|||
} |
|||
}, |
|||
"description": "Template for creating stylized spans" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
|||
Latest revision as of 11:51, 26 September 2023
Template for styles spans
Example
{{span|content|style=text decoration: underline|class=new}}Result
content
Template for creating stylized spans
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | 1 | no description | String | required |
| Class | class | no description | Unknown | suggested |
| Style | style | no description | Unknown | optional |