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"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
| u = <span style="text-decoration:underline;">{{{2|}}}</span> | | u = <span style="text-decoration:underline;">{{{2|}}}</span> | ||
| s = <span style="text-decoration:line-through;">{{{2|}}}</span> | | s = <span style="text-decoration:line-through;">{{{2|}}}</span> | ||
− | }} | + | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 22:11, 14 February 2014
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 | {{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 |
The above documentation is transcluded from Template:Dec/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |