Wiktenauer logo.png

Difference between revisions of "Template:Dec"

From Wiktenauer
Jump to navigation Jump to search
Line 2: Line 2:
 
  | o = <span style="text-decoration:overline;">{{{2|}}}</span>
 
  | o = <span style="text-decoration:overline;">{{{2|}}}</span>
 
  | 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 = <del>{{{2|}}}</del>
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 02:31, 14 March 2015

[edit] [history] [purge] Documentation icon Template documentation

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