Predloga:Barva elementa

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search

#ffbfff

Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

Predloga vrne barvo za legendo elementa, ki se uporabi za kreiranje HTML:

  • {{Barva elementa|Alkalijska kovina}}#ff6666
  • {{Barva elementa|alkalijska kovina}}#ff6666

Pregled[uredi kodo]

Stanje snovi (font color)[uredi kodo]

Vrednost atributa color (font color). Številka barve se lahko uporablja tudi kot barva ozadja, ampak potem ni definiran ključ (legenda).
  • A  Trdnina → #000000 
  • A  Kapljevina → #008000 
  • A  Plin → #ff0000 
  • A  Neznana faza → #696969 
  • A  Trdnina (napovedano) → #000000 
  • A  Kapljevina (napovedano) → #008000 
  • A  Plin (napovedano) → #ff0000 

Occurrence (cell border; aka frame)[uredi kodo]

Vrednost atributa border
  •    Prvobitno → 2px solid #8811ff 
  •    Pri razpadu → 2px dashed #773300 Opomba: "Natural radio" deprecated
  •    Synthetic → 2px dotted #4499ff 
  •    Neodkrito → 2px solid transparent 
  •    None → 2px solid transparent 

Kategorije za kovine–nekovine[uredi kodo]

  •    Alkalijska kovina → #ff6666 
  •    Zemljoalkalijska kovina → #ffdead 
  •    Lantanoid → #ffbfff 
  •    Aktinoid → #ff99cc 
  •    Superactinide → #d1ddff 
  •    Eka-superactinide → #c6dd9d 
  •    Prehodna kovina → #ffc0c0 
  •    Šibka kovina → #cccccc 
  •    Polkovina → #cccc99 
  •    Dvoatomna nekovina → #e7ff8f 
  •    Večatomna nekovina → #a1ffc3 
  •    Žlahtni plin → #c0ffff 
  •    Neznane kemijske lastnosti → #e8e8e8 
  •    Neznano → #ffffff 

Kategorije za kovine–nekovine, reduced set[uredi kodo]

  •    Kovine → #eee8aa 
  •    Polkovine → #cccc99 
  •    Nekovine → #b0e0e6 
  •    Notranje prehodne kovine → #d8bfd8 

Leto in era[uredi kodo]

  •    Stari vek do srednjega veka → transparent 
  •    Pred 1800 → #dfcdff 
  •    1800-1849 → #cbffb9 
  •    1850-1899 → #b9ffe4 
  •    1900-1949 → #ffe2b9 
  •    1950-1999 → #fff6b9 
  •    2000-danes → transparent 

Example: {{Periodic table (discovery periods)}}

Bloki[uredi kodo]

  •    s-blok → #ff9999 
  •    p-blok → #fdff8c 
  •    d-blok → #99ccff 
  •    f-blok → #9bff99 
  •    g-blok → #fd99ff Opomba: unused, g-block does not exist. This color is used to derive the 'predicted' color

In period 8, theoretical elements:

  •    s-blok (napovedano) → #ffcccc 
  •    p-blok (napovedano) → #ffffbf 
  •    d-blok (napovedano) → #c7eeff 
  •    f-blok (napovedano) → #cdffcc 
  •    g-blok (napovedano) → #febfff 

Numbers[uredi kodo]

Used in: Valence (chemistry)#Maximum valences of the elements These colors correspond to the Alkali metal–noble gases range

  •    0 → #c0ffff 
  •    1 → #ff8989 
  •    2 → #ffdead 
  •    3 → #ffbfff 
  •    4 → #cccccc 
  •    5 → #cccc99 
  •    6 → #a0ffa0 
  •    7 → #ffff99 
  •    8 → #d1ddff 
  •    9 → #c6dd9d 

Metalloid cite classes[uredi kodo]

See Template:Periodic table (list of metalloid lists)

  •    Metalloid citeclass 1of4 → #baffba Opomba: currently: 93%
  •    Metalloid citeclass 2of4 → #badcff Opomba: currently: 44%
  •    Metalloid citeclass 3of4 → #ffbadc Opomba: currently: 24%
  •    Metalloid citeclass 4of4 → #ffffba Opomba: currently: 9%

Setting a default color[uredi kodo]

|1=not a color name |default=#aabbcc → #aabbcc (use # not #)
|1=not a color name |default=thistle → thistle

Misc[uredi kodo]

  •    Rare earth metal → #ffbffe Opomba: discussed, Nov/Dec 2013
  •    Halogen → #ffff99 Opomba: deprecated as a nonmetal category. See nonmetal

