Wiktenauer logo.png

Difference between revisions of "Template:Dec/doc"

From Wiktenauer
Jump to navigation Jump to search
(Created page with "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 templa...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
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:
 
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:
  
Line 16: Line 17:
 
|-  
 
|-  
 
| style="text-align:center;" | s
 
| style="text-align:center;" | s
| Strikethrough
+
| Line-through
 
| <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}}
Line 29: Line 30:
 
| style="text-align:center;" | all
 
| style="text-align:center;" | all
 
| Multiple decorations
 
| Multiple decorations
| <code><nowiki>{{dec|o| {{dec|s| {{dec | u | Sample string }} }} }}</nowiki></code>
+
| <code><nowiki>{{dec|o|{{dec|s|{{dec|u|Sample string}}}}}}</nowiki></code>
| style="text-align:center;" | {{dec|o| {{dec|s| {{dec | u | Sample string }} }} }}
+
| style="text-align:center;" | {{dec | o | {{dec | s | {{dec | u | Sample string }} }} }}
  
 
|}
 
|}

Latest revision as of 23:45, 31 October 2022

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