Benutzer:Oculus Spectatoris/Kodeschnipsel/Karte5

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen

Dies ist eine Spielwiese und eine „Wissensdatenbank“.
This is a playground and a “knowledge-database”.


  Tutorien   Verweise   Programmierung   Tabellen, Listen   Textgestaltung   Textgliederung  


Rahmen und Kästen[Bearbeiten | Quelltext bearbeiten]

Zeichen[Bearbeiten | Quelltext bearbeiten]

This is the "color of beef". (Hintergrund: #eeffff)

Hintergrund: #fffff3, Schrift: #a0a000

Hintergrund: #fff3ff, Schrift: #a000a0

Hintergrund: #f3ffff, Schrift: #00a0a0

Absatz[Bearbeiten | Quelltext bearbeiten]

Hintergrundfarbe, Innenabstand, Schriftfarbe, Rahmenart, Rahmendicke und Rand (#f3f3ff/#0000a0)

Hintergrundfarbe, Innenabstand, Schriftfarbe, Rahmenart, Rahmendicke und Rand (#fff3f3/#a00000)

Hintergrundfarbe, Innenabstand, Schriftfarbe, Rahmenart, Rahmendicke und Rand (#f3fff3/#00a000)

Ein Kessel Buntes[Bearbeiten | Quelltext bearbeiten]

                            

Rahmen und Rahmenabstand: 2 Pixel

Hier steht der Kasteninhalt, ohne

Rahmen und Rahmenabstand: 1 Pixel

den mindestens zwei Leerzeilen (eine


                

Rahmen und Rahmenabstand: 4 Pixel

reicht nicht) oder ein   nötig

Rahmen und Rahmenabstand: 2 Pixel

sind, damit ein leerer Kasten und nicht

Rahmen und Rahmenabstand: 1 Pixel

nur ein Balken (wie hier drunter) entsteht.

Rahmen und Rahmenabstand: 1 Pixel

Übersicht unter: http://de.selfhtml.org/navigation/css.htm

Bildeinbindungen[Bearbeiten | Quelltext bearbeiten]

Kurzfassung von w:Wikipedia:Extended_image_syntax[Bearbeiten | Quelltext bearbeiten]

[[File:Name | Type | Border | Location | Alignment | Size
|link=Link | alt=Alt | page=Page | lang=Langtag | Caption]]


Type:

  • (nothing)
  • thumb/thumbnail=filename
  • thumb/thumbnail
  • frame/framed
  • frameless


Border (1px; effect only around unframed images):

  • (nothing)
  • border


Location:

  • (nothing) (results together with no Type to inline placement)
  • right (default)
  • left
  • center
  • none


Alignment (vertical):

  • baseline
  • middle:(default)
  • sub
  • super
  • text-top
  • text-bottom
  • top
  • bottom


Size:

  • upright:(default factor 0.75; Scale a thumbnail from its default size 220px, rounding the result to the nearest multiple of 10 pixels; must be used along with "thumb" or "frameless)
  • upright=factor:(Scale a thumbnail from its default size 220px, rounding the result to the nearest multiple of 10 pixels; must be used along with "thumb" or "frameless)
  • WIDTHpx:(Scale the image to be no greater than the given width, keeping its aspect ratio. Scaling UP is disabled when the image is framed.)
  • xHEIGHTpx:(Scale the image to be no greater than the given height, keeping its aspect ratio. Scaling UP is disabled when the image is framed.)
  • WIDTHpxHEIGHTpx:(Scale the image to be no greater than the given width OR height, keeping its aspect ratio. Scaling UP is disabled when the image is framed.)


link:

  • (Link to a different resource - or to nothing; cannot be used with "frame")


alt (supported only for images):

  • (description of the content)


page:

  • (Specify a page other than 1 to use for the thumbnail image.)


lang:

  • (IETF langtag in all lowercase for switch-translated SVG files. Defaults to current Wikipedia language in article namespace or "en" in other namespaces.)


Caption:

  • (Specify the image's caption - visible if "thumb" is used, but may be displayed on mouseover in other cases.)


Bilder fest in Ecken setzen[Bearbeiten | Quelltext bearbeiten]

<div style="position: fixed; right:0; left:0; top:0; bottom:0;
display:block; height:0px; width:0px;">[[File:...]]</div>

  • "right" und "left" sowie "top" und "bottom" schließen sich natürlich gegenseitig aus. Der Wert gibt jeweils den Abstand vom entsprechenden Rand an.

-o=o~