Actions

Modèle

« Div col » : différence entre les versions

Aucun résumé des modifications
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{{Début de colonnes
<includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!--
|class={{{class|}}}
-->{{#if: {{{gap|}}}
|style1 = {{Oui non|1={{{small|}}}
    | {{column-gap|{{{gap}}}}} }}<!--
  |oui = font-size: 90%;line-height:1.6;
-->{{#switch: {{{rules|}}}
  |défaut = |non = |vide =
    | = <!--empty-->
  }}{{{style|}}}
    | yes = {{column-rule}}
|marge = {{{margin|}}}
    | {{Column-rule|{{{rules}}}}} }} <!--
|écart = {{<includeonly>safesubst:</includeonly>#if: {{{colgap|}}} | {{{colgap|}}} | {{{3|}}} }}
-->{{#ifeq: {{{small|}}}|yes
|filet = {{Oui non|1={{{rules|}}}
    | font-size:90%; }} <!--
  |défaut = {{{rules|}}}
-->{{#if: {{{style|}}}
  |oui = 1px solid #AAA
    | {{{style}}} }}"><!--
  |non =  |vide =
  -->{{#if: {{{content|}}}
  }}
    |{{{content}}}
|largeur = {{<includeonly>safesubst:</includeonly>#if:{{{colwidth|}}} | {{{colwidth|}}} | {{{2|}}} }}
</div>}}<!-- Inventory how many pages use small=yes
|nombre = {{<includeonly>safesubst:</includeonly>#if: {{{cols|}}} | {{{cols|}}} | {{<includeonly>safesubst:</includeonly>#if: {{{1|}}} | {{{1|}}} | {{<includeonly>safesubst:</includeonly>#if:{{{colwidth|}}}{{{2|}}} | | 2 }} }} }}
-->{{#ifeq: {{{small|}}}|yes
}}<!--
    |[[Category:Pages using div col with small parameter]]}}</includeonly>
-->{{<includeonly>safesubst:</includeonly>#if: {{{content|}}}
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using div col with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Div col]] with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}
| {{{content|}}}{{Fin de colonnes}}
}}

Dernière version du 21 juillet 2020 à 16:45