Template:Tocright
From UO Excelsior Wiki - Ultima Online Free Shard
Contents
Template:Tocright is designed for use on all pages to display a table of contents on the right side of the page at the insertion point that allows content to flow around it. {{#if: | {{{othernotes}}} | }}
Template
{{#switch: {{Tocright| }} | {{Tocright| }} }}
{{#if: | {{#ifeq: {{{display}}} | yes
| ==Display==
| ==Display==
{{{display}}}
}}
}}
Parameters
{{#switch: {{{parameters}}} | none = This template has no parameters. | | #default = }} {{#fornumargs: key | value | [[Category:{{#var: value}}|Tocright]] }}
1
- Usage: {{#ifeq: | mandatory | Mandatory | Optional}}
- Description: The 1 parameter takes a number denoting the lowest header level to be included in the table of contents. This is used to generate the "class" attribute in the div tag. {{#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:Tocright. }} }} {{#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:Tocright. | 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:Tocright. }}
- Valid Value(s): 1, 2, 3, 4, 5, 6, or 7