Bon retour sur WikiVPM ! Les modifications des pages seront à nouveau possibles dès la fin de la maintenance. Merci pour votre patience.

« Modèle:Infobox 2/Début » : différence entre les versions

De WikiVPM
Aller à la navigation Aller à la recherche
(Suppression balise div à condition width)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<div class="infobox"><table class="infobox" cellspacing="4" style="width:22em;">
{{#if:{{{header|}}}
 
|<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
<caption class="{{{titleclass|}}}" style="height:35px;background-color:Navy;color:white;font-weight:bold;padding-top:6px;{{{titlestyle|}}}">{{{title}}}</caption>
|{{#if:{{{data|}}}
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
  |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
    <td class="{{{class|}}}" style="{{{datastyle|}}}">
  |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
  }}
{{{data}}}</td></tr>
}}
}}

Version du 12 août 2012 à 18:08