Modèle:Tabs : Différence entre versions
[version non vérifiée] | [version vérifiée] |
(11 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{LoadJavascript|Script=tabber}} | {{LoadJavascript|Script=tabber}} | ||
− | <div class="tabber-container" data-toggle="{{#if:{{{toggle|}}}|1|0}}" data-url="{{#if:{{{url|}}}|1 | + | <div class="tabber-container" data-toggle="{{#if:{{{toggle|}}}|1|0}}" data-url="{{#if:{{{url|}}}|0|1}}"> |
− | <div style="display: flex; flex-direction: row; gap: | + | <div style="display: flex; flex-direction: row; gap: 5px; flex-wrap: wrap;"> |
<div id="{{{Bo1|Bouton1}}}" class="button styled-button {{#ifeq:{{{numActive|1}}}|1|tabber-active}}" data-position="0">{{{Bo1|Bouton1}}}</div> | <div id="{{{Bo1|Bouton1}}}" class="button styled-button {{#ifeq:{{{numActive|1}}}|1|tabber-active}}" data-position="0">{{{Bo1|Bouton1}}}</div> | ||
{{#if:{{{Bo2|}}}| | {{#if:{{{Bo2|}}}| | ||
Ligne 24 : | Ligne 24 : | ||
</div> | </div> | ||
<div> | <div> | ||
− | <div class="{{#ifeq:{{{numActive|1}}}|1|tabber-active}}"> | + | <div class="{{#ifeq:{{{numActive|1}}}|1|tabber-active}}" style="margin-top: 15px;"> |
{{{Co1|Contenu1}}} | {{{Co1|Contenu1}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co2|}}}|<div class="{{#ifeq:{{{numActive|1}}}|2|tabber-active}}"> | + | {{#if:{{{Co2|}}}|<div class="{{#ifeq:{{{numActive|1}}}|2|tabber-active}}" style="margin-top: 15px;"> |
{{{Co2}}} | {{{Co2}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co3|}}}|<div class="{{#ifeq:{{{numActive|1}}}|3|tabber-active}}"> | + | {{#if:{{{Co3|}}}|<div class="{{#ifeq:{{{numActive|1}}}|3|tabber-active}}" style="margin-top: 15px;"> |
{{{Co3}}} | {{{Co3}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co4|}}}|<div class="{{#ifeq:{{{numActive|1}}}|4|tabber-active}}"> | + | {{#if:{{{Co4|}}}|<div class="{{#ifeq:{{{numActive|1}}}|4|tabber-active}}" style="margin-top: 15px;"> |
{{{Co4}}} | {{{Co4}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co5|}}}|<div class="{{#ifeq:{{{numActive|1}}}|5|tabber-active}}"> | + | {{#if:{{{Co5|}}}|<div class="{{#ifeq:{{{numActive|1}}}|5|tabber-active}}" style="margin-top: 15px;"> |
{{{Co5}}} | {{{Co5}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co6|}}}|<div class="{{#ifeq:{{{numActive|1}}}|6|tabber-active}}"> | + | {{#if:{{{Co6|}}}|<div class="{{#ifeq:{{{numActive|1}}}|6|tabber-active}}" style="margin-top: 15px;"> |
{{{Co6}}} | {{{Co6}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co7|}}}|<div class="{{#ifeq:{{{numActive|1}}}|7|tabber-active}}"> | + | {{#if:{{{Co7|}}}|<div class="{{#ifeq:{{{numActive|1}}}|7|tabber-active}}" style="margin-top: 15px;"> |
{{{Co7}}} | {{{Co7}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co8|}}}|<div class="{{#ifeq:{{{numActive|1}}}|8|tabber-active}}"> | + | {{#if:{{{Co8|}}}|<div class="{{#ifeq:{{{numActive|1}}}|8|tabber-active}}" style="margin-top: 15px;"> |
{{{Co8}}} | {{{Co8}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co9|}}}|<div class="{{#ifeq:{{{numActive|1}}}|9|tabber-active}}"> | + | {{#if:{{{Co9|}}}|<div class="{{#ifeq:{{{numActive|1}}}|9|tabber-active}}" style="margin-top: 15px;"> |
{{{Co9}}} | {{{Co9}}} | ||
</div> | </div> | ||
− | {{#if:{{{Co10|}}}|<div class="{{#ifeq:{{{numActive|1}}}|10|tabber-active}}"> | + | {{#if:{{{Co10|}}}|<div class="{{#ifeq:{{{numActive|1}}}|10|tabber-active}}" style="margin-top: 15px;"> |
{{{Co10}}} | {{{Co10}}} | ||
</div> | </div> |
Version actuelle datée du 25 mai 2024 à 20:35
Bouton1
Contenu1