Датотека:Periodic table, good SVG.svg

Sadržaj stranice nije podržan na drugim jezicima
Izvor: Викицитат

Originalna datoteka(SVG datoteka, nominalno 1.176 × 800 piksela, veličina: 20 kB)

Ova datoteka se nalazi na Vikimedijina ostava i može da se koristi na drugim projektima. Njen opis je prikazan ispod.

Opis izmene

Opis
English: A by-product of File:Monoisotopic, mononuclidic, radioactive elements.svg with more classical proportions of element cells, but without information about isotopes. These Perl programs generate a good, structured SVG code and may be modified further to create more sentient images that this concrete table.

Elements:

  •    Stable
  • Radioactive:
    • natural (industrially extractable)
    •    natural, marginally
    •    synthetic (purely)
209Bi is practically stable, so it is made orange, not red.
Datum
Izvor Sopstveno delo
Autor Incnis Mrsi
Ostale verzije
SVG genesis
InfoField
 
The SVG code is valid.
 
This vector image was created with unknown tool.
 
 This file uses embedded text that can be easily translated using a text editor.

Source code

See File:Monoisotopic, mononuclidic, radioactive elements.svg for definition of the @elements array.

sub start_box {
  my $fill="";
  $fill=' style="fill:'.$_[2].'"' if ($_[2]);
  print "<g> <rect$fill x=\"".(16*$_[1]-15)."\" width=\"14\" y=\"".($_[0]-19)."\" height=\"18\"/> ";
};

sub make_text {
  my $cl="";
  $cl=' class="'.$_[3].'"' if ($_[3]);
  print "<text$cl x=\"".$_[0]."\" y=\"".$_[1]."\">".$_[2]."</text> ";
};

sub smart_symbol {
  make_text ($_[0], $_[1], $_[2], (length($_[2])>2)?"smallsym":"sym");
};

sub smart_number {
  my $x = $_[0] - 3;
  my $cl = "num";
  if ( $_[2] >=100 ) { $cl = "smallnum"; $x -= 3; }
  elsif ( $_[2] >=10 ) { $x -= 3; };
  make_text ($x, $_[1], $_[2], $cl);
};
  

sub print_Z {
  my $ref = $elements[$_[0]];
  return unless $ref;
  my $intro;
  my $base_y = 20 * $ref->[1];
  my $group = $ref->[2];
  if ($group == 1) { # First element in a period
    $intro = $ref->[1];
  }
  elsif (!$group) { 
    if ( $ref->[1] == 6) { # Lanthanoid
      if ($_[0] == 57) { # Lanthanum
        start_box($base_y, 3); make_text (37, $base_y-10, "*", "sym"); print "</g>";
        $intro = "* lanthanoids";
      };
      $base_y = 174;
      $group = $_[0] - 54;
    }
    elsif ( $ref->[1] == 7) { # Actinoid
      if ($_[0] == 89) { # Actinium
        start_box($base_y, 3); make_text (35, $base_y-10, "**", "sym"); print "</g>";
        $intro = "** actinoids";
      };
      $base_y = 194;
      $group = $_[0] - 86;
    }
    else { return; };
  };
  if ($intro) {
    print "\n";
    make_text (-5, $base_y-4, $intro) if ($intro);
    print "\n";
  };
  my $background = $ref->[3];
# this version is not focused on nuclides, recycling some stuff
  if ( $background =~ /\#FF00/ ) {
# we classify all unstable elements to nanural, marginally natural and unnatural in this version
    if ( $ref->[5] eq "0" ) {
      $background = '#CC00FF'; # I said: no natural isotopes
    }
    else {
      $background = (($_[0] == 90)||($_[0] == 92))?'#FF3333' # Th, U
      :'#FF33FF'; # marginally natural
    };
  }
  else {
    $background =~ s/\#..FF../\#FFFFFF/;
  };
  start_box ($base_y, $group, $background);
# no check for natural radionuclides in this version
  smart_number (16*$group-8, $base_y-5, $_[0]); # Atomic number
  smart_symbol (16*$group-13, $base_y-11, $ref->[0]); # Symbol
# no mass numbers in this version
  print "</g>\n"; # end box
};

print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\
<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\
<svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" width=\"1176\" height=\"800\" viewBox=\"-5 -6 294 200\"\
 xmlns:xlink=\"http://www.w3.org/1999/xlink\">\
  <!-- see http://commons.wikimedia.org/wiki/File:Periodic_table,_good_SVG.svg for more information about the file -->
  <defs>\
    <style type=\"text/css\">\
      <![CDATA[\
	rect {stroke:#666666; stroke-width:1px; fill:none} /* for cells */\
	text {fill:#000000; font-family:sans; font-size:5px; stroke:none} /* periods and groups */\
	.sym {font-family:serif; font-size:7px}\
	.smallsym {font-family:serif; font-size:5.5px} /* Uu? */\
	.num {font-size:4px} /* up to 99 */\
	.smallnum {font-size:3px} /* 100 and greater */\
      ]]>\
    </style>\
  </defs>\n\n";

