Vorlage:Portal-Kopf2: Unterschied zwischen den Versionen

K
id-attribut entfernt, da tags im überschrifttext-parameter probleme bereiten (z. B. http://de.wikipedia.org/w/index.php?title=Wikipedia:Fragen_zur_Wikipedia&oldid=43212917#Portal:Prostitution)
(Neuer Parameter: Schriftgröße)
K (id-attribut entfernt, da tags im überschrifttext-parameter probleme bereiten (z. B. http://de.wikipedia.org/w/index.php?title=Wikipedia:Fragen_zur_Wikipedia&oldid=43212917#Portal:Prostitution))
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: {{#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>
<includeonly><div 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 5: Zeile 5:
== Anwendung ==
== Anwendung ==
* 1. Parameter: Linienfarbe, hexadezimal ohne '#'
* 1. Parameter: Linienfarbe, hexadezimal ohne '#'
* 2. Parameter: Überschrifttext (und id-Wert)
* 2. Parameter: Überschrifttext
* 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
Anonymer Benutzer