« Modèle:Utilisateur » : différence entre les versions
Jump to navigation
Jump to search
(Page créée avec « <includeonly>{{#ifeq: {{{lang|fr}}} | fr | |{{{{{lang}}}}} }}[[:{{{lang|fr}}}:User:{{{1}}}|<span title="page utilisateur du compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{l… ») |
Aucun résumé des modifications |
||
| (8 versions intermédiaires par un autre utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
<includeonly>[[Utilisateur:{{{1}}}|<span title="Page utilisateur de {{{1|}}}">{{{1}}}</span>]] <!-- |
|||
<includeonly>{{#ifeq: {{{lang|fr}}} | fr | |{{{{{lang}}}}} }}[[:{{{lang|fr}}}:User:{{{1}}}|<span title="page utilisateur du compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">{{{1}}}</span>]] <small class="plainlinks">([[:{{{lang|fr}}}:User Talk:{{{1}}}|<span title="page de discussion du compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">d</span>]] · [[:{{{lang|fr}}}:Special:Contributions/{{{1}}}|<span title="contributions du compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">c</span>]]{{#ifeq:{{{block|}}} | non | | · {{#if:{{{lang|}}}||<font color="002bb8">}}[{{fullurl:{{{lang|fr}}}:Special:Log|type=block&page=User:{{urlencode:{{{1}}}}}}} <span title="blocages du compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">b</span>]{{#if:{{{lang|}}}||</font>}}}}{{#if:{{{admin|}}}| <nowiki>|</nowiki> {{#if:{{{lang|}}}||<font color="002bb8">}}[{{fullurl:{{{lang|fr}}}:Special:Log/block|user={{urlencode:{{{User|{{{1|Exemple}}}}}}}}}} <span title="blocages effectués par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">B</span>]{{#if:{{{lang|}}}||</font>}} · {{#if:{{{lang|}}}||<font color="002bb8">}}[{{fullurl:{{{lang|fr}}}:Special:Log/protect|user={{urlencode:{{{User|{{{1|Exemple}}}}}}}}}} <span title="protections effectuées par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">P</span>]{{#if:{{{lang|}}}||</font>}} · {{#if:{{{lang|}}}||<font color="002bb8">}}[{{fullurl:{{{lang|fr}}}:Special:Log/delete|user={{urlencode:{{{User|{{{1|Exemple}}}}}}}}}} <span title="suppressions effectuées par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WP:{{{lang|}}}}}">S</span>]{{#if:{{{lang|}}}||</font>}}}})</small></includeonly> |
|||
--><span class="plainlinks" style="font-size: 80%;"> <!-- |
|||
-->([[Discussion Utilisateur:{{{1}}}|<span title="Page de discussion de {{{1|}}}">d</span>]] <!-- |
|||
-->· [[Special:Contributions/{{{1}}}|<span title="Contributions de {{{1|}}}">c</span>]]<!-- |
|||
-->{{#ifeq:{{{block|}}} | non | |<nowiki> </nowiki>· [http://fr.wikimini.org{{localurl:Special:Log|type=block&page=User:{{urlencode:{{{1}}}}}}} <span title="blocages du compte {{{1|}}}">b</span>]<!--fin du IF-->}}<!-- |
|||
-->{{#if:{{{admin|}}}| <!--Si Admin=? alors affiche: |
|||
--> <nowiki> |</nowiki> [http://fr.wikimini.org{{localurl:Special:Log/block|user={{urlencode:{{{User|{{{1|Exemple}}}}}}}}}} <span title="Blocages effectués par {{{1|}}}">B</span>]<!-- |
|||
--> · [http://fr.wikimini.org{{localurl:Special:Log/protect|user={{urlencode:{{{User|{{{1|Exemple}}}}}}}}}} <span title="Protections effectuées par {{{1|}}}">P</span>] · <!-- |
|||
-->[http://fr.wikimini.org{{localurl:Special:Log/delete|user={{urlencode:{{{User|{{{1|Exemple}}}}}}}}}} <span title="Suppressions effectuées par {{{1|}}}">S</span>]<!--fin du IF-->}})</span></includeonly><noinclude>{{Utilisateur/Documentation}}[[Catégorie:Modèles]]</noinclude> |
|||
Dernière version du 20 juillet 2011 à 14:25
Le modèle {{Utilisateur}} permet de pouvoir accéder directement vers la page personnelle, la page des contributions et celle des blocages de cet utilisateur avec comme texte du lien le nom de cet utilisateur.
Syntaxe
La syntaxe du modèle est très simple, il suffit d'écrire {{u|<nom de l'utilisateur>}}
Exemple
{{u|Exemple}}donnera Exemple (d · c · b){{u|{{#username:Pas connecté}}}}donnera [[Utilisateur:{{#username:Pas connecté}}|{{#username:Pas connecté}}]] ([[Discussion Utilisateur:{{#username:Pas connecté}}|d]] · [[Special:Contributions/{{#username:Pas connecté}}|c]] · b){{u|{{#username:Pas connecté}}}}donnera [[Utilisateur:{{#username:Pas connecté}}|{{#username:Pas connecté}}]] ([[Discussion Utilisateur:{{#username:Pas connecté}}|d]] · [[Special:Contributions/{{#username:Pas connecté}}|c]] · b)
Adaptation
Ce modèle est une adaptation de : http://fr.vikidia.org/wiki/Mod%C3%A8le:User
Ce que tu peux faire
Outils

Outils personnels