Zum Inhalt springen

Vorlage:Portal-Kopf2: Unterschied zwischen den Versionen

Neuer Parameter: Schriftgröße
K (Einsortierung)
(Neuer Parameter: Schriftgröße)
Zeile 1: Zeile 1:
<includeonly><div id="{{{2}}}" style="padding:3px 3px 0px 3px; text-align: left; font-family: Gill Sans, Futura, sans-serif; font-size: 120%; font-stretch: condensed; border-bottom: solid 1px #{{{1}}}; background-color: {{#if:{{{3|}}}|#{{{3|}}}|transparent}}; color: {{#if:{{{4|}}}|#{{{4|}}}|black}};">{{{2}}}</div></includeonly><noinclude>
<includeonly><div id="{{{2}}}" style="padding:3px 3px 0px 3px; text-align: left; font-family: Gill Sans, Futura, sans-serif; font-size: {{#if:{{{5|}}}|#{{{5|}}}|120%}}; font-stretch: condensed; border-bottom: solid 1px #{{{1}}}; background-color: {{#if:{{{3|}}}|#{{{3|}}}|transparent}}; color: {{#if:{{{4|}}}|#{{{4|}}}|black}};">{{{2}}}</div></includeonly><noinclude>


Diese Vorlage erzeugt Überschriften für Portale wie in [[Portal:Halbleiter]]
Diese Vorlage erzeugt Überschriften für Portale wie in [[Portal:Halbleiter]]
Zeile 8: Zeile 8:
* 3. Parameter: Hintergrundfarbe, hexadezimal ohne '#', optional, Standard: durchsichtig
* 3. Parameter: Hintergrundfarbe, hexadezimal ohne '#', optional, Standard: durchsichtig
* 4. Parameter: Schriftfarbe, hexadezimal ohne '#', optional, Standard: schwarz
* 4. Parameter: Schriftfarbe, hexadezimal ohne '#', optional, Standard: schwarz
* 5. Parameter: Schriftgröße, in Prozent, optional, Standard: 120%


=== Beispiele ===
=== Beispiele ===
Anonymer Benutzer