Template:KeyValue: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Bad solution) |
||
Line 51: | Line 51: | ||
<td align="center">{{#if:{{{src|}}}|'''{{{src|}}}'''}}</td> | <td align="center">{{#if:{{{src|}}}|'''{{{src|}}}'''}}</td> | ||
<td>{{{3|}}}{{#if:{{{toPN|}}}| <span style="opacity:.7">to</span> {{{toPN|}}}|}}</td> | <td>{{{3|}}}{{#if:{{{toPN|}}}| <span style="opacity:.7">to</span> {{{toPN|}}}|}}</td> | ||
<td align="center" {{#if:{{{color|}}}|style="background-color:rgb({{{color|}}})"|}}>{{{color|{{{value|}}}}}}{{#if:{{{rawValue|}}}|<div>{{Code|{{{rawValue|}}}}}</div>|}}</td> | <td align="center" {{#if:{{{color|}}}|style="background-color:rgb({{{color|}}}); color:{{#switch:{{{color|}}}|255 255 255=#141414|}};"|}}>{{{color|{{{value|}}}}}}{{#if:{{{rawValue|}}}|<div>{{Code|{{{rawValue|}}}}}</div>|}}</td> | ||
<td style="padding:0"><div style="max-height:200px; box-sizing:border-box; overflow-y:auto; padding:4px"><!-- | <td style="padding:0"><div style="max-height:200px; box-sizing:border-box; overflow-y:auto; padding:4px"><!-- | ||
--><div style="display:flex; align-items:center; flex-wrap:wrap; gap:6px"><!-- | --><div style="display:flex; align-items:center; flex-wrap:wrap; gap:6px"><!-- |
Revision as of 14:13, 7 March 2023
The above documentation is transcluded from Template:KeyValue/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.