Template:Work color: Difference between revisions
(Created page with "{{#switch: {{{1}}} | Winds of Night | WOW = rgb(2, 126, 177) | A Clash of Kings | ACoK = rgb(239, 175, 51) | A Storm of Swords | ASoS = rgb(35, 135, 75) | A Feast for Crows | AFfC = rgb(213, 70, 30) | A Dance with Dragons | ADwD = rgb(230, 230, 230)}}<noinclude>{{Documentation}}</noinclude>") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| Winds of Night | | | Winds of Night | WON = rgb(2, 126, 177) | ||
| A Clash of Kings | ACoK = rgb(239, 175, 51) | | A Clash of Kings | ACoK = rgb(239, 175, 51) | ||
| A Storm of Swords | ASoS = rgb(35, 135, 75) | | A Storm of Swords | ASoS = rgb(35, 135, 75) | ||
| A Feast for Crows | AFfC = rgb(213, 70, 30) | | A Feast for Crows | AFfC = rgb(213, 70, 30) | ||
| A Dance with Dragons | ADwD = rgb(230, 230, 230)}}<noinclude>{{Documentation}}</noinclude> | | A Dance with Dragons | ADwD = rgb(230, 230, 230)}}<noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 03:56, 10 June 2024
Usage[edit source]
Template defining standard colors for the separate works in the ASoIaF world.
Colors are returned as hex triplets.
Usage: {{Work color | name of work}}
Example: <span style="background-color:{{work color|AGoT}}">A Game of Thrones</span> → A Game of Thrones
Current ASoIaF book colors are picked from the current covers as seen in en:File:WikiFullASoIaFSizeEdit.JPG. Should probably me modified to be lighter, for better contrast with black font.
Values[edit source]
| Available values | ||
|---|---|---|
WON |
Winds of Nights | |
ACoK |
A Clash of Kings | |
ASoS |
A Storm of Swords | |
AFfC |
A Feast for Crows | |
ADwD |
A Dance with Dragons | |
| The above documentation is transcluded from Template:Work color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |