Template:Monospace
From UO Excelsior Wiki - Ultima Online Free Shard
Contents
Template:Monospace is designed for use on all pages to display a span of text in the Monospace font. {{#if: | {{{othernotes}}} | }}
Template
{{#switch: {{Monospace| }} | {{Monospace| }} }}
{{#if: | {{#ifeq: {{{display}}} | yes
| ==Display==
{{{1}}}
| ==Display==
{{{display}}}
}}
}}
Parameters
{{#switch: {{{parameters}}} | none = This template has no parameters. | | #default = }} {{#fornumargs: key | value | [[Category:{{#var: value}}|Monospace]] }}
1
- Usage: {{#ifeq: mandatory | mandatory | Mandatory | Optional}}
- 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. {{#if: | If this parameter is left blank or omitted, a default value of "{{{defaultvalue}}}" is used. | }} {{#if: | {{#ifeq: {{{anonymous}}} | true | 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. }} }} {{#if: 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. | 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.