Examples:

((userblock|Example)) 

produces Example (talk · contribs · block log).

See block log.

To do:

  1. make it work even if name has spaces
Done, with ((urlencode:(({1))))}.

Template-protected edit request on 14 May 2021[edit]

I would like the template contents to be changed, per Template:Userblock/sandbox and Template:Userblock/testcases, as well as Wikipedia:List of banned users being MfD'd, to the contents of the sandbox (as follows) - look between the nowiki tags:

<span id="(({User|(({1|Example))))))" class="plainlinks userlinks" style="color:#002bb8"><span class="userlinks-username">[[User:(({User|(({1|Example))))))|(({User|(({1|Example))))))]] </span><span style="color:black">(</span>[[User talk:(({User|(({1|Example))))))|talk]]((int:dot-separator)) [[Special:Contributions/(({User|(({1|Example))))))|contribs]]((int:dot-separator)) [((fullurl:Special:Log/block|page=User:((urlencode:(({User|(({1|Example)))))))))) <span style="color:#002bb8">block log</span>])</span><noinclude> ((Documentation)) </noinclude>

This edit is designed to remove the ban parameter from service; now, if ban=y is mentioned, no "ban" wikilink is included. Thank you! Casspedia (talk) 19:47, 14 May 2021 (UTC)[reply]

 Done User:GKFXtalk 21:49, 14 May 2021 (UTC)[reply]