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

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

 

Linha 1: Linha 1:
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
| A Guerra dos Tronos
+
| A Game of Thrones
 
| AGoT = #027eb1
 
| AGoT = #027eb1
| A Fúria dos Reis
+
| A Clash of Kings
 
| ACoK = #efaf33
 
| ACoK = #efaf33
| A Tormenta de Espadas
+
| A Storm of Swords
 
| ASoS = #23874b
 
| ASoS = #23874b
| O Festim dos Corvos
+
| A Feast for Crows
 
| AFfC = #d5461e
 
| AFfC = #d5461e
| A Dança dos Dragões
+
| A Dance with Dragons
 
| ADwD = #e6e6e6
 
| ADwD = #e6e6e6
 
}}<noinclude>
 
}}<noinclude>
Linha 22: Linha 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>
[[Categoria:Predefinições de estilo]]</noinclude>
 

Edição das 02h15min de 28 de novembro 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.