Template:Equation box: Difference between revisions
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...") |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| style=" |
{| style="margin: 1em; padding: 0.5em; background:#F5FAFF; border: 1px solid #CEE0F2;" |
||
|- |
|||
|- style="vertical-align: text-top;" |
|||
| {{{1}}} |
|||
| <div<includeonly></includeonly> style="padding: 7px 10px; background: #F5FAFF; font-size: 110%; font-weight: bold;"><!-- |
|||
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text</noinclude>}}<!-- |
|||
--></div> |
|||
|}<noinclude> |
|}<noinclude> |
||
== Template == |
== Template == |
||
Line 16: | Line 14: | ||
"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. |
||
⚫ | |||
''Editor's note: This should be updated if/when GSWiki supports TeX functionality.'' |
|||
⚫ | |||
</noinclude> |
</noinclude> |
Latest revision as of 09:52, 6 March 2020
{{{1}}} |
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.