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

De MHWiki
Aucun résumé des modifications
Aucun résumé des modifications
Balise : Révoqué
Ligne 2 : Ligne 2 :
<table class="infobox" cellpadding="4" style="width: 22em;  font-size: 90%; float:right; border: 1px solid #AAAAAA;  margin-left:0.5em">
<table class="infobox" cellpadding="4" style="width: 22em;  font-size: 90%; float:right; border: 1px solid #AAAAAA;  margin-left:0.5em">
   <tr>
   <tr>
     <td><span style="float:right;">{{MetaInline|{{PAGENAME}}}}</span></td>
     <td><span style="float:right;">{{#ifexist:Data:{{PAGENAME}}|{{Data|{{PAGENAME}}|name|Unknown name}} {{#ifeq:{{Data|{{PAGENAME}}|image|}}|false||[[Image:{{Data|{{PAGENAME}}|image|item_broken.gif}}|top]]}}|No Data}}</span></td>
   <tr>
   <tr>
     <td>{{Data|{{PAGENAME}}|description|}}</td>
     <td>{{Data|{{PAGENAME}}|description|}}</td>

Version du 25 novembre 2023 à 21:59

Ce modèle permet d'afficher un élement (objet, chantier, ...) sous la forme d'un encadré situé en haut à droite de sa page.