User:Sana/Sandbox/Template:Sana template: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="margin: auto; {{#if: {{{child|}}} |margin: -3px; |padding: 4px;  border-color: #382b1e; border-width: 3px; border-style: solid; margin: auto; width: 90%; border-radius: 4px; background-color: #e0cfbb;"}}>
<includeonly>
<div style="margin: auto; {{#if: {{{child|}}} |margin: -3px; |padding: 4px;  border-color: #382b1e; border-width: 3px; border-style: solid; margin: auto; width: 90%; border-radius: 4px; background-color: #e0cfbb;"}}>
<table {{#if: {{{child|}}} || class="mw-collapsible"}} style="border-spacing: 2px; width: 100%;">
<table {{#if: {{{child|}}} || class="mw-collapsible"}} style="border-spacing: 2px; width: 100%;">
   {{#if: {{{child|}}} || <tr><th colspan="2" style="{{#if: {{{titlestyle|}}}|{{{titlestyle}}}|
   {{#if: {{{child|}}} || <tr><th colspan="2" style="{{#if: {{{titlestyle|}}}|{{{titlestyle}}}|
Line 11: Line 12:
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group1}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group1}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group1}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group1}}}</span>]]</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body1|}}}|{{{body1}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}}; ">{{{body1|}}}</td>
   </tr>
   </tr>
}}
}}
Line 80: Line 81:
</div>
</div>
</includeonly>
</includeonly>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>

Revision as of 19:44, 7 August 2022


[view | edit | history | purge this page]Documentation

Default

This is a normal message box


Customized

Title
[view | edit | history | purge this page]The above documentation is transcluded from User:Sana/Sandbox/Template:Sana template/doc.