Template:@: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "{{#if:{{{1|}}}|<span id="mention" style="background:#eee">{{#fornumargs:number|value|{{#ifeq:{{#var:number}}|1||<nowiki> </nowiki>}}[[User:{{#var:value}}|@{{#var:value}}]]}}</...")
 
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|<span id="mention" style="background:#eee">{{#fornumargs:number|value|{{#ifeq:{{#var:number}}|1||<nowiki> </nowiki>}}[[User:{{#var:value}}|@{{#var:value}}]]}}</span>|}}<noinclude>
<includeonly>{{#fornumargs:key|value|{{#ifexpr:{{#var:key}}>1|&#32;}}[[User:{{#var:value}}|@{{#var:value}}]]}}</includeonly><noinclude>
This template is used to mention user(s) when replying in order to send them a notification. Be sure to end your comment with your signature (<code><nowiki>~~~~</nowiki></code>) for the ping(s) to be sent.
== Usage ==
To mention one user, use:
:<code><nowiki>{{@|Username}}</nowiki></code>
 
To mention multiple users, use:
:<code><nowiki>{{@|User 1|User 2|User 3}}</nowiki></code>
 
== About ==
This template is used to mention one or more users and send them each a notification. Your edit must include your signature (<code><nowiki>~~~~</nowiki></code>) in order for the ping(s) to be sent.


'''Format:''' <code><nowiki>{{@|Wiki user}}</nowiki></code>, <code><nowiki>{{@|Wiki user|User 2|User 3}}</nowiki></code>
[[Category:Utility templates]]</noinclude>
[[Category:Utility templates]]</noinclude>

Latest revision as of 07:44, September 4, 2024

Usage

To mention one user, use:

{{@|Username}}

To mention multiple users, use:

{{@|User 1|User 2|User 3}}

About

This template is used to mention one or more users and send them each a notification. Your edit must include your signature (~~~~) in order for the ping(s) to be sent.