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

From Vintage Story Wiki
(Created page with "<div class="center" style=" {{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }} {{#if: {{{linecol|}}} | border: 4px solid {{{linecol}}}; | }} max-width: {{#if: {{{mini|}}} |...")
 
mNo edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="center"  
<includeonly>{{#if: {{{head|}}}|<table class="wikitable mw-collapsible">
style="
<tr>
{{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }}
  <th style="width:200px">'''Ingredients'''</th>
{{#if: {{{linecol|}}} | border: 4px solid {{{linecol}}}; | }}
  <th>'''Crafting recipe'''</th>
max-width: {{#if: {{{mini|}}} | 50em | 90% }};
  {{#if: {{{notes|}}}|<th style="width:400px">'''Notes'''</th>}}
padding: 0.8em;
</tr>}}
font-size: 80%;
<tr style="text-align:center;">
{{{css|}}}
<td>{{{ingredients}}}</td>
">
<td>
<div>
<div style="position:relative; width:170px; height:240px; background: rgb(91,76,62);
{{#if: {{{image|}}} |  
    background: linear-gradient(to bottom, rgba(91,76,62,1) 0px, rgba(91,76,62,0) 15px,  rgba(56,43,30,0) calc(100% - 15px), rgba(56,43,30,1) 100%),
  [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px]]
                linear-gradient(to left, rgba(91,76,62,1) 0px, rgba(69,52,36,1) 15px, #403529 50%, rgba(69,52,36,1) calc(100% - 15px), rgba(56,43,30,1) 100%);">
}}
{{User:Sana/Sandbox/Template:Sana template 2|1|{{{A1|}}}|{{{A1|}}}|{{{A1|}}} }}
</div><div class="templatetext">
{{User:Sana/Sandbox/Template:Sana template 2|2|{{{B1|}}}|{{{B1|}}}|{{{B1|}}} }}
{{#if: {{{title|}}} | <big>'''{{{title}}}'''</big> }}
{{User:Sana/Sandbox/Template:Sana template 2|3|{{{C1|}}}|{{{C1|}}}|{{{C1|}}} }}
{{#if: {{{text|}}} | {{{text}}} }}
 
</div>
{{User:Sana/Sandbox/Template:Sana template 2|4|{{{A2|}}}|{{{A2_link|}}}|{{{A2_name|}}} }}
{{User:Sana/Sandbox/Template:Sana template 2|5|{{{B2|}}}|{{{B2_link|}}}|{{{B2_name|}}} }}
{{User:Sana/Sandbox/Template:Sana template 2|6|{{{C2|}}}|{{{C2_link|}}}|{{{C2_name|}}} }}
 
{{User:Sana/Sandbox/Template:Sana template 2|7|{{{A3|}}}|{{{A3_link|}}}|{{{A3_name|}}} }}
{{User:Sana/Sandbox/Template:Sana template 2|8|{{{B3|}}}|{{{B3_link|}}}|{{{B3_name|}}} }}
{{User:Sana/Sandbox/Template:Sana template 2|9|{{{C3|}}}|{{{C3_link|}}}|{{{C3_name|}}} }}
 
{{User:Sana/Sandbox/Template:Sana template 2|0|{{{out|}}}|{{{out_link|}}}|{{{out_name|}}} }}
</td>
{{#if: {{{notes|}}}|<td style="text-align:left;">{{{notes|}}}</td>}}
</tr>
{{#if: {{{foot|}}}|</table>}}</includeonly>

Latest revision as of 20:39, 22 August 2022