Difference between revisions of "Template:Text-Decoration"

m (Protected "Template:Text-Decoration" [edit=sysop:move=sysop])
m
 
Line 6: Line 6:
 
|text=
 
|text=
 
}}</nowiki>
 
}}</nowiki>
 +
|category=Utility
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 22: Line 23:
 
|generates=the actual displayed text
 
|generates=the actual displayed text
 
|validvalues=Any string or strings.
 
|validvalues=Any string or strings.
}}
+
}}</noinclude><includeonly>{{Span
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude><includeonly>{{Span
+
 
|property=text-decoration:{{{textdecoration}}};
 
|property=text-decoration:{{{textdecoration}}};
 
|text={{{text}}}
 
|text={{{text}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 10:31, 28 December 2009

Template:Text-Decoration is designed for use on all pages to change the text decoration used on a span of text.

Template

{{Text-Decoration
|textdecoration=
|text=
}}

Parameters

textdecoration

  • Usage: Mandatory
  • Description: The textdecoration parameter takes a string or strings denoting the text decoration to be used when rendering the text. This is used to generate the value for the "text-decoration" CSS property in the span.
  • Valid Value(s): Any string or strings that correspond to valid CSS "text-decoration" values.

text

  • Usage: Mandatory
  • Description: The text parameter takes a string or strings denoting the text to be rendered using the supplied "text-decoration" value. This is used to generate the actual displayed text.
  • Valid Value(s): Any string or strings.