Asphalt Wiki
Asphalt Wiki
Line 1: Line 1:
<includeonly><!--
+
<includeonly><!--<!--
 
-->{{#if:{{{2|}}}<!--
 
-->{{#if:{{{2|}}}<!--
 
-->|<span style="{{#switch:{{lc:{{{1}}}}}
 
-->|<span style="{{#switch:{{lc:{{{1}}}}}
Line 25: Line 25:
 
--><span style="color:#ff0000">[no color]</span> <!--
 
--><span style="color:#ff0000">[no color]</span> <!--
 
-->}}</includeonly><!--
 
-->}}</includeonly><!--
--><span style="color:{{{1|}}}">{{{2|{{{1|}}}}}}</span><noinclude>{{documentation}}</noinclude>
+
-->--><span style="color:{{{1|}}}">{{{2|{{{1|}}}}}}</span><noinclude>{{documentation}}</noinclude>

Revision as of 13:04, 28 October 2018

-->

[edit] Template-info.png Template documentation
Ambox content.png This template is used on 3,400+ pages.
To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them.

This template can be used to specify the foreground color of a span of text. Acceptable values are

  • Asphalt-specific colors like a8rare-->a8rare, a8legendary-->a8legendary, etc.,
  • RGB hex codes, e. g. #c9e72a, or
  • any of the web colors red, blue, green, moccasin, darkorchid, etc.

To set the background color of a span of text, use {{Background color}}.

Usage

{{color | <name of color> or <hex code of color> | <text>}}

