Template:Infobox row: Difference between revisions
From Vintage Story Wiki
(Created page with "<includeonly>! {{ucfirst: {{{1|{{{label|}}}}}} }} | {{#if: {{{class|}}} | class="{{{class}}}" }} | {{{2|{{{field|}}}}}} |-</includeonly>") |
m (Added width parameter) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><tr {{#if: {{{3|{{{invert|}}}}}}|style="background:#ccbcab;"}}>{{#if: {{{header|}}}|<td colspan="2" style="background: rgb(91,76,62); | ||
| {{#if: {{{ | 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%), | ||
{{{2|{{{field|}}}}}} | 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" style="text-align:center">{{{2|{{{field|}}}}}}</td>|<td style="width:{{#if: {{{width|}}}|{{{width}}}|60%}}"><b>{{ucfirst: {{{1|{{{label|}}}}}} }}</b></td><td>{{{2|{{{field|}}}}}}</td>}}}}</tr></includeonly> | ||
<noinclude>{{doc}}</noinclude> |
Latest revision as of 22:19, 27 August 2022
[create | history | purge this page]Documentation
This template has no documentation. If you know how to use this template, please create it.