Bureaucrates, Vérificateurs IP, emailconfirmed, Administrateurs d’interface, Patrouilleurs, Administrateurs système, Administrateurs (MediaWiki Sémantique), Conservateurs (Médiawiki Sémantique), Administrateurs
55 954
modifications
Ligne 3 : | Ligne 3 : | ||
PALETTES | PALETTES | ||
-->{{ #ifeq: "{{{type|}}}" | "Pièce d'armure" | {{Navigation Armure {{Article Profession|{{{profession}}}}}}} | {{Navigation {{{type}}}}} }}<!-- | |||
-->{{ #ifeq: "{{{type|}}}" | "Pièce d'armure" | [[Catégorie:Pièce d'armure pour {{Minuscule Profession|{{{profession}}}}}]] |}}<!-- | |||
-->{{ #if: {{{type2|}}} | {{Navigation {{{type2}}}}} |}}<!-- | |||
SMW | SMW | ||
Ligne 13 : | Ligne 15 : | ||
INFOBOX | INFOBOX | ||
--> | --><table class="infobox {{{profession}}}" style="margin: 0 0 0.5em 1em; border: 1px solid silver; float: right; font-size: 90%; text-align: left; width: 340px;" cellpadding="5"> | ||
<tr> | |||
<th colspan="2" class="infobox-color-{{{profession|defaut}}} rarete-{{lc:{{{rarete|Blanc}}}}}" style="font-size: 110%; text-align: center;"> | |||
{{#if:{{{image | {{ #ifeq: "{{{type}}}" | "Objet interactif" | '''{{{nom_infobox|{{PAGENAME}}}}}''' | | ||
< | {{ #ifeq: "{{{type}}}" | "Paquet" | '''{{{nom_infobox|{{PAGENAME}}}}}''' | | ||
<div style="position: relative"> | |||
{{ | <div style="position: absolute; left: 2px; top: 2px;">[[Fichier:{{{nom|{{PAGENAME}}}}}.png|{{{nom_infobox|{{PAGENAME}}}}}]]</div> | ||
<div style="width: 70px; float: left;"> </div> | |||
<div style="text-align: top; width: 250px; float: right;">'''{{{nom_infobox|{{PAGENAME}}}}}'''</div> | |||
</div> | |||
}} | |||
}} | |||
</th> | |||
</tr> | |||
{{ #if: {{{image|}}} | | |||
<tr valign="top"> | |||
<td colspan="2" style="text-align: center; padding: 1px 0 1px 0;">[[Fichier:{{{nom|{{PAGENAME}}}}}-screen.jpg|340px|{{{nom_infobox|{{PAGENAME}}}}}]]</th> | |||
<td style="height: 48px;"> </td> | |||
</tr> | |||
}}<!-- | |||
-->{{ #if: {{{build|}}} | | |||
<tr valign="top"> | |||
<td colspan="3" style="text-align: center; height: 70px; vertical-align: middle; background-color: #FFC;"><!-- | |||
-->{{{build}}}<!-- | |||
-->{{ #if: {{{build1|}}} |<br>{{{build1}}} |}}<!-- | |||
-->{{ #if: {{{build2|}}} |<br>{{{build2}}} |}}<!-- | |||
-->{{ #if: {{{build3|}}} |<br>{{{build3}}} |}} | |||
</td> | |||
</tr> | |||
}} | }} | ||
<tr valign="top"> | |||
{{ | <th class="infobox-color-{{{profession|defaut}}}">[[Objet|Type]]</th> | ||
< | <td>'''[[Est de type::{{{type}}}]]''' [[Catégorie:{{{type}}}]]{{ #if:{{{type2|}}}|<br>'''[[Est de type::{{{type2}}}]]''' [[Catégorie:{{{type2}}}]]| }}</td> | ||
}} | </tr> | ||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Empilement|Empilable]]</th> | |||
<td>'''[[Empilable::{{{empilable|Non}}}]]'''</td> | |||
</tr> | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Personnalisé]]</th> | |||
| | <td>'''[[Personnalisable::{{{personnalisation|Non}}}]]'''</td> | ||
</tr> | |||
<tr valign="top"> | |||
{{ | <th class="infobox-color-{{{profession|defaut}}}">[[Campagne]]</th> | ||
<td>'''[[Disponible dans la campagne::{{{campagne|Core}}}]]'''{{ #if: {{{campagne2|}}} |<br>'''[[Disponible dans la campagne::{{{campagne2}}}]]'''| }}{{ #if: {{{campagne3|}}} |<br>'''[[Disponible dans la campagne::{{{campagne3}}}]]'''| }}</td> | |||
<!-- -->{{ | </tr> | ||
{{ | |||
< | {{ #if: {{{skin|}}} | | ||
<!-- -->{{ | <tr valign="top"> | ||
<th class="infobox-color-{{{profession|defaut}}}">Apparence</th> | |||
| | <td colspan="2">{{{skin}}}</td> | ||
</tr> | |||
< | }}<!-- | ||
<!-- -->{{ | -->{{ #if: {{{evenement|}}} | | ||
}} | <tr valign="top"> | ||
<th class="infobox-color-{{{profession|defaut}}}">[[Evènement]]</th> | |||
<td colspan="2">{{{evenement}}}</td> | |||
< | </tr> | ||
<!-- -->{{ | }}<!-- | ||
-->{{ #if: {{{valeur|}}} | | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">Valeur</th> | |||
< | <td colspan="2">{{prix|{{{valeur}}}}} {{#set:Se vend={{{valeur}}}|+sep=-}}</td> | ||
</tr> | |||
}} | }}<!-- | ||
-->{{ #if: {{{prix|}}} | | |||
{{ # | <tr valign="top"> | ||
<th class="infobox-color-{{{profession|defaut}}}">Prix</th> | |||
<td colspan="2">{{prix|{{{prix}}}}} {{#set:S'achète={{{prix}}}}}</td> | |||
}} | </tr> | ||
| | }}<!-- | ||
-->{{ #ifeq: "{{{type}}}" | "Objet de quête" | | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Quête]]</th> | |||
<td colspan="2">{{{quete|<span class="plainlinksred">[{{SERVER}}{{localurl:{{PAGENAMEE}}|action=edit}} → éditer ←]</span>}}}</td> | |||
</tr> | |||
}}<!-- | |||
-->{{ #ifeq: "{{{type2}}}" | "Objet de quête" | | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Quête]]</th> | |||
<td colspan="2">{{{quete|<span class="plainlinksred">[{{SERVER}}{{localurl:{{PAGENAMEE}}|action=edit}} → éditer ←]</span>}}}</td> | |||
</tr> | |||
}}<!-- | |||
-->{{ #if: {{{se_recycle_en1|}}} | | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Recyclage|Produit de recyclage]]</th> | |||
<td colspan="2">[[Fichier:{{{se_recycle_en1}}}.png|22px]] [[{{{se_recycle_en1|}}}]] ''({{{nombre1}}})'' {{#set:Se recycle en={{{se_recycle_en1|}}}}}[[Catégorie:{{{se_recycle_en1}}} (Recyclage)]]{{ #if: {{{se_recycle_en2|}}} |<br>[[Fichier:{{{se_recycle_en2}}}.png|22px]] [[{{{se_recycle_en2}}}]] ''({{{nombre2}}})'' {{#set:Se recycle en={{{se_recycle_en2}}}}}[[Catégorie:{{{se_recycle_en2}}} (Recyclage)]]|}}{{ #if: {{{se_recycle_en3|}}} |<br>[[Fichier:{{{se_recycle_en3}}}.png|22px]] [[{{{se_recycle_en3}}}]] ''({{{nombre3}}})'' {{#set:Se recycle en={{{se_recycle_en3}}}}}[[Catégorie:{{{se_recycle_en3}}} (Recyclage)]]|}}{{ #if: {{{se_recycle_en4|}}} |<br>[[Fichier:{{{se_recycle_en4}}}.png|22px]] [[{{{se_recycle_en4}}}]] ''({{{nombre4}}})'' {{#set:Se recycle en={{{se_recycle_en4}}}}}[[Catégorie:{{{se_recycle_en4}}} (Recyclage)]]|}}{{ #if: {{{se_recycle_en5|}}} |<br>[[Fichier:{{{se_recycle_en5}}}.png|22px]] [[{{{se_recycle_en5}}}]] ''({{{nombre5}}})'' {{#set:Se recycle en={{{se_recycle_en5}}}}}[[Catégorie:{{{se_recycle_en5}}} (Recyclage)]]|}}{{ #if: {{{se_recycle_en6|}}} |<br>[[Fichier:{{{se_recycle_en6}}}.png|22px]] [[{{{se_recycle_en6}}}]] ''({{{nombre6}}})'' {{#set:Se recycle en={{{se_recycle_en6}}}}}[[Catégorie:{{{se_recycle_en6}}} (Recyclage)]]|}}</td> | |||
</tr> | |||
}}<!-- | |||
-->{{ #if: {{{contenance|}}} | | |||
< | <tr valign="top"> | ||
<!-- | <th class="infobox-color-{{{profession|defaut}}}">Contenance</th> | ||
<td colspan="2">[[Contenance::{{{contenance}}}]]</td> | |||
</tr> | |||
}}<!-- | |||
-->{{ #if: {{{nombre_utilisation|}}} | | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">Charge</th> | |||
<td colspan="2">[[Nombre d'utilisation::{{{nombre_utilisation}}}]]</td> | |||
</tr> | |||
}}<!-- | |||
-->{{ #ifeq: "{{{type}}}" | "Alcool" | | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Alcool|Degré d'alcool]]</th> | |||
<td colspan="2">[[Degré d'alcool::{{{degre_alcool}}}]]°</td> | |||
</tr> | |||
<tr valign="top"> | |||
<th class="infobox-color-{{{profession|defaut}}}">[[Alcool|Durée de l'effet]]</th> | |||
<td colspan="2">[[Durée d'alcool::{{{duree_alcool}}}]] minutes</td> | |||
</tr> | |||
}}<!-- | |||
</table><noinclude>__NOEDITSECTION__ | |||
== Description == | == Description == | ||
Ce modèle sert à décrire un [[objet]]. | Ce modèle sert à décrire un [[objet]]. | ||
== Syntaxe == | == Syntaxe == | ||
Ligne 123 : | Ligne 164 : | ||
}} | }} | ||
</pre> | </pre> | ||
== Paramètres == | == Paramètres == | ||
Ligne 146 : | Ligne 186 : | ||
; duree_alcool : Indique la durée des effets de cet alcool en minutes ''(ex : 1).'' | ; duree_alcool : Indique la durée des effets de cet alcool en minutes ''(ex : 1).'' | ||
; build1...2 : Optionnel. Le build complet sous la forme gwbbcode, pour les polymocks notamment ''(ex : [nobb][Aura de rétablissement][Boule de feu][Vide][/nobb])''. | ; build1...2 : Optionnel. Le build complet sous la forme gwbbcode, pour les polymocks notamment ''(ex : [nobb][Aura de rétablissement][Boule de feu][Vide][/nobb])''. | ||
== Exemples == | == Exemples == |
modifications