my $group;
  make_text ( 6, -1, 1);
  make_text (22, 18, 2);
for ( $group=3; $group<=12; $group++) { make_text(16*$group-10, 58, $group); };
for ($group=13; $group<=17; $group++) { make_text(16*$group-12, 18, $group); };
  make_text (276, -1, 18);

my $Z;
for ($Z=1; $Z<=119; $Z++) { print_Z ($Z); };
print "</svg>\n";

Licenciranje

Ja, nosilac autorskih prava nad ovim delom, objavljujem isto pod sledećim licencama:
GNU head Data je dozvola da se kopira, distribuira i/ili menja ovaj dokument pod uslovima GNU-ove licence za slobodnu dokumentaciju, verzije 1.2 ili bilo koje novije verzije koju objavi Zadužbina za slobodni softver; bez nepromenljivih odeljaka i bez teksta na naslovnoj i zadnjoj strani. Tekst licence možete pročitati ovde.
w:sr:Krijejtiv komons
autorstvo deliti pod istim uslovima
Ova datoteka je dostupna pod licencom Creative Commons Autorstvo-Deliti pod istim uslovima 3.0 Unported, 2.5 Generička licenca, 2.0 Generička licenca i 1.0 Generička licenca.
Dozvoljeno je:
  • da delite – da umnožavate, raspodeljujete i prenosite delo
  • da prerađujete – da preradite delo
Pod sledećim uslovima:
  • autorstvo – Morate da date odgovarajuće zasluge, obezbedite vezu ka licenci i naznačite da li su izmene napravljene. Možete to uraditi na bilo koji razuman manir, ali ne na način koji predlaže da licencator odobrava vas ili vaše korišćenje.
  • deliti pod istim uslovima – Ako izmenite, preobrazite ili dogradite ovaj materijal, morate podeliti svoje doprinose pod istom ili kompatibilnom licencom kao original.
Izaberite licencu po želji.

Natpisi

Dodajte objašnjenje u jednom redu o tome šta ova datoteka predstavlja
Modern Periodic Table

Stavke prikazane u ovoj datoteci

prikazuje

Neka vrednost bez stavke na projektu Vikipodaci

skraćeno ime autora Serbian (transliteracija): Incnis Mrsi
Vikimedija Serbian (transliteracija): Incnis Mrsi

status autorskog prava Serbian (transliteracija)

zaštićeno autorskim pravima Serbian (transliteracija)

22. oktobar 2012

izvor datoteke Serbian (transliteracija)

sopstveno delo Serbian (transliteracija)

Istorija datoteke

Kliknite na datum/vreme da biste videli tadašnju verziju datoteke.

Datum/vremeMinijaturaDimenzijeKorisnikKomentar
trenutna18:54, 9. oktobar 2020.Minijatura za verziju na dan 18:54, 9. oktobar 2020.1.176 × 800 (20 kB)BurzuchiusReverted to version as of 13:09, 11 November 2018 (UTC)
16:26, 21. septembar 2020.Minijatura za verziju na dan 16:26, 21. septembar 2020.1.176 × 800 (21 kB)Once4O4Reverted to version as of 11:40, 30 November 2016 (UTC)
15:09, 11. novembar 2018.Minijatura za verziju na dan 15:09, 11. novembar 2018.1.176 × 800 (20 kB)TilmannRAm (95), Cm (96), Bk (97), and Cf (98) are purely synthetic. Uue (119) has not yet been synthesized. (Wikipedia illustration workshop request)
13:40, 30. novembar 2016.Minijatura za verziju na dan 13:40, 30. novembar 2016.1.176 × 800 (21 kB)Wiki LICIUPAC 2016/11/28 actualization: Uut>>Nh Uup>>Mc Uus>>Ts Uuo>>Og
23:51, 22. oktobar 2012.Minijatura za verziju na dan 23:51, 22. oktobar 2012.1.176 × 800 (21 kB)Incnis Mrsicorrected in line with w: Synthetic element
21:10, 22. oktobar 2012.Minijatura za verziju na dan 21:10, 22. oktobar 2012.1.176 × 784 (21 kB)Incnis Mrsi== {{int:filedesc}} == {{Information |Description ={{en|1=A by-product of File:Monoisotopic, mononuclidic, radioactive elements.svg with more classical proportions of element cells, but without information about isotopes. This concrete SVG imag...

Nema stranica koje koriste ovu datoteku.

Globalna upotreba datoteke

Drugi vikiji koji koriste ovu datoteku:

Metapodaci