Difference between revisions of "Template:Span"

m
m
Line 6: Line 6:
 
|text=
 
|text=
 
}}</nowiki>
 
}}</nowiki>
|parameters=yes
 
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter

Revision as of 12:49, 10 December 2009

Template:Span is designed for use on all pages to apply specific display properties to a span of text.

Template

{{Span
|property=
|text=
}}

Parameters

[[Category:{{{category}}} Templates|Span]]

property

  • Usage: Mandatory
  • Description: The property parameter takes a string denoting the CSS property-value combination that is to be applied to the span of text. This is used to generate the "style" attribute in the <span> tag.
  • Valid Value(s): Any string that denotes a valid CSS property-value combination.

text

  • Usage: Mandatory
  • Description: The text parameter takes a string or strings denoting the text to be stylized and displayed. This is used to generate the actual text that is to go in the <span> tag.
  • Valid Value(s): Any string or strings.