FANDOM


#800000

Color Template

Usage

  • This template is to be placed in the <style> or <font>-property
  • the first parameter is to be used to specify the age
  • If the template is used only with a first Parameter the output will only be the Ages color-code
  • If the second Parameter is set as "BG", this indicates, that the template is used for the background color - it will output the tags "background-color" and "color" with the respective color-codes
  • If the second Parameter is set as "TH", this indicates, that the template is used for the table heads definition of e.g. Great Buildings tables (table head and left column will be age color and top left corner will be darker
  • regarding the examples: although the code uses the parameter for Bronze Age, the other ages have specified colors as indicated in the table below

examples

Code gives
{{AgeColor|BA}}
#B48B13
{{AgeColor|BA|BG}}
#B48B13
{|style="width:100%"
|style="{{AgeColor|BA|BG}}; text-align:right;width:50%"|'''BA'''
|style="width:50%"|Test
|}
BA Test
{|
|style="color:{{AgeColor|BA}};width:50%"|'''BA'''
|Test
|}
BA Test
<font color:{{AgeColor|BA}}>TEST</font>
TEST
{|
|style="color:{{AgeColor|BA|BG|L}};width:33%"|'''Lighter'''
|style="color:{{AgeColor|BA|BG}};width:33%"|'''Normal'''
|style="color:{{AgeColor|BA|BG|D}};width:33%"|'''Darker'''
|}
Lighter Normal Darker

Age Colors

Lighter Age and Template Darker
Lighter No Age
{{AgeColor|NA|BG}}
Darker
Lighter Stone Age
{{AgeColor|SA|BG}}
Darker
Lighter Bronze Age
{{AgeColor|BA|BG}}
Darker
Lighter Iron Age
{{AgeColor|IA|BG}}
Darker
Lighter Early Middle Ages
{{AgeColor|EMA|BG}}
Darker
Lighter High Middle Ages
{{AgeColor|HMA|BG}}
Darker
Lighter Late Middle Ages
{{AgeColor|LMA|BG}}
Darker
Lighter Colonial Age
{{AgeColor|CA|BG}}
Darker
Lighter Industrial Age
{{AgeColor|INA|BG}}
Darker
Lighter Progressive Era
{{AgeColor|PE|BG}}
Darker
Lighter Modern Era
{{AgeColor|ME|BG}}
Darker
Lighter Post Modern Era
{{AgeColor|PME|BG}}
Darker
Lighter Contemporary Era
{{AgeColor|CE|BG}}
Darker
Lighter Tomorrow Era
{{AgeColor|TE|BG}}
Darker
Lighter Future Era
{{AgeColor|FE|BG}}
Darker
Lighter Arctic Future
{{AgeColor|AF|BG}}
Darker
Lighter Oceanic Future
{{AgeColor|OF|BG}}
Darker
Lighter Virtual Future
{{AgeColor|VF|BG}}
Darker
Lighter Space Age: Mars
{{AgeColor|SAM|BG}}
Darker


Community content is available under CC-BY-SA unless otherwise noted.