Difference between revisions of "Template:Monospace"

m (Protected "Template:Monospace" [edit=sysop:move=sysop])
m
Line 10: Line 10:
 
|denotes=the text to be rendered in the Monospace font
 
|denotes=the text to be rendered in the Monospace font
 
|generates=the actual displayed text
 
|generates=the actual displayed text
|othernotes=This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using [[Template:Monospace]].
+
|othernotes=This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using [[Template:Monospace]]. This template can also be used to replace {{Monospace|<nowiki><code></code></nowiki>}} tags in most instances.
 
|validvalues=Any string or strings.
 
|validvalues=Any string or strings.
 
}}
 
}}

Revision as of 22:12, 26 November 2009

Template:Monospace is designed for use on all pages to display a span of text in the Monospace font.

Template

{{Monospace| }}

Parameters

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

1

  • Usage: Mandatory
  • Description: The 1 parameter takes a string or strings denoting the text to be rendered in the Monospace font. This is used to generate the actual displayed text. This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using Template:Monospace. This template can also be used to replace <code></code> tags in most instances.
  • Valid Value(s): Any string or strings.