Vorlage:VisualHeader: Unterschied zwischen den Versionen

Aus DIQA-Homepage
Wechseln zu:Navigation, Suche
(Added to the wiki via WikiImport-Script.)
 
(Added to the wiki via WikiImport-Script.)
 
Zeile 21: Zeile 21:
 
<div class="col-xs-12">
 
<div class="col-xs-12">
 
<div id="visualHeaderImage" class="hideBackgroundXS" style="background:{{#ifeq:{{{verlauf|}}}||linear-gradient(to right, white, white 10%, transparent),|{{{verlauf|}}},}}url({{filepath:{{{image}}}}}); background-repeat: no-repeat; background-position: top right; height: 150px; position: relative;">
 
<div id="visualHeaderImage" class="hideBackgroundXS" style="background:{{#ifeq:{{{verlauf|}}}||linear-gradient(to right, white, white 10%, transparent),|{{{verlauf|}}},}}url({{filepath:{{{image}}}}}); background-repeat: no-repeat; background-position: top right; height: 150px; position: relative;">
<h1 style="border: none !important; margin: 0 !important; position: absolute; bottom: 0.5em; line-height: 1.2em;">
+
<h1 style="border: none !important; margin: 0 !important; position: absolute; bottom: 0.5em; line-height: 1.4em;">
 
<span id="visualHeaderText" style="background: rgba(255,255,255,0.9); ">{{{header}}}</span>
 
<span id="visualHeaderText" style="background: rgba(255,255,255,0.9); ">{{{header}}}</span>
 
</h1>
 
</h1>

Aktuelle Version vom 19. September 2018, 22:21 Uhr


Parameters

  • image: Image Name (without brackets or File:). Image width must be height= 150px
  • header: the header text that should be shown
{{VisualHeader
|image=Header-QM-Wiki.jpg
|header=This is the header
|verlauf=linear-gradient(to right, white, white 10%, transparent)
}}

This is the header