Šablona:Layout carousel with context: Porovnání verzí

Z ApolloWiki
Přejít na:navigace, hledání
Bez shrnutí editace
Bez shrnutí editace
 
(Není zobrazeno 28 mezilehlých verzí od stejného uživatele.)
Řádek 1: Řádek 1:
{{Layout basic
<includeonly>{{Layout basic
|Heading={{{Heading|{{PAGENAME}}}}}
|Heading={{{Heading|{{PAGENAME}}}}}
|Main text=
|Main text=


<!-- Image that is saved as metadata for external use -->
{{#ifeq:{{{Carousel image1|}}}|||
{{#ifeq:{{{Show carousel|1}}}|1|
<div class="flex-row">
{{#ifeq: {{{Carousel image1|}}}|||
<div class="flex-row bg-light">
<!----><div class="d-flex justify-content-center">
<!----><div class="d-flex justify-content-center">
<!--------><div style="width:90%;height:2%;">
{{#bootstrap_carousel:
{{#bootstrap_carousel:
[[File:{{{Carousel image1|}}}]]
[[File:{{#setmainimage:{{{Carousel image1|}}}}}|700px]]
|[[File:{{{Carousel image2|{{{Carousel image1}}}}}}]]
|[[File:{{{Carousel image2|{{{Carousel image1}}}}}}|700px]]
|[[File:{{{Carousel image3|{{{Carousel image2|{{{Carousel image1}}}}}}}}}]]
|[[File:{{{Carousel image3|{{{Carousel image2|{{{Carousel image1}}}}}}}}}|700px]]
|style=width:90%;height:2%;
|style=width:700px;
|class=d-md-block d-none
}}
}}
<!--------></div>
<!----></div>
<!----></div>
</div>
</div>
}}
}}}}


<div class="row">
<div class="row">
<!----><div class="col-sm-6">
<!----><div class="col-xl-6">
<!-------->{{{First column|}}}
<!-------->{{{First column|}}}
<!----></div>
<!----></div>
<!----><div class="col-sm-6">
<!----><div class="col-xl-6">
<!-------->{{{Second column|}}}
<!-------->{{{Second column|}}}
<!----></div>
<!----></div>
</div>
</div>
|Max width={{{Max width|}}}
}}
}}
</includeonly>

<noinclude>
<noinclude>

Test:
<pre>
{{Layout_carousel_with_context
|Carousel image1=Budova fakulty přf.jpg
|Carousel image2=Budova fakulty přf.jpg
|First column=First column text
|Second column=Second column text
|Show carousel=1
}}
</pre>

{{Layout_carousel_with_context
{{Layout_carousel_with_context
|Carousel image1=Tomas Masopust Profile Picture.jpeg
|Carousel image1=Budova fakulty přf.jpg
|Carousel image2=Jiri-balun-profile-image.jpg
|Carousel image2=Budova fakulty přf.jpg
|Show carousel=1
|First column=First column text
|First column=First column text
|Second column=Second column text
|Second column=Second column text

Aktuální verze z 23. 4. 2022, 12:36


{{Layout_carousel_with_context
|Carousel image1=Budova fakulty přf.jpg
|Carousel image2=Budova fakulty přf.jpg
|First column=First column text
|Second column=Second column text
|Show carousel=1
}}


Layout carousel with context

Layout carousel with context

First column text

Second column text