« Modèle:Traduction/Référence » : différence entre les versions

Contenu supprimé Contenu ajouté
Rémih (discussion | contributions)
mauvaise fonction parseur : ifexist -> ifexpr
harmonisation du rendu si le type est précisé ou non + modification de l'affichage "voir la liste des auteurs". Cf. WP:DIPP du 16 novembre 2012 à 14:35
Ligne 5 :
| <span style="padding-left: 1.2em;">{{{{{lang1}}}}}/{{{{{lang2}}}}} Cet article est partiellement ou en totalité issu des articles intitulés en {{Nom langue|{{{lang1}}}}} « <span class="plainlinks" lang="{{{lang1}}}"><!--
-->{{#if: {{{projet1|}}}
| [[:{{{projet1}}}:{{{lang1}}}:{{{art1}}}|{{{art1}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet1}}}:{{{lang1}}}:{{{art1}}}|action=history}} voir la liste des auteurs]</span>)</small>
| [{{fullurl:{{{lang1}}}:{{{art1}}}|oldid={{{id1|cur}}}}} {{{art1}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{lang1}}}:{{{art1}}}|action=history}} voir la liste des auteurs]</span>)</small>
}}<!--
--> et en {{Nom langue|{{{lang2}}}}} « <span class="plainlinks" lang="{{{lang2}}}"><!--
-->{{#if: {{{projet2|}}}
| [[:{{{projet2}}}:{{{lang2}}}:{{{art2}}}|{{{art2}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet2}}}:{{{lang2}}}:{{{art2}}}|action=history}} voir la liste des auteurs]</span>)</small>
| [{{fullurl:{{{lang2}}}:{{{art2}}}|oldid={{{id2|cur}}}}} {{{art2}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{lang2}}}:{{{art2}}}|action=history}} voir la liste des auteurs]</span>)</small>
}}
| * {{{{{lang1}}}}}/{{{{{lang2}}}}} Cet article est partiellement ou en totalité issu des articles intitulés en {{Nom langue|{{{lang1}}}}} « <span class="plainlinks" lang="{{{lang1}}}"><!--
-->{{#if: {{{projet1|}}}
| [[:{{{projet1}}}:{{{lang1}}}:{{{art1}}}|{{{art1}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet1}}}:{{{lang1}}}:{{{art1}}}|action=history}} voir la liste des auteurs]</span>)</small>
| [{{fullurl:{{{lang1}}}:{{{art1}}}|oldid={{{id1|cur}}}}} {{{art1}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{lang1}}}:{{{art1}}}|action=history}} voir la liste des auteurs]</span>)</small>
}}<!--
--> et en {{Nom langue|{{{lang2}}}}} « <span class="plainlinks" lang="{{{lang2}}}"><!--
-->{{#if: {{{projet2|}}}
| [[:{{{projet2}}}:{{{lang2}}}:{{{art2}}}|{{{art2}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet2}}}:{{{lang2}}}:{{{art2}}}|action=history}} voir la liste des auteurs]</span>)</small>
| [{{fullurl:{{{lang2}}}:{{{art2}}}|oldid={{{id2|cur}}}}} {{{art2}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{lang2}}}:{{{art2}}}|action=history}} voir la liste des auteurs]</span>)</small>
}}
}}<noinclude><!--ancienne version--></noinclude>
| {{#if: {{{type|}}}
| <span style="padding-left: 1.2em;">{{{{{1}}}}} Cet article est partiellement ou en totalité issu de l’article ende {{Nom langue|{{{1}}}}} intitulé « <span class="plainlinks" lang="{{{1}}}"><!--
-->{{#if: {{{projet|}}}
| {{{projet}}}
| [[:{{{projet}}}:{{{1}}}:{{{2}}}|{{{2}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet}}}:{{{1}}}:{{{2}}}|action=history}} la liste des auteurs]</span>)</small>
| Wikipédia
| [{{fullurl:{{{1}}}:{{{2}}}|oldid={{{3|cur}}}}} {{{2}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{1}}}:{{{2}}}|action=history}} la liste des auteurs]</span>)</small>
}}<!--
--> en {{Nom langue|{{{1}}}}} intitulé « <span class="plainlinks" lang="{{{1}}}"><!--
-->{{#if: {{{projet|}}}
| [[:{{{projet}}}:{{{1}}}:{{{2}}}|{{{2}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet}}}:{{{1}}}:{{{2}}}|action=history}} voir la liste des auteurs]</span>)</small>
| [{{fullurl:{{{1}}}:{{{2}}}|oldid={{{3|cur}}}}} {{{2}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{1}}}:{{{2}}}|action=history}} voir la liste des auteurs]</span>)</small>
}}
| * {{{{{1}}}}} Cet article est partiellement ou en totalité issu de l’article de <!--
Ligne 37 ⟶ 42 :
--> en {{Nom langue|{{{1}}}}} intitulé « <span class="plainlinks" lang="{{{1}}}"><!--
-->{{#if: {{{projet|}}}
| [[:{{{projet}}}:{{{1}}}:{{{2}}}|{{{2}}}]]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{projet}}}:{{{1}}}:{{{2}}}|action=history}} voir la liste des auteurs]</span>)</small>
| [{{fullurl:{{{1}}}:{{{2}}}|oldid={{{3|cur}}}}} {{{2}}}]</span> » <small>(voir <span class="plainlinks">[{{fullurl:{{{1}}}:{{{2}}}|action=history}} voir la liste des auteurs]</span>)</small>
}}
}}