« 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>
{| class="infobox" style="float:right; width:300px; margin:15px 0 15px 15px; background:#ffffff; border:1px solid #cdd8f0; border-radius:10px; box-shadow:0 0 6px rgba(0,0,0,0.1); font-size:13px; line-height:1.4; overflow:hidden;"
<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;">
|-
  <div style="background:#2563eb; color:white; text-align:center; padding:8px; border-top-left-radius:12px; border-top-right-radius:12px; font-weight:bold;">
! colspan="2" style="background:#87b5ff; color:white; text-align:center; padding:8px; font-size:15px; border-top-left-radius:10px; border-top-right-radius:10px;" | {{{nom|{{PAGENAME}}}}}
    {{{nom|{{PAGENAME}}}}}
|-
  </div>
| colspan="2" style="text-align:center; padding:10px;" | [[Fichier:WLG2_Item_{{PAGENAME}}.png|x150px]]
  <div style="text-align:center; background:white; padding:10px;">
|-
    <img src="https://wiki.example.com/wiki/Fichier:WLG2_Item_{{PAGENAME}}.png" style="width:150px;">
| colspan="2" style="padding:8px 12px; text-align:justify;" | {{#if: {{{description|}}} | {{{description|}}} }}
  </div>
|-
  <div style="padding:10px; font-size:12px; line-height:1.4em;">
! colspan="2" style="background:#87b5ff; color:white; text-align:center; padding:6px; font-size:14px;" | Informations
    {{{description|}}}
|-
  </div>
! style="background:#eef3fa; text-align:left; padding:6px 10px; width:35%;" | Type
  <div style="background:#e5e7eb; padding:6px 10px; font-weight:bold; text-align:center;">
| style="padding:6px 10px;" | {{#if: {{{type|}}} | [[WLG2:{{{type}}}|{{{type}}}]] | - }}
    Informations
|-
  </div>
{{#if: {{{atelier|}}} |
  <table style="width:100%; border-collapse:collapse; font-size:12px;">
! style="background:#eef3fa; text-align:left; padding:6px 10px;" | Atelier
    <tr>
| style="padding:6px 10px;" | [[Fichier:WLG2_Atelier_{{{atelier}}}.png|24px|link=WLG2:Atelier {{{atelier}}}]] [[WLG2:Atelier {{{atelier}}}|Atelier {{{atelier}}}]]
      <td style="background:#f3f4f6; width:35%; padding:6px;">Type</td>
|-
      <td style="background:white; padding:6px;">[[WLG2:{{{type}}}|{{{type}}}]]</td>
}}
    </tr>
{{#if: {{{recette|}}} |
    {{{atelier|
! style="background:#eef3fa; text-align:left; padding:6px 10px;" | Recette
    <tr>
| style="padding:6px 10px;" | [[Fichier:WLG2_Item_Recette.png|24px|link=WLG2:{{{recette}}}]] [[WLG2:{{{recette}}}|{{{recette}}}]]
      <td style="background:#f3f4f6; padding:6px;">Craft</td>
|-
      <td style="background:white; padding:6px;">
}}
        <img src="https://wiki.example.com/wiki/Fichier:WLG2_Atelier_{{{atelier}}}.png" width="24">
| colspan="2" style="background:#87b5ff; height:6px; border-bottom-left-radius:10px; border-bottom-right-radius:10px;" |
        [[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

   RessourceWlg2
   Informations
Type [[WLG2:{{{type}}}|{{{type}}}]]
Craft
       <img src="https://wiki.example.com/wiki/Fichier:WLG2_Atelier_{{{atelier}}}.png" width="24">
       [[WLG2:Atelier {{{atelier}}}|Atelier {{{atelier}}}]]
Recette
       <img src="https://wiki.example.com/wiki/Fichier:WLG2_Item_Recette.png" width="24">
       [[WLG2:{{{recette}}}|{{{recette}}}]]


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         = 
}}