Différences entre versions de « Modèle:Infobox weapon »
Sauter à la navigation
Sauter à la recherche
m (Remplacement de texte — « og:image= » par « image= ») |
(update per EN wiki) |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
|colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}} | |colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}} | ||
Ligne 7 : | Ligne 7 : | ||
|colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | |colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | ||
|- | |- | ||
− | |colspan="2" id="infoboxsection" style="text-align: center;"|Information | + | |colspan="2" id="infoboxsection" style="text-align: center;"|Information<!-- |
− | |- | + | -->{{#if:{{{type|}}} | <nowiki /> |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}}Type : | |
− | + | {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{type|}}}}} | |
− | + | |sword|épée=Épée | |
− | + | |dagger|dague=Dague | |
− | |- | + | |club|gourdin=Gourdin |
− | + | |slingshot|lance-pierre=Lance-pierre | |
− | + | |#default={{ucfirst:{{{type|}}}}} }} }}<!-- | |
− | + | -->{{#if:{{{level|}}} | <nowiki /> | |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}}Niveau : | |
− | {{#if:{{{stats|}}}|<nowiki/> | + | {{!}}id="infoboxdetail"{{!}}{{{level|}}} |}}<!-- |
+ | -->{{#if:{{{source|}}} | <nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Source : | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{source|}}} |}}<!-- | ||
+ | -->{{#if:{{{damage|}}} | <nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Dégâts : | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{damage|}}} |}}<!-- | ||
+ | -->{{#if:{{{csc|}}} | <nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Chances de coup critique : | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{csc|}}} |}}<!-- | ||
+ | -->{{#if:{{{stats|}}}| <nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Stats : | {{!}}id="infoboxsection"{{!}}Stats : | ||
Ligne 33 : | Ligne 46 : | ||
|id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Non vendu}}}|Non vendu}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|N/A }} }} | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Non vendu}}}|Non vendu}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|N/A }} }} | ||
|- | |- | ||
− | |} | + | |}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
− | </div>{{InfoboxSEO | ||
− | |||
− | }}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
Version actuelle datée du 4 novembre 2021 à 17:01
Voir la page de documentation en anglais pour plus d'informations sur ce modèle.
Utiliser
Ce modèle peut être utilisé en entrant ce qui suit dans une page pertinente.
{{Infobox weapon}}
Produit ...
Infobox weapon | |
[[File:|center]] | |
Information | |
Guilde des aventuriers | |
Prix d'achat : | N/A |
Prix de vente : | N/A |