Différences entre versions de « Modèle:Infobox villager »
Sauter à la navigation
Sauter à la recherche
(Initial template based on EN template) |
|||
Ligne 1 : | Ligne 1 : | ||
− | + | <includeonly>{{#switch: {{NAMESPACE}} | |
|{{ns:User}}|{{ns:User talk}}= | |{{ns:User}}|{{ns:User talk}}= | ||
|#default=<div id="infoboxborder"> | |#default=<div id="infoboxborder"> | ||
Ligne 9 : | Ligne 9 : | ||
{{!}}colspan="2" id="infoboxsection" style="text-align: center;"{{!}}Information | {{!}}colspan="2" id="infoboxsection" style="text-align: center;"{{!}}Information | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Anniversaire : |
{{!}}id="infoboxdetail" class="no-wrap"{{!}}{{{birthday|N/A}}} | {{!}}id="infoboxdetail" class="no-wrap"{{!}}{{{birthday|N/A}}} | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Vit dans : |
{{!}}id="infoboxdetail"{{!}}{{#if:{{{location|}}}|[[{{{location|N/A}}}]]|N/A}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{location|}}}|[[{{{location|N/A}}}]]|N/A}} | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Adresse : |
{{!}}id="infoboxdetail"{{!}}{{{address|N/A}}} | {{!}}id="infoboxdetail"{{!}}{{{address|N/A}}} | ||
{{#if:{{{family|}}}| | {{#if:{{{family|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Famille : |
{{!}}id="infoboxdetail"{{!}}{{{family|N/A}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{family|N/A}}}|}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{friends|}}}| | {{#if:{{{friends|}}}| | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Copains/Copines : |
{{!}}id="infoboxdetail"{{!}}{{{friends|N/A}}} | {{!}}id="infoboxdetail"{{!}}{{{friends|N/A}}} | ||
{{!}}- | {{!}}- | ||
|}} | |}} | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Mariage : |
− | {{!}}id="infoboxdetail"{{!}}{{{marriage| | + | {{!}}id="infoboxdetail"{{!}}{{{marriage|Non}}} |
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Meilleurs cadeaux : |
{{!}}id="infoboxdetail"{{!}}{{{favorites|}}} | {{!}}id="infoboxdetail"{{!}}{{{favorites|}}} | ||
{{!}}- | {{!}}- |
Version du 6 mars 2019 à 23:15
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 villager}}
Produit ...
Infobox villager | |
Information | |
Anniversaire : | N/A |
Vit dans : | N/A |
Adresse : | N/A |
Mariage : | Non |
Meilleurs cadeaux : |
Erreur : {{#seo:}} doit contenir au moins un attribut non-vide.