Template: Work color/doc: Difference between revisions

From A Wiki of Ice and Fire
Jump to: navigation, search
Abjiklam (talk | contribs)
Created page with "==Usage== Template defining standard colors for the separate works in the ASoIaF world. Colors are returned as hex triplets. Usage: <tt><nowiki>{{</nowik..."
 
Abjiklam (talk | contribs)
No edit summary
 
Line 13: Line 13:


{| class="wikitable"
{| class="wikitable"
! colspan="3" | Available values
|-
|-
| style="background-color: {{work color|AGoT}}" | aa
| style="background-color: {{work color|AGoT}}" | || <code>AGoT</code> || ''[[A Game of Thrones]]''
| ''[[A Game of Thrones]]''
|-
| style="background-color: {{work color|ACoK}}" | || <code>ACoK</code> || ''[[A Clash of Kings]]''
|-
| style="background-color: {{work color|ASoS}}" | || <code>ASoS</code> || ''[[A Storm of Swords]]''
|-
| style="background-color: {{work color|AFfC}}" | || <code>AFfC</code> || ''[[A Feast for Crows]]''
|-
| style="background-color: {{work color|ADwD}}" | || <code>ADwD</code> || ''[[A Dance with Dragons]]''
|}
|}
<includeonly>[[Category:Templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly>

Latest revision as of 22:54, 31 August 2022

Usage

[edit]

Template defining standard colors for the separate works in the ASoIaF world.

Colors are returned as hex triplets.

Usage: {{Work color/doc | 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]
Available values
AGoT A Game of Thrones
ACoK A Clash of Kings
ASoS A Storm of Swords
AFfC A Feast for Crows
ADwD A Dance with Dragons