Vorlage:Portalbox: Unterschied zwischen den Versionen

Aus GET A
Wechseln zu: Navigation, Suche
(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: …“)
 
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
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;">
[[Image:Bluebg rounded.png|link=|alt=]]
+
 
<div style="position:absolute; left:5px; top:-6px;">[[File:{{{bild}}}|38px|link=|alt=]]</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|}}}">
 
{{{inhalt}}}</div></div></includeonly>
 
{{{inhalt}}}</div></div></includeonly>
 
<noinclude>
 
<noinclude>
Mit dieser Vorlage kann man Portalboxen erzeugen.
+
Mit dieser Vorlage kann man Tagclouds erzeugen.
  
 
== Gebrauch der Vorlage ==
 
== Gebrauch der Vorlage ==
Zeile 34: Zeile 33:
 
|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.
 
|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'''
+
'''[http://www.test.de] - Eine Testseite'''
  
 
Wie man sieht, kann man hier ganz normalen [[Wikitext]] verwenden :)<br />
 
Wie man sieht, kann man hier ganz normalen [[Wikitext]] verwenden :)<br />
Zeile 51: Zeile 50:
 
|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.
 
|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'''
+
'''[http://www.test.de] - Eine Testseite'''
  
 
Wie man sieht, kann man hier ganz normalen [[Wikitext]] verwenden :)<br />
 
Wie man sieht, kann man hier ganz normalen [[Wikitext]] verwenden :)<br />

Aktuelle Version vom 9. November 2017, 16:36 Uhr


Mit dieser Vorlage kann man Tagclouds 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://www.test.de] - Eine Testseite'''

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.

[1] - Eine Testseite

Wie man sieht, kann man hier ganz normalen Wikitext verwenden :)

Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.