Dota 2 Вики
Advertisement

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

Lua logo
▶️ Swapsies!
Этот шаблон использует Lua.
Его код можно найти в Модуль:Color.


wiki1
#B44335
wiki2
#CD5F51
wiki3
#FFAEA3
wiki4
#FDE6E3
wiki5
#E4C62E
wiki6
#E38800
wikia1
wikia1
wikia2
wikia2
wikiad1
wikiad1
wikiad2
wikiad2
link
link
ui1
#1B1E21
ui2
#2F363D
strength
#B9500B
agility
#167C13
intelligence
#257DAE
radiant
#598307
dire
#A83806
neutral
#434137
experience
experience
creep
#2277AA
creep-hero
#FFBE66
lane creep
#2277AA
neutral creep
neutral creep
ancient creep
#2277AA
summon
#FFBE66
ward
#64D74A
building
#2277AA
other
pink
courier
#FFBE66
attached
attached
clone
clone
hero
#B44335
ultimate
#414141
item
#227722
npc
#2277AA
aghanims
#5B388F
aghshard
aghshard
talent
#BDB76B
aghstal
aghstal
rune
rune
innate
innate
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_ancient
#eb4b4b
cos_immortal
#b28a33
cos_arcana
#ade55c
cos_seasonal
#FFF34F
cos_dota_plus_access
cos_dota_plus_access
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_infused
cos_infused
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
proceed
#CFC
up
#CFC
stayup
#EFA
stay
#FF9
staydown
#FDA
drop
#FCC
down
#FCC

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>}}

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.
  • Refer to the above table for color indices.

Sample output

<span style="color:{{color|strength}};">Strength-Colored-String</span>

Strength-Colored-String


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


<span style="color:{{color|#F00}};">Hex-Colored-String</span>

Hex-Colored-String


<span style="color:{{color|lime}};">HMTL-Colored-String</span>

HTML-Colored-String

Advertisement