Template:DropRow: Difference between revisions
From Ephinea PSO Wiki
mNo edit summary |
(This is it. A thing. I spent an hour on this and you can put pipes inside nested parser functions. The whole time. Wow.) |
||
Line 1: | Line 1: | ||
{{#switch:{{{ | {{#switch:{{{id}}} | ||
| Viridia = !style="background-color: #00a060;"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia]] | | Viridia = !style="background-color: #00a060;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia]] | ||
| Greenill = !style="background-color: #70f040;"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill]] | | Greenill = !style="background-color: #70f040;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill]] | ||
| Skyly = !style="background-color: #60f0f0;"{{!}}[[File:Skyly icon.png{{!}}x24px{{!}}Skyly]] | | Skyly = !style="background-color: #60f0f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Skyly icon.png{{!}}x24px{{!}}Skyly]] | ||
| Bluefull = !style="background-color: #4080f0;"{{!}}[[File:Bluefull icon.png{{!}}x24px{{!}}Bluefull]] | | Bluefull = !style="background-color: #4080f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Bluefull icon.png{{!}}x24px{{!}}Bluefull]] | ||
| Purplenum = !style="background-color: #c000f0;"{{!}}[[File:Purplenum icon.png{{!}}x24px{{!}}Purplenum]] | | Purplenum = !style="background-color: #c000f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Purplenum icon.png{{!}}x24px{{!}}Purplenum]] | ||
| Pinkal = !style="background-color: #f080c0;"{{!}}[[File:Pinkal icon.png{{!}}x24px{{!}}Pinkal]] | | Pinkal = !style="background-color: #f080c0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Pinkal icon.png{{!}}x24px{{!}}Pinkal]] | ||
| Redria = !style="background-color: #f01010;"{{!}}[[File:Redria icon.png{{!}}x24px{{!}}Redria]] | | Redria = !style="background-color: #f01010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Redria icon.png{{!}}x24px{{!}}Redria]] | ||
| Oran = !style="background-color: #f08010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Oran icon.png{{!}}x24px{{!}}Oran]] | | Oran = !style="background-color: #f08010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Oran icon.png{{!}}x24px{{!}}Oran]] | ||
| Yellowboze = !style="background-color: #f0f010;"{{!}}[[File:Yellowboze icon.png{{!}}x24px{{!}}Yellowboze]] | | Yellowboze = !style="background-color: #f0f010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Yellowboze icon.png{{!}}x24px{{!}}Yellowboze]] | ||
| Whitill = !style="background-color: #ffffff;"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill]] | | Whitill = !style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill]] | ||
}} | }} | ||
{{#if:{{{diffspan|}}}|!rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}} | {{#if:{{{diffspan|}}}|!rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}} |
Revision as of 04:06, 12 July 2017
|{{{1}}}
|{{{2}}}
|-