Variante "Neznano"[uredi kodo]

  •    Neznano → #ffffff 
  •    Unk → #ffffff Opomba: deprecated
  •    Unknown (white) → #ffffff Opomba: deprecated
  •    White → #ffffff 
  •    X → #ffffff Opomba: Deprecated, redireced to Unknown (white)
  •    Unknown chemical properties → #e8e8e8 
  •    (See below) → #f8f8f8 Opomba: deprecated
  •    V prihodnosti → transparent 
  •    Redirect → #c0c0c0 
  •    Unassessed → transparent 
  • A  Neznana faza → #696969 
  •    Neodkrito → 2px solid transparent 
  •    none → 2px solid transparent 

Wikipedia article quality[uredi kodo]

Used in: Wikipedia:WikiProject Elements/Articles/Periodic Table by Quality

  •    aq-FA → #6699ff 
  •    aq-A → #66ffff 
  •    aq-GA → #55cc55 Opomba: Formal color is #66ff66
  •    aq-B+ → #66ff66 Opomba: or aq-Bplus
  •    aq-B → #bcff66 Opomba: Formal color is #b2ff66
  •    aq-C → #ffff66 
  •    aq-Start → #ffaa66 
  •    aq-Stub → #ff6666 
  •    aq-Unassessed → transparent 

Wikipedia article importance[uredi kodo]

  •    imp-Top → #ff00ff 
  •    imp-High → #ff88ff 
  •    imp-Mid → #ffbbff 
  •    imp-Low → #ffddff 
  •    imp-??? → #f9f9f9 
  •    imp-n/a → #f5f5f5 

Color names[uredi kodo]

  •    Black → #000000 
  •    White → #ffffff 
  •    blue → #0000ff 
  •    green → #008000 
  •    red → #ff0000 
  •    yellow → #ffff00 

Table background[uredi kodo]

  •    table title → #d8d8d8 
  •    table header → #e0e0e0 
  •    table colheader → #e8e8e8 
  •    table mark → #f0f0f0 
  •    table background → #f8f8f8 
  •    table border → #a9a9a9 

Predloga:Barva elementa/table/overview

The return values are complete color values to be used as a CSS style, including the # but not the ; character.

Deprecated or unknown meaning[uredi kodo]

Do not use these color names. In general, it is advised to use a more specific, meaningful color name. These color names are not used in main space, and most are redirected to another color.

  •    D → transparent Opomba: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    E → transparent Opomba: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    F → transparent Opomba: Historical (previously for years and eras), kept to ensure that old revisions do not appear broken.
  •    X → #ffffff Opomba: Unspecific, redirected to Unknown (white)
  •    Disambig → #00fa9a Opomba: Not a legend color, unknown intention.
  •    UnknownC → transparent Opomba: Unclear meaning. Redirected to Neznana faza
  •    veryreactive → transparent Opomba: Testing or sandbox.

Colors hardcoded[uredi kodo]

The same colors, with the same key, may be hardcoded in templates and pages:

Nezaželeni parametri[uredi kodo]

Color names tracked
Usage will link page to {{barva elementa/dummy}} (not from userspace)

List of color names to be researched:

| actinoid | actinoids | aktinoid | aktinid
| future | v prihodnosti
| inner transition metal | inner transition metals | votranje prehodne kovine | notranje prehodni elementi
| lanthanoid | lanthanoids | lantanoid | lantanid 
| natural radio
| other metal | other metals
| other metal (predicted) | other metals (predicted)
| poor metal | poor metals
| poor metal (predicted) | poor metals (predicted)
| rare earth metal | rare earth metals
| x
| unk | unknown (white)
| unknown property | unknown properties
| (see below) | (seebelow) | seebelow | see below
| see below (border)
| white
| black
| red
| yellow
| blue
| green
<!-- bloki -->
| ??? | imp-??? | imp-unassessed
| s-blok-p | s-block light
| p-blok-p | p-block light
| d-blok-p | d-block light
| f-blok-p | f-block light
| g-blok-p | g-block light

<!-- aq-pref missing-->
| fa
| a
| ga <!-- gaS conflict plural-s-->
| b
| c
| start
| stub
| list
| bplus | b+
| future
| current
| disambig
| na
| redirect
| book
| template
| category
| unassessed
<!-- IMP prefix missing-->
| top
| high
| mid
| low
| bottom
| na | n/a
| ??? | unassessed
<!--table-->
| tablecolh | tablerowh
| unknownc | veryreactive
| halogen
| halogen (predicted) | halogens (predicted)

Glej tudi[uredi kodo]

Predloga:Periodic table templates