Modèle:Fiche Ecrit RP Perso : Différence entre versions

De Wiki'speria
Aller à : navigation, rechercher
m (Version 2 du Modèle:Fiche Livre Perso - MAJ template)
m (Ajout de plusieurs catégories + équilibrage Auteur/coauteur)
Ligne 2 : Ligne 2 :
 
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:Affichage}}|{Titre}|[[{{{%PAGE%}}}{{!}}{{{%PAGE%}}}]]}}}}<!--
 
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:Affichage}}|{Titre}|[[{{{%PAGE%}}}{{!}}{{{%PAGE%}}}]]}}}}<!--
  
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{Auteur}|[[Utilisateur:{{{Auteur|}}}|{{{Auteur|}}}]]}}}}<!--
+
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{Auteur}|[[Utilisateur:{{{Auteur|}}}|{{{Auteur|}}}]]{{#if:{{{CoAuteur|}}}| et {{{CoAuteur|}}}|}}}}}}<!--
  
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{CoAuteur}|[[Utilisateur:{{{CoAuteur|}}}|{{{CoAuteur|}}}]]}}}}<!--
+
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{Catégorie}|[[Categories:{{{Catégorie|}}}|{{{Catégorie|}}}]]{{#if:{{{Catégorie2|}}}|, {{{Catégorie2|}}}|}}{{#if:{{{Catégorie3|}}}|, {{{Catégorie3|}}}|}}{{#if:{{{Catégorie4|}}}|, {{{Catégorie4|}}}|}}}}}}<!--
 
 
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{Catégorie}|[[Categories:{{{Catégorie|}}}|{{{Catégorie|}}}]]}}}}<!--
 
  
 
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{Statut}|[[Categories:{{{Statut|}}}|{{{Statut|}}}]]}}}}<!--
 
-->{{#dplvar:set    |AffichageTmp|{{#replace:{{#dplvar:AffichageTmp}}|{Statut}|[[Categories:{{{Statut|}}}|{{{Statut|}}}]]}}}}<!--

Version du 11 février 2020 à 11:55

Ce modèle est utilisé par la page Modèle:Liste Ecrit RP.