Différences entre versions de « Modèle:Infobox »

De Wikipédia 2197
Sauter à la navigation Sauter à la recherche
Ligne 18 : Ligne 18 :
 
  | coutume = ff6363
 
  | coutume = ff6363
 
  | quete = ff6363
 
  | quete = ff6363
 +
| sousquete = feadad
 
  | presenter = ffff64
 
  | presenter = ffff64
 
  | #default = ffff64
 
  | #default = ffff64
Ligne 23 : Ligne 24 :
 
  | presenter = Exemple d'''Infobox''
 
  | presenter = Exemple d'''Infobox''
 
  | quete = Quête
 
  | quete = Quête
 +
| sousquete = Sous-quête
 
  | #default = {{BASEPAGENAME}}
 
  | #default = {{BASEPAGENAME}}
 
}}</div>
 
}}</div>
Ligne 28 : Ligne 30 :
 
{{#if: {{{image|}}} | [[File:{{{image|}}}|center|275px]]<div style="text-align:center;">{{{légende|}}}</div> | }}
 
{{#if: {{{image|}}} | [[File:{{{image|}}}|center|275px]]<div style="text-align:center;">{{{légende|}}}</div> | }}
  
 +
{{ #switch: {{{type|}}}
 
<!---------------------- QUÊTE ---------------------->
 
<!---------------------- QUÊTE ---------------------->
{{ #switch: {{{type|}}}
 
 
  | quete =
 
  | quete =
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
 
<table width="100%" border="0" style="border-spacing: 0 1em;">
Ligne 57 : Ligne 59 :
 
</table>
 
</table>
 
{{#if: {{{sous|}}} | <div class="caption" style="background-color:#ff6363;">Sous-quête(s)</div><!-- Séparateur --><br>{{{sous|}}} | }}
 
{{#if: {{{sous|}}} | <div class="caption" style="background-color:#ff6363;">Sous-quête(s)</div><!-- Séparateur --><br>{{{sous|}}} | }}
 +
<!---------------------- QUÊTE ---------------------->
 +
| sousquete =
 +
<table width="100%" border="0" style="border-spacing: 0 1em;">
 +
    <tr>
 +
      <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Nom</b></font></td>
 +
      <td width="66%" style="vertical-align: top;">{{BASEPAGENAME}}</td>
 +
    </tr>
 +
    <tr>
 +
      <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Donnée par</b></font></td>
 +
      <td width="66%" style="vertical-align: top;">[[{{{par|}}}]]</td>
 +
    </tr>
 +
    <tr>
 +
      <td width="33%" style="vertical-align: top;"><font color="#fff"><b>Récompense</b></font></td>
 +
      <td width="66%" style="vertical-align: top;">{{{récompense|}}}</td>
 +
    </tr>
 +
</table>
 +
<div class="caption" style="background-color:#ff6363;">Emplacement</div><!-- Séparateur -->
 +
<table width="100%" border="0" style="border-spacing: 0 1em;">
 +
    <tr>
 +
      <td width="33%"><font color="#fff"><b>À</b></font></td>
 +
      <td width="66%">[[{{{à|}}}]]</td>
 +
    </tr>
 +
    {{#if: {{{lieux|}}} | <tr>
 +
      <td width="33%"><font color="#fff"><b>À visiter</b></font></td>
 +
      <td width="66%">{{{lieux|}}}</td>
 +
    </tr> | }}
 +
</table>
 
  | presenter =
 
  | presenter =
 
<!---------------------- EXEMPLE ---------------------->
 
<!---------------------- EXEMPLE ---------------------->

Version du 9 septembre 2021 à 15:19

Infobox