Vorlage:Portalbox: Unterschied zwischen den Versionen
Aus GET A
Mawe (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<includeonly><div style="margin: 0 10px 20px 0; background-color:white; width:{{{breite}}}; border:1px solid #a7d7f9; vertical-align:top; color:#000; padding: …“) |
Mawe (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div style="margin: 0 10px 20px 0; background-color:white; width:{{{breite}}}; border:1px solid #a7d7f9; vertical-align:top; color:#000; padding: 0px 10px 10px 0px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px; box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.3); padding:8px; {{{style_box}}}"> | <includeonly><div style="margin: 0 10px 20px 0; background-color:white; width:{{{breite}}}; border:1px solid #a7d7f9; vertical-align:top; color:#000; padding: 0px 10px 10px 0px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px; box-shadow: 1px 2px 10px 0 rgba(0, 0, 0, 0.3); padding:8px; {{{style_box}}}"> | ||
<div style="text-align:left; position:relative; left:4px; top:2px; margin:0;"> | <div style="text-align:left; position:relative; left:4px; top:2px; margin:0;"> | ||
− | + | ||
− | |||
<div style="position:absolute; left:40px; top:2px;"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="font-weight:bold; border-bottom:none; font-size:110%; padding:.15em .7em; margin-top:0 !important;">{{{titel}}}</h2></div></div> | <div style="position:absolute; left:40px; top:2px;"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="font-weight:bold; border-bottom:none; font-size:110%; padding:.15em .7em; margin-top:0 !important;">{{{titel}}}</h2></div></div> | ||
<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:6px;{{{style_inhalt|}}}"> | <div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:6px;{{{style_inhalt|}}}"> |
Version vom 29. Juli 2012, 15:13 Uhr
Mit dieser Vorlage kann man Portalboxen erzeugen.
Gebrauch der Vorlage
{{Portalbox |titel = Titel der Box |breite = Breite der Box in px oder % |bild = Bild das links vom Titel eingeblendet wird |style_box = CSS das der Box hinzugefügt wird |style_inhalt = CSS das dem Inhalt hinzugefügt wird |inhalt = Eigentlicher Inhalt der Box }}
Passende (runde) Bilder findet man auf dem französischen und italienischen Wikipedia.
Beispiel
Wikitext:
{{Portalbox |titel = Lorem ipsum |breite = 500px |bild = HSutvald2.svg |style_box = |style_inhalt = |inhalt = Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. '''[http://silent-subliminals.de silent-subliminals.de] - Eine Software, die dein Leben verändern kann''' Wie man sieht, kann man hier ganz normalen [[Wikitext]] verwenden :)<br /> Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. }}
Resultat:
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
silent-subliminals.de - Eine Software, die dein Leben verändern kann
Wie man sieht, kann man hier ganz normalen Wikitext verwenden :)