Difference between revisions of "Template: Work color"

From A Wiki of Ice and Fire
Jump to: navigation, search
(fix)
m (cat)
 
Line 12: Line 12:
 
}}<noinclude>
 
}}<noinclude>
  
 +
==Usage==
 
Template defining standard colors for the separate works in the ASoIaF world.
 
Template defining standard colors for the separate works in the ASoIaF world.
  
Line 21: Line 22:
  
 
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.
 
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.
 
+
[[Category:Templates]]</noinclude>
</noinclude>
 

Latest revision as of 02:56, 14 September 2011


Usage

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.