Template:Infobox row: Difference between revisions
From Vintage Story Wiki
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tr {{#if: {{{3|{{{invert|}}}}}}|style="background:#ccbcab;"}}>{{#if: {{{header|}}}|<th colspan="2" style="background: rgb(91,76,62); background: linear-gradient(to bottom, rgba(91,76,62,1) 0px, rgba(91,76,62,0) 5px, rgba(56,43,30,0) 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%) | <includeonly><tr {{#if: {{{3|{{{invert|}}}}}}|style="background:#ccbcab;"}}>{{#if: {{{header|}}}|<th colspan="2" style="background: rgb(91,76,62); background: linear-gradient(to bottom, rgba(91,76,62,1) 0px, rgba(91,76,62,0) 5px, rgba(56,43,30,0) 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%)"><b><span style="color: #e0cfbb; height: 1em">{{{1|{{{label|}}}}}}</span></b></th>|<td style="width:55%"><b>{{ucfirst: {{{1|{{{label|}}}}}} }}</b></td><td>{{{2|{{{field|}}}}}}</td>}}</tr></includeonly> |