Examples

  • {{color|a8rare|Hello, world!}}Hello, world!-->Hello, world!
  • {{color|#00f000|Hello, world!}} Hello, world!  [unknown color: #00f000] -->Hello, world!

If the second parameter is omitted, the color value is displayed as text:

  • {{color|#00f000}} #00f000  [no color]-->#00f000
  • {{color|red}} red  [no color]-->red

Web colors

  • See Wikipedia: Web colors for a complete overview.

Asphalt colors

In-game text colors
Name Color Used for Corresponding text color template
a7highlight  #ffc600  [no color]-->#ffc600 Asphalt 7 highlighted text
a8common5  #bcd2fe  [no color]-->#bcd2fe Asphalt 8 common items (5.0) {{a8common5|Text}} Text  [unknown color: a8common5] -->Text
a8uncommon5  #00dac2  [no color]-->#00dac2 Asphalt 8 uncommon items (5.0) {{a8uncommon5|Text}} Text  [unknown color: a8uncommon5] -->Text
a8rare5  #0084ff  [no color]-->#0084ff Asphalt 8 rare items (5.0) {{a8rare5|Text}} Text  [unknown color: a8rare5] -->Text
a8epic5  #ad00d6  [no color]-->#ad00d6 Asphalt 8 epic items (5.0) {{a8epic5|Text}} Text  [unknown color: a8epic5] -->Text
a8legendary5  #ff8300  [no color]-->#ff8300 Asphalt 8 legendary items (5.0) {{a8legendary5|Text}} Text  [unknown color: a8legendary5] -->Text
a8common  #abd2ff  [no color]-->#abd2ff Asphalt 8 common items (pre 5.0) {{a8common|Text}} Text  [unknown color: a8common] -->Text
a8rare  #cf8df9  [no color]-->#cf8df9 Asphalt 8 rare items (pre 5.0) {{a8rare|Text}}Text-->Text
a8legendary  #f8a400  [no color]-->#f8a400 Asphalt 8 legendary items (pre 5.0) {{a8legendary|Text}}Text-->Text
a8optimal  #c3835b  [no color]-->#c3835b Asphalt 8 optimal items {{a8optimal|Text}} Text  [unknown color: a8optimal] -->Text
a8prime  #94b1d4  [no color]-->#94b1d4 Asphalt 8 prime items {{a8prime|Text}} Text  [unknown color: a8prime] -->Text
a8superb  #ffbf50  [no color]-->#ffbf50 Asphalt 8 superb items {{a8superb|Text}} Text  [unknown color: a8superb] -->Text
a8festival  #f77f21  [no color]-->#f77f21 Asphalt 8 Festival items {{a8festival|Text}} Text  [unknown color: a8festival] -->Text
a9uncommon  #14bbe7  [no color]-->#14bbe7 Asphalt 9 uncommon items {{a9uncommon|Text}} Text  [unknown color: a9uncommon] -->Text
a9rare  #bf4cdc  [no color]-->#bf4cdc Asphalt 9 rare items {{a9rare|Text}} Text  [unknown color: a9rare] -->Text
a9epic  #ffd800  [no color]-->#ffd800 Asphalt 9 epic items {{a9epic|Text}} Text  [unknown color: a9epic] -->Text
asgray  #9cbebb  [no color]-->#9cbebb Asphalt Streetstorm gray items {{asgray|Text}} Text  [unknown color: asgray] -->Text
asgreen  #55c78e  [no color]-->#55c78e Asphalt Streetstorm green items {{asgreen|Text}} Text  [unknown color: asgreen] -->Text
asorange  #ff714f  [no color]-->#ff714f Asphalt Streetstorm orange items {{asorange|Text}} Text  [unknown color: asorange] -->Text
asblue  #8fbdff  [no color]-->#8fbdff Asphalt Streetstorm blue items {{asblue|Text}} Text  [unknown color: asblue] -->Text
asred  #ff3464  [no color]-->#ff3464 Asphalt Streetstorm red items {{asred|Text}} Text  [unknown color: asred] -->Text
a8comet  #f182e6  [no color]-->#f182e6 Asphalt 8 Comet
a8disruptor  #7151ee  [no color]-->#7151ee Asphalt 8 Disruptor
a8forcefield  #13f7a7  [no color]-->#13f7a7 Asphalt 8 Force Field
a8hyperboost  #ffbe00  [no color]-->#ffbe00 Asphalt 8 Hyperboost
a8pulsewave  #2b9dfe  [no color]-->#2b9dfe Asphalt 8 Pulsewave
a8surgestrike  #ff0000  [no color]-->#ff0000 Asphalt 8 Surge Strike
a6highlight  #7be2ff  [no color]-->#7be2ff Asphalt 6 highlighted text
a8highlight  #ff9600  [no color]-->#ff9600 Asphalt 8 highlighted text
a9highlight  #ff0054  [no color]-->#ff0054 Asphalt 9 highlighted text, primary
anhighlight  #ffc600  [no color]-->#ffc600 Asphalt Nitro highlighted text
aohighlight  #ec008c  [no color]-->#ec008c Asphalt Overdrive highlighted text
aoblue  #00aeef  [no color]-->#00aeef Asphalt Overdrive blue text, secondary
aodarkblue  #0d7095  [no color]-->#0d7095 Asphalt Overdrive dark blue text, secondary
aopower  #00ff00  [no color]-->#00ff00 Asphalt Overdrive power increase text
axhighlight  #ffa904  [no color]-->#ffa904 Asphalt Xtreme highlighted text
a9green  #c3fb12  [no color]-->#c3fb12 Asphalt 9 green, primary
a9cyan  #33eff9  [no color]-->#33eff9 Asphalt 9 cyan text, secondary
a9blue  #2152ad  [no color]-->#2152ad Asphalt 9 blue text, secondary
a9grey  #3f4b57  [no color]-->#3f4b57 Asphalt 9 grey text, secondary
a9yellow  #ffd300  [no color]-->#ffd300 Asphalt 9 yellow text, secondary
Asphalt Wiki currency text colors
Name Color Used for Corresponding currency template
a7dollars  #a1e157  [no color]-->#a1e157 Asphalt 7 Dollars {{a7dollars|Text}}Dollars  Text  [unknown color: a7dollars] -->Text
a8bpcc  #abd2ff  [no color]-->#abd2ff Asphalt 8 common car Blueprints {{a8bpcc|Text}}Common Car Blueprints  Text  [unknown color: a8bpcc] -->Text
a8bpbc  #abd2ff  [no color]-->#abd2ff Asphalt 8 common bike Blueprints {{a8bpbc|Text}}Common Bike Blueprints  Text  [unknown color: a8bpbc] -->Text
a8bpcr  #cf8df9  [no color]-->#cf8df9 Asphalt 8 rare car Blueprints {{a8bpcr|Text}}Rare Car Blueprints  Text  [unknown color: a8bpcr] -->Text
a8bpcl  #f8a400  [no color]-->#f8a400 Asphalt 8 legendary car Blueprints {{a8bpcl|Text}}Legendary Car Blueprints  Text  [unknown color: a8bpcl] -->Text
a8bpbl  #f8a400  [no color]-->#f8a400 Asphalt 8 legendary bike Blueprints {{a8bpbl|Text}}Legendary Bike Blueprints  Text  [unknown color: a8bpbl] -->Text
a8coins  #faa706  [no color]-->#faa706 Asphalt 8 5th Anniversary Coins {{a8coins|Text}}Anniversary Coins Text-->Text
a86coins  #faa706  [no color]-->#faa706 Asphalt 8 6th Anniversary Coins {{a86coins|Text}}Festival Coins  Text  [unknown color: a86coins] -->Text
a8credits  #fddc05  [no color]-->#fddc05 Asphalt 8 Credits {{a8credits|Text}}Credits Text-->Text
a8enduro  #fdab00  [no color]-->#fdab00 Asphalt 8 Enduro Points {{a8enduro|Text}}Enduro Points  Text  [unknown color: a8enduro] -->Text
a8fcoins  #0072ff  [no color]-->#0072ff Asphalt 8 Snowflurry Festival Coins {{a8fcoins|Text}}Festival Coins  Text  [unknown color: a8fcoins] -->Text
a8flcoins  #faa706  [no color]-->#faa706 Asphalt 8 Fast-Lane Festival Coins {{a8flcoins|Text}}Festival Coins  Text  [unknown color: a8flcoins] -->Text
a8nycoins  #faa706  [no color]-->#faa706 Asphalt 8 New Year Festival Coins {{a8nycoins|Text}}Festival Coins  Text  [unknown color: a8nycoins] -->Text
a8fuel  #faa706  [no color]-->#faa706 Asphalt 8 Fuel {{a8fuel|Text}}Fuel  Text  [unknown color: a8fuel] -->Text
a8fusion  #fead00  [no color]-->#fead00 Asphalt 8 Fusion Points {{a8fusion|Text}}Fusion Points  Text  [unknown color: a8fusion] -->Text
a8fusioncoins  #dd81fe  [no color]-->#dd81fe Asphalt 8 Fusion Coins {{a8fusioncoins|Text}}Fusion Coins  Text  [unknown color: a8fusioncoins] -->Text
a8hcoins  #faa706  [no color]-->#faa706 Asphalt 8 Halloween Festival Coins {{a8hcoins|Text}}Halloween Coins Text-->Text
a8fan  #faa706  [no color]-->#faa706 Asphalt 8 World Tour Fan Points {{a8fan|Text}}Fan Points  Text  [unknown color: a8fan] -->Text
a8helmets  #ffca00  [no color]-->#ffca00 Asphalt 8 Helmets {{a8helmets|Text}}Helmets  Text  [unknown color: a8helmets] -->Text
a8licenses  #e09529  [no color]-->#e09529 Asphalt 8 Licenses {{a8licenses|Text}}Licenses Text-->Text
a8scoins  #e00f7f  [no color]-->#e00f7f Asphalt 8 Showdown Festival Coins {{a8scoins|Text}}Festival Coins  Text  [unknown color: a8scoins] -->Text
a8stars  #faa706  [no color]-->#faa706 Asphalt 8 Stars {{a8stars|Text}}Stars  Text  [unknown color: a8stars] -->Text
a8bluestars  #35d0fe  [no color]-->#35d0fe Asphalt 8 Blue Stars {{a8bluestars|Text}}Blue Stars  Text  [unknown color: a8bluestars] -->Text
a8tickets  #a4b9cB  [no color]-->#a4b9cB Asphalt 8 Season Tickets {{a8tickets|Text}}Season Tickets  Text  [unknown color: a8tickets] -->Text
a8gauntlettickets  #ffffff  [no color]-->#ffffff Asphalt 8 Gauntlet Tickets {{a8gauntlettickets|Text}}Gauntlet Tickets  Text  [unknown color: a8gauntlettickets] -->Text
a8goldengauntlettickets  #f5c106  [no color]-->#f5c106 Asphalt 8 Golden Gauntlet Tickets {{a8goldengauntlettickets|Text}}Golden Gauntlet Tickets  Text  [unknown color: a8goldengauntlettickets] -->Text
a8gauntletbadges  #ff474a  [no color]-->#ff474a Asphalt 8 Gauntlet Badges {{a8gauntletbadges|Text}}Gauntlet Badges  Text  [unknown color: a8gauntletbadges] -->Text
a8tokens  #31f3fa  [no color]-->#31f3fa Asphalt 8 Tokens {{a8tokens|Text}}Tokens Text-->Text
a8viplevel  #d5d4d4  [no color]-->#d5d4d4 Asphalt 8 VIP Level {{a8viplevel|Text}}VIP Level Text  [unknown color: a8viplevel] -->Text
a8vippoints  #d5d4d4  [no color]-->#d5d4d4 Asphalt 8 VIP Points {{a8vippoints|Text}}VIP Points  Text  [unknown color: a8vippoints] -->Text
a9credits  #ffc600  [no color]-->#ffc600 Asphalt 9 Credits {{a9credits|Text}}Credits  Text  [unknown color: a9credits] -->Text
a9seriesscore  #7e38ce  [no color]-->#7e38ce Asphalt 9 Series Score {{a9seriesscore|Text}}Series Score  Text  [unknown color: a9seriesscore] -->Text
a9tickets  #ffffff  [no color]-->#ffffff Asphalt 9 Tickets {{a9tickets|Text}}Tickets  Text  [unknown color: a9tickets] -->Text
a9tokens  #0090ff  [no color]-->#0090ff Asphalt 9 Tokens {{a9tokens|Text}}Tokens  Text  [unknown color: a9tokens] -->Text
a9syndcoins  #ad9bf3  [no color]-->#ad9bf3 Asphalt 9 Syndicate Coins {{a9syndcoins|Text}}Syndicate Coins  Text  [unknown color: a9syndcoins] -->Text
a9syndpoints  #00defd  [no color]-->#00defd Asphalt 9 Syndicate Points {{a9syndpoints|Text}}Syndicate Points  Text  [unknown color: a9syndpoints] -->Text
a9hazard  #fa0452  [no color]-->#fa0452 Asphalt 9 Hazard {{a9hazard|Text}}Hazard  Text  [unknown color: a9hazard] -->Text
a9keys  #3865c42  [no color]-->#3865c42 Asphalt 9 Keys {{a9keys|Text}}Keys  Text  [unknown color: a9keys] -->Text
a9lp  #ffffff  [no color]-->#ffffff Asphalt 9 Legend Points {{a9lp|Text}} Text  [unknown color: a9lp] -->Text Legend Points
a9tradecoins  #ff0054  [no color]-->#ff0054 Asphalt 9 Trade Coins {{a9tradecoins|Text}}Trade Coins  Text  [unknown color: a9tradecoins] -->Text
a9bp  #d5d4d4  [no color]-->#d5d4d4 Asphalt 9 Blueprints (neutral) {{a9bp|Text}}Blueprints  Text  [unknown color: a9bp] -->Text
a9bpu  #14bbe7  [no color]-->#14bbe7 Asphalt 9 uncomon Blueprints {{a9bpu|Text}}Uncommon Blueprints  Text  [unknown color: a9bpu] -->Text
a9bpr  #bf4cdc  [no color]-->#bf4cdc Asphalt 9 rare Blueprints {{a9bpr|Text}}Rare Blueprints  Text  [unknown color: a9bpr] -->Text
a9bpe  #ffd800  [no color]-->#ffd800 Asphalt 9 epic Blueprints {{a9bpe|Text}}Epic Blueprints  Text  [unknown color: a9bpe] -->Text
9cvouchers  #e78915  [no color]-->#e78915 Asphalt 9 China Vouchers {{9cvouchers|Text}}Vouchers  Text  [unknown color: 9cvouchers] -->Text
ancredits  #2697cc  [no color]-->#2697cc Asphalt Nitro Credits {{ancredits|Text}}Credits Text-->Text
ancreditswhite  #ffffff  [no color]-->#ffffff Asphalt Nitro Credits white {{ancreditswhite|Text}}Credits  Text  [unknown color: ancreditswhite] -->Text
antokens  #3bc214  [no color]-->#3bc214 Asphalt Nitro Tokens {{antokens|Text}}Tokens Text-->Text
anfuel  #00aadf  [no color]-->#00aadf Asphalt Nitro Fuel {{anfuel|Text}}Fuel  Text  [unknown color: anfuel] -->Text
anstars  #f7bb00  [no color]-->#f7bb00 Asphalt Nitro Stars {{anstars|Text}}Stars  Text  [unknown color: anstars] -->Text
anvipcoins  #f9bd00  [no color]-->#f9bd00 Asphalt Nitro VIP Coins {{anvipcoins|Text}}VIP Coins  Text  [unknown color: anvipcoins] -->Text
anviplevel  #f9bd00  [no color]-->#f9bd00 Asphalt Nitro VIP Level {{anviplevel|Text}}VIP Level  Text  [unknown color: anviplevel] -->Text
aobills  #56a03b  [no color]-->#56a03b Asphalt Overdrive Bills {{aobills|Text}} Text  [unknown color: aobills] -->Text Bills
aoenergy  #f755b5  [no color]-->#f755b5 Asphalt Overdrive Energy {{aoenergy|Text}} Text  [unknown color: aoenergy] -->Text Energy
aogold  #ef9a10  [no color]-->#ef9a10 Asphalt Overdrive Gold {{aogold|Text}} Text  [unknown color: aogold] -->Text Gold
aostars  #efc229  [no color]-->#efc229 Asphalt Overdrive Stars {{aostars|Text}} Text  [unknown color: aostars] -->Text Stars
ascash  #84c6d2  [no color]-->#84c6d2 Asphalt Streetstorm Cash {{ascash|Text}} Text  [unknown color: ascash] -->Text Cash
asdiamonds  #00def0  [no color]-->#00def0 Asphalt Streetstorm Diamonds {{asdiamonds|Text}} Text  [unknown color: asdiamonds] -->Text Diamonds
asbp  #00adf1  [no color]-->#00adf1 Asphalt Streetstorm Blueprints {{asbp|Text}} Text  [unknown color: asbp] -->Text Blueprints
assubscribers  #70ffff  [no color]-->#70ffff Asphalt Streetstorm Subscribers {{assubscribers|Text}} Text  [unknown color: assubscribers] -->Text Subscribers
aseventpoints  #70ffff  [no color]-->#70ffff Asphalt Streetstorm Event Points {{aseventpoints|Text}} Text  [unknown color: aseventpoints] -->Text Event Points
asdriverrating  #70ffff  [no color]-->#70ffff Asphalt Streetstorm Driver Rating {{asdriverrating|Text}} Text  [unknown color: asdriverrating] -->Text Driver Rating
axcredits  #ffa904  [no color]-->#ffa904 Asphalt Xtreme Credits {{axcredits|Text}}Credits  Text  [unknown color: axcredits] -->Text
axtokens  #31f3fa  [no color]-->#31f3fa Asphalt Xtreme Tokens {{axtokens|Text}}Tokens  Text  [unknown color: axtokens] -->Text
axtickets  #e99e13  [no color]-->#e99e13 Asphalt Xtreme Tickets {{axtickets|Text}}Tickets  Text  [unknown color: axtickets] -->Text
axbp  #d5d4d4  [no color]-->#d5d4d4 Asphalt Xtreme Blueprints (neutral) {{axbp|Text}}Blueprints  Text  [unknown color: axbp] -->Text
axbpd  #618d91  [no color]-->#618d91 Asphalt Xtreme Class-D Blueprints {{axbpd|Text}}Class-D Blueprints  Text  [unknown color: axbpd] -->Text
axbpc  #0885c0  [no color]-->#0885c0 Asphalt Xtreme Class-C Blueprints {{axbpc|Text}}Class-C Blueprints  Text  [unknown color: axbpc] -->Text
axbpb  #674f96  [no color]-->#674f96 Asphalt Xtreme Class-B Blueprints {{axbpb|Text}}Class-B Blueprints  Text  [unknown color: axbpb] -->Text
axbpa  #ee810a  [no color]-->#ee810a Asphalt Xtreme Class-A Blueprints {{axbpa|Text}}Class-A Blueprints  Text  [unknown color: axbpa] -->Text
axbps  #f8c21e  [no color]-->#f8c21e Asphalt Xtreme Class-S Blueprints {{axbps|Text}}Class-S Blueprints  Text  [unknown color: axbps] -->Text
axstars  #ffa904  [no color]-->#ffa904 Asphalt Xtreme Stars {{axstars|Text}}Stars  Text  [unknown color: axstars] -->Text

Technical details

Before applying a color, {{Color}} calls {{Color code}} to see if there is an Asphalt-specific color name to be used.

To add a new color definition, go to {{Color code}} and follow the instructions in the "Adding new colors" section.

See also

Text color templates: Asphalt 9:

  • {{A9uncommon}}, {{9u}} for  uncommon  [unknown color: a9uncommon] -->uncommon rarity
  • {{A9rare}}, {{9r}} for  rare  [unknown color: a9rare] -->rare rarity
  • {{A9epic}}, {{9e}} for  epic  [unknown color: a9epic] -->epic rarity

Asphalt Streetstorm:

  • {{Asgray}} for  gray  [unknown color: asgray] -->gray rarity
  • {{Asgreen}} for  green  [unknown color: asgreen] -->green rarity
  • {{Asorange}} for  orange  [unknown color: asorange] -->orange rarity
  • {{Asblue}} for  blue  [unknown color: asblue] -->blue rarity
  • {{Asred}} for  red  [unknown color: asred] -->red rarity

Asphalt 8 (v5.0 onward):

  • {{A8common5}}, {{8c}} for  common  [unknown color: a8common5] -->common rarity
  • {{A8uncommon5}}, {{8u}} for  uncommon  [unknown color: a8uncommon5] -->uncommon rarity
  • {{A8rare5}}, {{8r}} for  rare  [unknown color: a8rare5] -->rare rarity
  • {{A8epic5}}, {{8e}} for  epic  [unknown color: a8epic5] -->epic rarity
  • {{A8legendary5}}, {{8l}} for  legendary  [unknown color: a8legendary5] -->legendary rarity

Asphalt 8 Vehicle Kits:

  • {{A8optimal}} for  optimal  [unknown color: a8optimal] -->optimal rarity
  • {{A8prime}} for  prime  [unknown color: a8prime] -->prime rarity
  • {{A8superb}} for  superb  [unknown color: a8superb] -->superb rarity
  • {{A8festival}} for  festival  [unknown color: a8festival] -->festival rarity

Asphalt Nitro and Asphalt 8 (until v4.9):

  • {{A8common}}, {{Co}} for  common  [unknown color: a8common] -->common rarity
  • {{A8rare}}, {{Ra}} for rare-->rare rarity
  • {{A8legendary}}, {{Le}} for legendary-->legendary rarity

General:

  • {{Color}}, the main template called by all text color templates
  • {{Color code}}, the container template for Asphalt-specific color definitions
  • {{Background color}}, sets the background color only
  • {{Font}}, can set font face, text color and background color

Currency templates: Asphalt 9 China:

Asphalt 9:

Asphalt Streetstorm:

Asphalt Xtreme:

Asphalt Nitro:

Asphalt Overdrive:

Asphalt 8:

Asphalt 7:

General:

  • {{Currency}}, the metatemplate called by all currency templates

Redirects