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 class="center" | <includeonly><div class="center" | ||
style=" | style=" | ||
{{#if: {{{bgcol|}}} | | background-color: {{#if: {{{bgcol|}}} | {{{bgcol}}} | #d5ceb0 }}; | ||
{{#if: {{{linecol|}}} | border: | {{#if: {{{linecol|}}} | border: 2px solid {{{linecol}}}; | }} | ||
max-width: {{#if: {{{mini|}}} | 50em | | max-width: {{#if: {{{mini|}}} | 50em | 75% }}; | ||
font-size: 100%; | |||
padding: 0.8em; | padding: 0.8em; | ||
margin: auto; | |||
{{{css|}}} | {{{css|}}} | ||
"> | "> | ||
<div> | <div class="flex-container" style="text-align: left"> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 32px | 64px }} }} | left]] | ||
}} | }} | ||
<div class="templatetext"> | |||
{{#if: {{{title|}}} | <big>'''{{{title}}}'''</big> }} | {{#if: {{{title|}}} | <big>'''{{{title}}}'''</big>}} | ||
{{#if: {{{text|}}} | {{{text}}} }} | {{#if: {{{text|}}} | {{{text}}} }} | ||
</div> | |||
</div></div> | </div></div> | ||
</includeonly> | </includeonly> | ||
<noinclude>{{doc}}</noinclude> | <noinclude>{{User:Sana/Sandbox/Template:Sana_template/doc}}</noinclude> |