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|}}}|<td colspan="2" style="background: rgb(91,76,62);
<includeonly><tr {{#if: {{{3|{{{invert|}}}}}}|style="background:#ccbcab;"}}>{{#if: {{{header|}}}|<td 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%),
     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%); height: 1.5em; text-align:center; "><b><span style="color: #e0cfbb; margin:auto;">{{{1|{{{label|}}}}}}</span></b></td>|<td style="{{#if: {{{width|}}}|width:{{{width}}}|width:60%}}"><b>{{ucfirst: {{{1|{{{label|}}}}}} }}</b></td><td>{{{2|{{{field|}}}}}}</td>}}</tr></includeonly>
                 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%); height: 1.5em; text-align:center; "><b><span style="color: #e0cfbb; margin:auto;">{{{1|{{{label|}}}}}}</span></b></td>|{{#if: {{{full|}}}|<td colspan="2">{{{2|{{{field|}}}}}}</td>|<td style="width:60%"><b>{{ucfirst: {{{1|{{{label|}}}}}} }}</b></td><td>{{{2|{{{field|}}}}}}</td>}}}}</tr></includeonly>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>

Revision as of 19:13, 20 August 2022


[create | history | purge this page]Documentation
This template has no documentation. If you know how to use this template, please create it.