Шаблон:Цвет

Материал из Dota 2 Вики
Перейти к: навигация, поиск

Документация для Шаблон:Цвет [ смотреть | править | очистить ]

wiki1
#B44335
wiki2
#CD5F51
wiki3
#FFAEA3
wiki4
#FDE6E3
wiki5
#E4C62E
wiki6
#E38800
ui1
#1B1E21
ui2
#2F363D
strength
#B9500B
agility
#167C13
intelligence
#257DAE
radiant
#598307
dire
#A83806
neutral
#434137
creep
#2277AA
creep-hero
#FFBE66
lane creep
#2277AA
jungle creep
#2277AA
ancient creep
#2277AA
summon
#FFBE66
ward
#64D74A
other
pink
hero
#B44335
ultimate
#414141
item
#227722
npc
#2277AA
aghanims
#5B388F
building
#2277AA
gold
#DAA520
armor
#B911FC
caster
#1A88FC
support
#1A88FC
artifacts
#DB9702
common
#2BAC00
basic
#FEFEFE
attributes
#FEFEFE
armaments
#FEFEFE
arcane
#FEFEFE
cos_common
#b0c3d9
cos_uncommon
#5e98d9
cos_rare
#4b69ff
cos_mythical
#8847ff
cos_legendary
#d32ce6
cos_immortal
#b28a33
cos_ancient
#eb4b4b
cos_arcana
#ade55c
cos_normal
#B2B2B2
cos_genuine
#4D7455
cos_elder
#476291
cos_unusual
#8650AC
cos_unique
#D2D2D2
cos_community
#70B04A
cos_developer
#A50F79
cos_selfmade
#70B04A
cos_customized
#00FF00
cos_inscribed
#CF6A32
cos_completed
#8650AC
cos_cursed
#8650AC
cos_heroic
#8650AC
cos_favored
#8650AC
cos_ascendant
#EB4B4B
cos_autographed
#ADE55C
cos_legacy
#FFFFFF
cos_exalted
#CCCCCC
cos_frozen
#4682B4
cos_corrupted
#A52A2A
cos_auspicious
#32CD32
cos_unusual_text
#e4ae39

Description[править]

This template makes it easy to access the wiki's template of colors for coloring text or using it as an input to a CSS style.

Syntax[править]

{{color|<INDEX>|<TEXT>}}

Notes[править]

  • Acceptable values for <INDEX> are:
  1. A color name used in the above table. This should always be used unless you want a color that isn't supported.
  2. A hexidecimal value.
  3. A web color name.
  • The <TEXT> parameter is optional.
  • Refer to the above table for color indices.

Sample output[править]

{{color|strength|Strength-colored text.}}

#B9500B


<div style="width:250px; height:50px; background:{{color|agility}};"/>


{{color|#F00|'''Making red text using a hex value.'''}}

#F00


{{color|lime|'''Making green text using a web color.'''}}

lime

Promotional Content