Mudanças entre as edições de "Predefinição:Work color"

De Gelo e Fogo wiki
Ir para navegação Ir para pesquisar

 

 
Linha 16: Linha 16:
 
Template defining standard colors for the separate works in the ASoIaF world.
 
Template defining standard colors for the separate works in the ASoIaF world.
  
Colors are returned as [[:en:hex triplet|hex triplets]].
+
Colors are returned as [[:en_wikipedia:hex triplet|hex triplets]].
  
 
Usage: <tt><nowiki>{{</nowiki>{{PAGENAME}} | ''name of work''<nowiki>}}</nowiki></tt>
 
Usage: <tt><nowiki>{{</nowiki>{{PAGENAME}} | ''name of work''<nowiki>}}</nowiki></tt>

Edição atual tal como às 19h15min de 9 de dezembro de 2018


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.