You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Difference between revisions of "Template:Dec/doc"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
|- | |- | ||
| style="text-align:center;" | s | | style="text-align:center;" | s | ||
− | | | + | | Line-through (<code><nowiki><del></nowiki></code>) |
| <code><nowiki>{{dec|s|Sample string}}</nowiki></code> | | <code><nowiki>{{dec|s|Sample string}}</nowiki></code> | ||
| style="text-align:center;" | {{dec|s|Sample string}} | | style="text-align:center;" | {{dec|s|Sample string}} |
Revision as of 15:23, 9 October 2015
This is a documentation subpage for Template:Dec. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This template is used to quickly apply the CSS property decoration to a string of text. It accepts three parameters, though only one can be used per instance of the template:
Parameter | Effect | Syntax | Example |
---|---|---|---|
o | Overline | {{dec|o|Sample string}}
|
Sample string |
s | Line-through (<del> )
|
{{dec|s|Sample string}}
|
Sample string |
u | Underline | {{dec|u|Sample string}}
|
Sample string |
all | Multiple decorations | {{dec|o|{{dec|s|{{dec|u|Sample string}}}}}}
|
Sample string |