• image = info.png
  • border = blue
  • type = This is a notice.
  • info =
  • |image=: image for use on the left, defaults to Image:Wiki.png. Takes full image code, e.g. <code><nowiki>wiki.png</nowiki></code>. The image box area has a limit of 60px width.
  • |type=: top line text
  • |info=: list of extra info
  • |border=: border colour (defaults to blue)
  • red : ambox-red (serious issue/deletion)
  • orange : ambox-orange (content)
  • yellow : ambox-yellow (style)
  • green : ambox-green (something good)
  • purple : ambox-purple (merge/split/move)
  • blue : ambox-blue (notice)
  • gray : ambox-gray (protection)
  • |style=: extra style parameters (unlikely to be used)
  • |image=: image for use on the left, defaults to Image:Wiki.png. Takes full image code, e.g. <code><nowiki>wiki.png</nowiki></code>. The image box area has a limit of 60px width.
  • |type=: top line text
  • |info=: list of extra info
  • |border=: border colour (defaults to blue)
  • red : ambox-red (serious issue/deletion)
  • orange : ambox-orange (content)
  • yellow : ambox-yellow (style)
  • green : ambox-green (something good)
  • purple : ambox-purple (merge/split/move)
  • blue : ambox-blue (notice)
  • gray : ambox-gray (protection)
  • |style=: extra style parameters (unlikely to be used)
  • Description
  • This template will float the article's table of contents (ToC) to the right. It will also force a ToC to appear even if it would not normally appear.
  • Use it only when needed.
  • Syntax
  • Type

{{ #ifeq: | <!-- only display output when in the Template: namespace --> | {{ #ifeq: {{ #if: {{{reusedemo|}}} | {{{reusedemo}}} | {{ns:4}} }} | Wikia Templates | {{ #ifeq: {{{name<noinclude>|SPW</noinclude>}}} | {{ #ifeq: | doc | {{BASEPAGENAME}} | }} | <!-- {{{name}}} is used with the correct value --> | :<strong class="error">Error: <nowiki>{{{name}}}</nowiki> parameter is unused or incorrect!</strong> Please replace <code><nowiki>{{SPW</nowiki>{{ #if: | | }}{{ #ifeq: {{{name|¬}}} | ¬ | | |name={{{name|}}} }}<nowiki>}}</nowiki></code> with <code><nowiki>{{SPW</nowiki>{{ #if: | | }}|name={{BASEPAGENAME}}<nowiki>}}</nowiki></code>.<br /> }}:''{{ #switch: | is on = This template or a similar one is on the Starter Pages Wikia, whence it is incorporated in every new Wikia site and can be copied to older ones. | is newer = This template is newer than a similar one on the Starter Pages Wikia. This template may therefore have bug fixes or improvements when compared to the older version.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | }} }} | is not on = This template is not on the Starter Pages Wikia. It can be copied to other Wikia sites, but it is not included on any by default.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | }} }} | #default = Editors have not checked whether this template is or is not on the Starter Pages Wikia.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | }} }} }}'' | <table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}} | red = ambox-red | orange = ambox-orange | yellow = ambox-yellow | purple = ambox-purple | blue = ambox-blue | green = ambox-green | gray = ambox-gray | #default = ambox-blue }}"> <tr> <td class="ambox-image">{{{image|info.png}}}</td> <td style="padding: 0.25em 0.5em;">{{{type|}}} <div class="ambox-smalltext"> {{{info|}}} </div></td></tr></table><noinclude>

<pre> <table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}} | red = ambox-red | orange = ambox-orange | yellow = ambox-yellow | purple = ambox-purple | blue = ambox-blue | green = ambox-green | gray = ambox-gray | #default = ambox-blue }}"> <tr> <td class="ambox-image">{{{image|info.png}}}</td> <td style="padding: 0.25em 0.5em;">{{{type|}}} <div class="ambox-smalltext"> {{{info|}}} </div></td></tr></table><noinclude>

<pre> {{ambox And this is some exposition. }} </pre> </noinclude>

<noinclude>

</noinclude> </pre> </noinclude>

<noinclude>

</noinclude>}|Template:{{{name}}}]] on Wikia Templates.|info=That wiki should periodically be checked for a new version of this template.|border=blue}} {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- documentation subpage --> | }} }} }}<noinclude> <div class="template-documentation" style="clear: both; border: 1px solid black; margin: 1em;"> <div class="color1" style="padding: 1em; margin: 0;">Template documentation <span style="font-size: 85%;">(for the above template, sometimes hidden or invisible)</span><span class="editsection plainlinks" id="doc_editlinks"> Edit <span title="Refresh this page">Refresh</span></span></div> <div style="padding: 1em; padding-bottom: 0; margin: 0;">{{ #if: | <nowiki/>

| {{ #ifexist: | <noinclude>''This template will float the article table of contents to the right. Use it only when needed.'' </noinclude><div style="clear: ; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: transparent; max-width: 20em;"></div>{{{{ #ifeq: | || :{{NAMESPACE:{{ #if: | | }}}}: }}{{ #if: | {{PAGENAME:}} | {{PAGENAME}}/doc}} }} | :<strong class="error">This template doesn't have any documentation yet!</strong> Help out by [ writing some]. {{ #ifeq: {{NAMESPACE}} | {{ns:10}} | There may also be documentation on Wikia Templates which can be copied. }} }} }} </div> <div class="color1" style="clear: both; padding: 0.5em; margin: 0; font-size: 85%; text-align: right;">{{ #if: | [ Edit this page] | Visit {{ #ifexist: {{ #if: | | /doc }} | {{{1}}} | /doc }} | [{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | /doc }}|action=edit&preload=Template:Documentation/preload}} {{ #if: {{{1|}}} | {{{1}}} | /doc }}] }} }} to change this text! (How does this work?)<br />Done making changes? [ Refresh] this text! (Why?)</div> </div> </noinclude>