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

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

 

 
(4 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 11: Linha 11:
 
| ADwD = #e6e6e6
 
| ADwD = #e6e6e6
 
}}<noinclude>
 
}}<noinclude>
 +
  
 
==Usage==
 
==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.
  
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>
Linha 22: Linha 23:
  
 
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>
[[Categoria:Predefinições de estilo]]</noinclude>
 

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.