Template:Equation box: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Created page with "{| style="{{{table-style|margin: auto; border-collapse: collapse;}}}" |- style="vertical-align: text-top;" | <div<includeonly></includeonly> style="padding: 7px 10px; backgrou...")
 
mNo edit summary
Line 1: Line 1:
{| style="{{{table-style|margin: auto; border-collapse: collapse;}}}"
{| style="border-collapse: collapse; {{{table-style|margin: auto;}}}"
|- style="vertical-align: text-top;"
|- style="vertical-align: text-top;"
| <div<includeonly></includeonly> style="padding: 7px 10px; background: #F5FAFF; font-size: 110%; font-weight: bold;"><!--
| <div<includeonly></includeonly> style="padding: 7px 10px; background: #F5FAFF; font-size: 110%; font-weight: bold;"><!--
Line 15: Line 15:


"1 =" is only necessary when the message contains an equality symbol (=), due to wiki parameter parsing rules.
"1 =" is only necessary when the message contains an equality symbol (=), due to wiki parameter parsing rules.

By default the box is centered within its allowed area (using "margin: auto"). This can be overridden with the table-style parameter.


''Editor's note: This should be updated if/when GSWiki supports TeX functionality.''
''Editor's note: This should be updated if/when GSWiki supports TeX functionality.''

Revision as of 14:05, 11 February 2016

Sample text

Template

{{Equation box
|1 = Sample text}}

This template is designed to be used on spell pages or similar layouts with right-aligned navigation boxes. The message is contained in a table and adjusts width to avoid collision with other boxes.

"1 =" is only necessary when the message contains an equality symbol (=), due to wiki parameter parsing rules.

By default the box is centered within its allowed area (using "margin: auto"). This can be overridden with the table-style parameter.

Editor's note: This should be updated if/when GSWiki supports TeX functionality.