Template:Reply to/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 21:
<nowiki>{{reply to|Username1|Username2}} Message text. ~~~~</nowiki>
 
== SeeError alsomessages ==
===Username not given===
* [[Module:Reply to]] – the Lua module on which this template is based
Sometimes, when the recipient's username contains an equal sign, for example <code><nowiki>{{reply to|test=test}}</nowiki></code>, it will show:<br />
 
{{reply to|test=test}}
<br />
 
To fix this, simply add 1= at the beginning of the username, 2= at the second username, 3= at the third username and so on:<br />
 
<code><nowiki>{{reply to|1=test=test}}</nowiki></code>
 
===More than 50 names specified===
If more than 50 names are specified in the template, it will show:
 
{{reply to|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51}}
 
This is a limitation of the notification system, as documented in the [[:mw:Manual:Echo|manual]]. Note that the system limitation is ''per edit'', so while splitting a longer list between two templates will avoid this error message, none of the notifications will be sent. In the rare case you need to notify more than 50 people, it will need to be done in multiple edits.
 
==Credits==
This template was copied from the [[wikipedia:Template:Reply to|English Wikipedia]]. This template's documentation was partially copied from [[wikipedia:Template:Reply to/doc|there]] as well.
 
==See also==
<includeonly>[[Category:Lua-based templates|{{PAGENAME}}]][[Category:Discussion page templates|{{PAGENAME}}]]</includeonly>
* {{tl|Hidden ping}} - when you need to mention users without displaying any text
* {{tl|No ping}} - when you need to link to users without mentioning them
 
<includeonly>[[Category:Lua-based templates|{{PAGENAME}}]][[Category:Discussion page templates|{{PAGENAME}}]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>