1,133
edits
(Created a "CellColor"-template for highlighting ressource-related table-cells) |
(Added Bananium-preset) |
||
Line 1: | Line 1: | ||
<includeonly>style="background-color: {{#if: {{{rmet|}}}|\#909090|}}{{#if: {{{rgla|}}}|\#9bd4f2|}}{{#if: {{{rpla|}}}|\#ff22d9|}}{{#if: {{{rsil|}}}|\#dcdcdc|}}{{#if: {{{rgol|}}}|\#ffc20e|}}{{#if: {{{rura|}}}|\#2e912e|}}{{#if: {{{rdia|}}}|white|}}{{#if: {{{rtit|}}}|\#bbbbbb|}}{{#if: {{{rblu|}}}|\#3399ff|}};"</includeonly><noinclude> | <includeonly>style="background-color: {{#if: {{{rmet|}}}|\#909090|}}{{#if: {{{rgla|}}}|\#9bd4f2|}}{{#if: {{{rpla|}}}|\#ff22d9|}}{{#if: {{{rsil|}}}|\#dcdcdc|}}{{#if: {{{rgol|}}}|\#ffc20e|}}{{#if: {{{rura|}}}|\#2e912e|}}{{#if: {{{rdia|}}}|white|}}{{#if: {{{rtit|}}}|\#bbbbbb|}}{{#if: {{{rblu|}}}|\#3399ff|}}{{#if: {{{rban|}}}|yellow|}};"</includeonly><noinclude> | ||
== About == | == About == | ||
Compact '''CellColor''' template for coloring table cells. Intended for use in ressource-related tables like [[Guide to Research and Development]], where a non-hardcoded way of highlighting different ressources in long tables could help increasing readability. | Compact '''CellColor''' template for coloring table cells. Intended for use in ressource-related tables like [[Guide to Research and Development]], where a non-hardcoded way of highlighting different ressources in long tables could help increasing readability. | ||
Line 44: | Line 44: | ||
|y | |y | ||
|Optional, color-switch (Ressource Bluespace). Make sure to set a non-empty value. Do not combine with other switches. | |Optional, color-switch (Ressource Bluespace). Make sure to set a non-empty value. Do not combine with other switches. | ||
|- | |||
!rban | |||
|y | |||
|Optional, color-switch (Bananium). Make sure to set a non-empty value. Do not combine with other switches. | |||
|} | |} | ||
Line 58: | Line 62: | ||
![[File:Titaniumdone.png]] | ![[File:Titaniumdone.png]] | ||
![[File:Bluespace_Crystal.png]] | ![[File:Bluespace_Crystal.png]] | ||
![[File:Bananimumdone.png]] | |||
|- | |- | ||
|{{CCol|rmet=y}}|a1 | |{{CCol|rmet=y}}|a1 | ||
|{{CCol|rgla=y}}| | |{{CCol|rgla=y}}|b2 | ||
|{{CCol|rpla=y}}| | |{{CCol|rpla=y}}|c3 | ||
|{{CCol|rsil=y}}| | |{{CCol|rsil=y}}|d4 | ||
|{{CCol|rgol=y}}| | |{{CCol|rgol=y}}|e5 | ||
|{{CCol|rura=y}}| | |{{CCol|rura=y}}|f6 | ||
|{{CCol|rdia=y}}| | |{{CCol|rdia=y}}|g7 | ||
|{{CCol|rtit=y}}| | |{{CCol|rtit=y}}|h8 | ||
|{{CCol|rblu=y}}| | |{{CCol|rblu=y}}|j9 | ||
|{{CCol|rban=y}}|k10 | |||
|}</pre> | |}</pre> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 79: | Line 85: | ||
![[File:Titaniumdone.png]] | ![[File:Titaniumdone.png]] | ||
![[File:Bluespace_Crystal.png]] | ![[File:Bluespace_Crystal.png]] | ||
![[File:Bananimumdone.png]] | |||
|- | |- | ||
|{{CCol|rmet=y}}|a1 | |{{CCol|rmet=y}}|a1 | ||
|{{CCol|rgla=y}}| | |{{CCol|rgla=y}}|b2 | ||
|{{CCol|rpla=y}}| | |{{CCol|rpla=y}}|c3 | ||
|{{CCol|rsil=y}}| | |{{CCol|rsil=y}}|d4 | ||
|{{CCol|rgol=y}}| | |{{CCol|rgol=y}}|e5 | ||
|{{CCol|rura=y}}| | |{{CCol|rura=y}}|f6 | ||
|{{CCol|rdia=y}}| | |{{CCol|rdia=y}}|g7 | ||
|{{CCol|rtit=y}}| | |{{CCol|rtit=y}}|h8 | ||
|{{CCol|rblu=y}}| | |{{CCol|rblu=y}}|j9 | ||
|{{CCol|rban=y}}|k10 | |||
|} | |} | ||
edits