Šablona:Layout with infobox: Porovnání verzí

Z ApolloWiki
Přejít na:navigace, hledání
Bez shrnutí editace
Bez shrnutí editace
 
(Není zobrazeno 5 mezilehlých verzí od stejného uživatele.)
Řádek 1: Řádek 1:
<includeonly><div class="container-fluid pt-0 pt-sm-1 pt-md-2 pt-lg-3 px-0 px-sm-1 px-md-2 px-lg-3 w-lg-70 w-md-90 w-100"><!--
<includeonly><div class="container-fluid pt-0 pt-sm-1 pt-md-2 pt-lg-3 px-0 px-sm-1 px-md-2 px-lg-3 w-lg-70 w-md-90 w-100" style="{{When|{{{Max width|}}}|max-width:{{{Max width|}}};}}"><!--
-->__NOTOC__<!---->{{HideHeading1}}<!--
-->__NOTOC__<!---->{{Hide heading}}<!--
--><div class="container-fluid"><!--
--><div class="container-fluid"><!--
--><!----><div class="container-fluid"><div class="row my-3">{{Heading|{{{Heading|{{PAGENAME}}}}}}}</div></div><!--
--><!----><div class="container-fluid"><div class="row my-3">{{Heading|{{{Heading|{{PAGENAME}}}}}}}</div></div><!--
Řádek 29: Řádek 29:
<!----------></div>
<!----------></div>
<!---------->{{{Other rows||}}}<!--
<!---------->{{{Other rows||}}}<!--
---------->|Class={{#ifeq:{{{Fixed infobox|0}}}|1|position-lg-fixed position-sm-relative my-lg-0 my-5|}}<!--
---------->|Class={{#ifeq:{{{Fixed infobox|0}}}|1|position-lg-fixed position-sm-relative my-lg-0|}} mb-5<!--
-------->}}
-------->}}
<!------>{{{Under infobox|}}}
<!------>{{{Under infobox|}}}
Řádek 48: Řádek 48:
|Under infobox=some text under infobox
|Under infobox=some text under infobox
|Show infobox=1
|Show infobox=1
|Max width=1140px;
}}
}}
</pre>
</pre>
Řádek 58: Řádek 59:
|Infobox = some text in infobox ...
|Infobox = some text in infobox ...
|Under infobox=some text under infobox
|Under infobox=some text under infobox
|Max width=1140px
}}
}}
</noinclude>
</noinclude>

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


{{Layout with infobox
|Heading = heading ...
|Main text = some text ...
|Infobox = some text in infobox ...
|Fixed infobox = 0 -- infobox should move with the page
|Image= file path (without File:)
|Under infobox=some text under infobox
|Show infobox=1
|Max width=1140px;
}}

sample:

heading ...

heading ...

some text ...

some text in infobox ...

some text under infobox