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"}}><td style="width:55%"><b>{{ucfirst: {{{1|{{{label|}}}}}} }}</b></td>
<includeonly><tr style="{{#if: {{{3|{{{invert|}}}}}}|background:#ccbcab;}}">{{#if: {{{header|}}}<!--
<td>{{{2|{{{field|}}}}}}</td></tr></includeonly>
-->|<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">{{{1|{{{label|}}}}}}</span></b></th></tr><!--
-->|<td style="width:55%"><b>{{ucfirst: {{{1|{{{label|}}}}}} }}</b></td><!--
--><td>{{{2|{{{field|}}}}}}</td>}}</tr></includeonly>

Revision as of 18:56, 17 August 2022