« Modèle:RessourceWlg2 » : différence entre les versions

De Eliatropédie
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<onlyinclude>
<onlyinclude>
<div style="float:right; width:300px; background:#f9fafb; border:1px solid #ddd; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.1); margin:0 0 15px 15px; font-family:Segoe UI, sans-serif; font-size:13px;">
{| class="wikitable infobox" style="float:right; width:300px; margin: 0 0 15px 15px; background:#f9f9f9; border:1px solid #ccc; border-radius:10px; box-shadow:0 0 6px rgba(0,0,0,0.1); font-size:13px;"
  <div style="background:#2563eb; color:white; text-align:center; padding:8px; border-top-left-radius:12px; border-top-right-radius:12px; font-weight:bold;">
|-
    {{{nom|{{PAGENAME}}}}}
! colspan=2 style="background:#3b82f6; color:white; text-align:center; font-size:16px; padding:6px; border-top-left-radius:10px; border-top-right-radius:10px;" | {{{nom|{{PAGENAME}}}}}
  </div>
|-
  <div style="text-align:center; background:white; padding:10px;">
! colspan=2 style="text-align:center; background:white; padding:10px;" | [[Fichier:WLG2_Item_{{PAGENAME}}.png|x150px]]
    <img src="https://wiki.example.com/wiki/Fichier:WLG2_Item_{{PAGENAME}}.png" style="width:150px;">
|-
  </div>
| colspan=2 style="text-align:justify; padding:8px 12px; font-size:12px; line-height:1.4em; background:white;" | {{#if: {{{description|}}} | {{{description|}}} }}
  <div style="padding:10px; font-size:12px; line-height:1.4em;">
|-
    {{{description|}}}
! colspan=2 style="background:#e5e7eb; color:#111; text-align:center; padding:4px; font-weight:bold;" | Informations
  </div>
|-
  <div style="background:#e5e7eb; padding:6px 10px; font-weight:bold; text-align:center;">
! style="background:#f3f4f6; width:35%;" | Type
    Informations
| style="background:white;" | {{#if: {{{type|}}} | [[WLG2:{{{type}}}|{{{type}}}]] }}
  </div>
|-
  <table style="width:100%; border-collapse:collapse; font-size:12px;">
{{#if: {{{atelier|}}} |
    <tr>
! style="background:#f3f4f6;" | Craft
      <td style="background:#f3f4f6; width:35%; padding:6px;">Type</td>
| style="background:white;" | [[Fichier:WLG2_Atelier_{{{atelier}}}.png|link=WLG2:Atelier {{{atelier}}}|24px]] [[WLG2:Atelier {{{atelier}}}|Atelier {{{atelier}}}]]
      <td style="background:white; padding:6px;">[[WLG2:{{{type}}}|{{{type}}}]]</td>
|-
    </tr>
}}
    {{{atelier|
{{#if: {{{recette|}}} |
    <tr>
! style="background:#f3f4f6;" | Recette
      <td style="background:#f3f4f6; padding:6px;">Craft</td>
| style="background:white;" | [[Fichier:WLG2_Item_Recette.png|link=WLG2:{{{recette}}}|24px]] [[WLG2:{{{recette}}}|{{{recette}}}]]
      <td style="background:white; padding:6px;">
|-
        <img src="https://wiki.example.com/wiki/Fichier:WLG2_Atelier_{{{atelier}}}.png" width="24">
}}
        [[WLG2:Atelier {{{atelier}}}|Atelier {{{atelier}}}]]
|}
      </td>
    </tr>
    }}}
    {{{recette|
    <tr>
      <td style="background:#f3f4f6; padding:6px;">Recette</td>
      <td style="background:white; padding:6px;">
        <img src="https://wiki.example.com/wiki/Fichier:WLG2_Item_Recette.png" width="24">
        [[WLG2:{{{recette}}}|{{{recette}}}]]
      </td>
    </tr>
    }}}
  </table>
</div>
 


</onlyinclude>
</onlyinclude>

Version du 11 novembre 2025 à 12:33

Craft Recette
RessourceWlg2
Fichier:WLG2 Item RessourceWlg2.png
Informations
Type


Documentation

{{RessourceWlg2
| description     = Description de la ressource
| image           = Lien de l'image
| type            = Type de ressources (Tenue | Ressources Dropables | Ressources Récoltables | Consommables | Runes | Couleurs | Émotes )
| atelier         = Indique si la ressource se confectionne dans un atelier ( Couture | Cuisine | Roublard | Couleurs)
| recette         = Nom de la recette
}}

Modèle vierge

{{RessourceWlg2
| description     = 
| image           = 
| type            = 
| atelier         = 
| recette         = 
}}