Template:Infobox: Difference between revisions

From Vintage Story Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div style="margin: auto; padding: 4px;  border-color: #382b1e; border-width: 3px; border-style: solid; float:right; margin: auto; width: 250px; border-radius: 4px; background-color: #e0cfbb; {{{css|}}}">
<includeonly><div style="margin: auto; padding: 4px;  border-color: #382b1e; border-width: 3px; border-style: solid; float:right; margin: auto; width: 250px; border-radius: 4px; background-color: #e0cfbb; {{{css|}}}">
<table style="border-spacing: 2px; width: 100%;">
<table style="border-spacing: 2px; width: 100%;">
<tr><th colspan="2" style="{{#if: {{{titlestyle|}}}|{{{titlestyle}}}|
<tr><th colspan="2" style="{{#if: {{{titlestyle|}}}|{{{titlestyle}}}|
Line 6: Line 6:
                 linear-gradient(to right, rgba(91,76,62,1) 0px, rgba(69,52,36,1) 5px, rgba(69,52,36,1) 50%, rgba(69,52,36,1) calc(100% - 5px), rgba(56,43,30,1) 100%);}}">
                 linear-gradient(to right, rgba(91,76,62,1) 0px, rgba(69,52,36,1) 5px, rgba(69,52,36,1) 50%, rgba(69,52,36,1) calc(100% - 5px), rgba(56,43,30,1) 100%);}}">
     <big>'''<span style="color: #e0cfbb">{{{title}}}</span>'''</big></th></tr>
     <big>'''<span style="color: #e0cfbb">{{{title}}}</span>'''</big></th></tr>
<tr>{{#if: {{{image|}}}|[[File:{{{image}}}|128px]]}}</tr>
<tr colspan="2"><td style="margin:auto; text-align:center">{{#if: {{{image|}}}|[[File:{{{image}}}|128px]]}}</td></tr>
</table>
</table>
</div>
</div></includeonly>
 
<noinclude>
{{Infobox
{{Infobox
|title=Infobox
|title=Infobox
|image=salt.png
|image=salt.png
}}
}}
</noinclude>

Revision as of 02:16, 10 August 2022


Infobox
Salt.png