« Modèle:U » : différence entre les versions

De Wikivoyage
Contenu supprimé Contenu ajouté
La "font" est géré par mediawiki
Mgb0ssi (discussion | contributions)
mAucun résumé des modifications
Balises : Modification par mobile Modification par le web mobile Modification sur mobile avancée
Ligne 1 : Ligne 1 :
<includeonly>{{#ifeq: {{{lang|fr}}} | fr | |{{{{{lang}}}}}&nbsp;}}[[:{{{lang|fr}}}:User:{{{1}}}|<span title="page utilisateur du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">{{{1}}}</span>]]&nbsp;<small class="plainlinks">([[:{{{lang|fr}}}:User Talk:{{{1}}}|<abbr class="abbr" title="page de discussion du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">d</abbr>]]&nbsp;·&nbsp;[[:{{{lang|fr}}}:Special:Contributions/{{{1}}}|<abbr class="abbr" title="contributions du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">c</abbr>]]{{#ifeq:{{{block|}}} | non | |&nbsp;·&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log|type=block&page=User:{{urlencode:{{{1}}}}}}} <abbr class="abbr" title="blocages du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">b</abbr>]{{#if:{{{lang|}}}||}}}}{{#if:{{{admin|}}}| <nowiki>|</nowiki>&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log/block|user={{urlencode:{{{1}}}}}}} <abbr class="abbr" title="blocages effectués par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">B</abbr>]{{#if:{{{lang|}}}||}}&nbsp;·&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log/protect|user={{urlencode:{{{1}}}}}}} <abbr class="abbr" title="protections effectuées par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">P</abbr>]{{#if:{{{lang|}}}||}}&nbsp;·&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log/delete|user={{urlencode:{{{1}}}}}}} <abbr class="abbr" title="suppressions effectuées par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">S</abbr>]{{#if:{{{lang|}}}||}}}})</small></includeonly><noinclude>
<includeonly>{{#ifeq: {{{lang|fr}}} | fr | |{{{{{lang}}}}}&nbsp;}}[[:{{{lang|fr}}}:User:{{{1}}}|<span title="page utilisateur du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">{{{1}}}</span>]]&nbsp;<small class="plainlinks">([[:{{{lang|fr}}}:User Talk:{{{1}}}|<abbr class="abbr" title="page de discussion du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:. {{{lang|}}}}}">d</abbr>]]&nbsp;·&nbsp;[[:{{{lang|fr}}}:Special:Contributions/{{{1}}}|<abbr class="abbr" title="contributions du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">c</abbr>]]{{#ifeq:{{{block|}}} | non | |&nbsp;·&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log|type=block&page=User:{{urlencode:{{{1}}}}}}} <abbr class="abbr" title="blocages du compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">b</abbr>]{{#if:{{{lang|}}}||}}}}{{#if:{{{admin|}}}| <nowiki>|</nowiki>&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log/block|user={{urlencode:{{{1}}}}}}} <abbr class="abbr" title="blocages effectués par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">B</abbr>]{{#if:{{{lang|}}}||}}&nbsp;·&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log/protect|user={{urlencode:{{{1}}}}}}} <abbr class="abbr" title="protections effectuées par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">P</abbr>]{{#if:{{{lang|}}}||}}&nbsp;·&nbsp;{{#if:{{{lang|}}}||}}[{{fullurl:{{{lang|fr}}}:Special:Log/delete|user={{urlencode:{{{1}}}}}}} <abbr class="abbr" title="suppressions effectuées par le compte {{{1|}}} {{#if:{{{lang|}}}|sur WV:{{{lang|}}}}}">S</abbr>]{{#if:{{{lang|}}}||}}}})</small></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Catégories et interwikis en page de documentation, merci. -->
<!-- Catégories et interwikis en page de documentation, merci. -->

Version du 4 août 2023 à 03:52

 Documentation[modifier] [purger]

Utilisation

Pour insérer un lien vers un utilisateur

Syntaxe

{{u|nom d'utilisateur |lang= |block= |admin= }}

Il existe un alias : user

{{user|nom d'utilisateur |lang= |block= |admin= }}

Paramètres

  • nom d'utilisateur – L'identifiant de l'utilisateur (obligatoire).
  • lang – le code raccourci du projet (en, fr) (facultatif, fr par défaut).
  • block – si ce paramètre a la valeur non, alors le lien vers la page de blocage n'est pas inséré. Un tel lien peut en effet entraîner une certaine suspicion.
  • admin – affichage des actions en tant qu'administrateur (blocages, suppressions et protections) si ce paramètre a la valeur yes. (facultatif)

Exemple

  • {{u|Toto}}Toto (d · c · b)
  • {{u|Toto|block=non}} ou {{u'|Toto}}Toto (d · c)
  • {{u|Jimbo Wales|lang=en}}(en) Jimbo Wales (d · c · b)
  • {{u|Anthere|admin=oui}}Anthere (d · c · bB · P · S)

Variantes