Vorlage:Sidebox3: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
 
(54 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{titel |Sidebox3}}
+
{{titel|{{PAGENAME}}}}
 +
Testbild
 +
<div class='testbild' style='background: #eee; padding: 1em'><!--
 +
--><onlyinclude><!--
 +
 
 +
VARIABLE
 +
 
 +
-->{{#vardefine: img |{{{1|fushimi_8.jpg}}} }}<!--
 +
 
 +
Standardweite, rw
 +
 
 +
-->{{#vardefine:rw | {{{rw|220}}} }}<!--
 +
 
 +
Standardhöhe, rh
  
Testbild
+
-->{{#vardefine:rh | {{{rh|165}}} }}<!--  
<onlyinclude><!--
+
 
-->{{#vardefine: img |{{{1|fushimi_8.jpg}}} }}<!--
+
Sidepagelink
-->{{#vardefine:link|  
+
 
{{#ifexist:
+
-->{{#vardefine:link
 +
|{{#ifexist:
 
{{FULLPAGENAME}}/{{{sidepage}}} | {{FULLPAGENAME}}/{{{sidepage}}} | {{{sidepage}}}  
 
{{FULLPAGENAME}}/{{{sidepage}}} | {{FULLPAGENAME}}/{{{sidepage}}} | {{{sidepage}}}  
 
}}
 
}}
}}<!-- HTML START
+
}}<!--
--><div class='sidebox3' >
+
 
<div>[[Bild:{{#var:img}}|{{{w|220px}}}px]]</div>
+
Sidepage
</div><!--
+
 
-->{{#css:
+
-->{{#vardefine:sidepage
.sidebox3 {
+
| {{#if: {{{sidepage|}}}
  position: absolute;
+
| <div class='sbUe2' >[[{{#var:link}}|<span class='sbUeText'><!--
  width: 17%;
+
-->{{#switch: {{{titel|}}}
  min-width: 11.5em;
+
| essay= essay
  right: -8.5%;
+
| bilder= bilder
  font: normal normal 1rem Calibri;
+
| zitat = zitat
  background-color: #dbd0b5;
+
| #default= spezialthema
  border-radius: 8px;
+
}}<!--
  border: 4px solid #dbd0b5;
+
--></span>]]</div>}}
   box-shadow: 0 0 20px 0 rgba(0,0,0,0.1);
+
}}<!-- 
}
+
 
.sidebox3 img {
+
Style
   width: 100%;
+
 
  height: inherit;
+
-->{{#vardefine:style |{{#if:{{{style|}}}|style='{{{style|}}}' }} }}<!--  
}
+
 
}}
+
 
</onlyinclude>
+
HTML
 +
 
 +
--><div class='sidebox3 {{{hell|}}}' {{#var:style}}>
 +
{{#var:sidepage}}
 +
{{DiaX
 +
| {{#var:img}}
 +
| {{{2|}}}
 +
| rw=    {{#var:rw}}
 +
| rh=    {{#var:rh}}
 +
| w=    {{{w|}}}
 +
| top=   {{{top|0}}}
 +
| left=  {{{lr|{{{left|0}}}}}} 
 +
| right= {{{lr|{{{right|0}}}}}} 
 +
| border={{{border|}}}  
 +
| ref= {{{ref|}}}
 +
}}</div><!--    
 +
 
 +
Vorlage Ende
 +
 
 +
--></onlyinclude></div>
 
----
 
----
Parameter:  
+
Parameter:
:image|1, w, rw/ rahmen_w, rh/ rahmen_h, left, top, alt, link, border
+
: Div:  hell, style
:sidepage, titel (bilder, essay, zitat), caption|2
+
: Bild: 1, w, rw, rh, top, right, left, lr, border
{{Styles}}{{ThisWay||nocite}}
+
: Text: 2, ref, titel
 +
{{Styles}}

Aktuelle Version vom 15. Mai 2019, 17:06 Uhr

Religion in Japan > Vorlage > Sidebox3
Sidebox3

Testbild

Gang aus roten torii // Schreintore, torii (Holz); Fushimi Inari Schrein, Kyoto // // Foto-Motiv Nummer 1 im Fushimi Inari Schrein.

Parameter:

Div: hell, style
Bild: 1, w, rw, rh, top, right, left, lr, border
Text: 2, ref, titel