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

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<div class="center"  
<div class="center"  
style="
style="
background-color: {{#if: {{{bgcol|}}} | {{{bgcol}}} | #d5ceb0 }};
background-color: {{#if: {{{bgcol|}}} | {{{bgcol}}} | #d9e1e4}};
{{#if: {{{linecol|}}} | border: 1px solid {{{linecol}}}; | }}
{{#if: {{{linecol|}}} | border-style: solid; border-width: 1px 1px 1px 4px; border-color: {{{linecol}}}; | border: 1px solid #7a7c7d;}}
width: {{#if: {{{mini|}}} | 50em | 75% }};
border-radius: 4px;
padding: 0.6em;
{{#if: {{{mini|}}} | font-size: 75%; | }}
margin: auto;  
width: {{#if: {{{mini|}}} | 50em | {{#if: {{{width|}}} | {{{width}}} | 90% }} }};
padding: 0.4em;
margin: auto;
{{{css|}}}
{{{css|}}}
"><div style="display: flex; justify-content: flex-start; align-items: center; padding-left: 10px">
"><div style="display: flex; justify-content: flex-start; align-items: center; padding-left: 10px">
{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }}}}|left|middle]]}}<div style="margin-left: 10px; text-align: left;">
{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }}}}|left|middle]]}}<div style="margin-left: 10px; text-align: left;">
{{#if: {{{title|}}} | <big>'''{{{title}}}'''</big>}}
{{#if: {{{title|}}} | <big>'''{{{title}}}'''</big>{{#if: {{{discuss|}}} | {{discuss}} }}<br>}}
 
{{#if: {{{text|}}} | {{{text}}} }}
{{#if: {{{text|}}} | {{{text}}} }}
</div></div></div>
</div></div></div>
Line 24: Line 25:
|image=move_arrows.png
|image=move_arrows.png
|title=It has been suggested that this page be moved
|title=It has been suggested that this page be moved
|discuss=true
|width=50%
|linecol= #000000
|linecol= #000000
|bgcol= CornflowerBlue
|bgcol= #958ee0
|text=It should be moved to someplace else or something idk, I just need to fill space a bit
|text=It should be moved to someplace else or something idk, I just need to fill space a bit
}}
}}
Line 31: Line 34:
{{User:Sana/Sandbox/Template:Sana_template
{{User:Sana/Sandbox/Template:Sana_template
|image=Grid_Copper_anvil.png
|image=Grid_Copper_anvil.png
|bgcol= #888888
|mini=true
|title=Title
|linecol=red
|bgcol= #bbbbbb
|css= box-shadow: 10px 10px 2px #787878;
|text=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris volutpat, libero non pretium mattis, urna augue viverra urna, id maximus velit elit vel urna.
|text=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris volutpat, libero non pretium mattis, urna augue viverra urna, id maximus velit elit vel urna.
}}
}}
</noinclude>
</noinclude>
Confirmedusers, Interface administrators
1,131

edits