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

De Eliatropédie
Aucun résumé des modifications
Rav (discussion | contributions)
Aucun résumé des modifications
 
(26 versions intermédiaires par 3 utilisateurs non affichées)
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="margin:auto; width:70%; background:#4b6eaf; border:2px solid #4b6eaf; font-family:'Segoe UI',sans-serif; font-size:13px; color:#1e3a8a;"
  <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:#4b6eaf; color:white; padding:10px;font-size:16px; font-weight:bold; text-shadow:0 1px 2px rgba(0,0,0,0.3); text-align:center;" | {{{nom|{{PAGENAME}}}}}
  </div>
|-
  <div style="text-align:center; background:white; padding:10px;">
| style="width:40%; text-align:center; background:white; padding:10px; border-right:1px solid #dbeafe;" | [[Fichier:{{{image|WLG2_Item_{{PAGENAME}}.png}}}|x160px]]
    <img src="https://wiki.example.com/wiki/Fichier:WLG2_Item_{{PAGENAME}}.png" style="width:150px;">
| style="width:60%; background:white; padding:10px 14px; text-align:justify; font-size:12px; line-height:1.5em;" | {{#if: {{{description|}}} | {{{description|}}} }}
  </div>
|-
  <div style="padding:10px; font-size:12px; line-height:1.4em;">
! colspan=2 style="background:#4b6eaf; color:white; padding:6px; font-size:13px; text-transform:uppercase; letter-spacing:1px; border-top:1px solid #bfd3fa; text-align:center;" | Informations
    {{{description|}}}
|-
  </div>
{{#if: {{{type|}}} |
  <div style="background:#e5e7eb; padding:6px 10px; font-weight:bold; text-align:center;">
{{!!!}} style="background:#eff5ff; width:35%; padding:6px; font-weight:bold;" {{!}} Type :
    Informations
{{!}} style="background:white; padding:6px; text-align:center;" {{!}} [[WLG2:{{{type}}}|{{{type}}}]]
  </div>
| }}
  <table style="width:100%; border-collapse:collapse; font-size:12px;">
|-
    <tr>
{{#if: {{{atelier|}}} |
      <td style="background:#f3f4f6; width:35%; padding:6px;">Type</td>
{{!!!}} style="background:#eff5ff; padding:6px; font-weight:bold;" {{!}} '''Craft '''
      <td style="background:white; padding:6px;">[[WLG2:{{{type}}}|{{{type}}}]]</td>
{{!}} style="background:white; padding:6px; text-align:center;" {{!}}  [[Fichier:WLG2_Atelier_{{{atelier}}}.png|link=WLG2:Atelier {{{atelier}}}|24px]] [[WLG2:Atelier {{{atelier}}}|Atelier {{{atelier}}}]]
    </tr>
| }}
    {{{atelier|
|-
    <tr>
{{#if: {{{recette|}}} |
      <td style="background:#f3f4f6; padding:6px;">Craft</td>
{{!!!}} style="background:#eff5ff; padding:6px; font-weight:bold;" {{!}} '''Recette '''
      <td style="background:white; padding:6px;">
{{!}} style="background:white; padding:6px; text-align:center;" {{!}}  [[Fichier:WLG2_Item_Recette.png|link=WLG2:{{{recette}}}|24px]] [[WLG2:{{{recette}}}|{{{recette}}}]]
        <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>
== Documentation ==
== Documentation ==

Dernière version du 21 avril 2026 à 22:37

RessourceWlg2
Fichier:WLG2 Item RessourceWlg2.png
Informations

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