Template:Usermessages: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
Line 45: Line 45:
# [[User:Maxlover2/story|Wiki Story – from Max]]
# [[User:Maxlover2/story|Wiki Story – from Max]]
# [[User:Plumber/Story|Story (aren't I so original?) – from PLUMs]]
# [[User:Plumber/Story|Story (aren't I so original?) – from PLUMs]]
# [[User:Smiddle/medley|Music medley – from Smiddle]]
|-
|-
|   
|   

Revision as of 15:31, May 19, 2007

Welcome to Usermessages, a new way of sending a message to multiple users at once without editing all of their talk pages.

In order for this to work, all users involved must use this template on either their user or user talk pages. If you plan on being "connected", find a place for this template (which will only show a table) and add it in. The table is plain – you can add an alignment (default center, parameter 1), background color (parameter 2), a border color (3), a text color (4) and a width (default 75%, 5) to match your user page style ({{usermessages|left/center/right|#RRGGBB|#RRGGBB|#RRGGBB|##%}}). It is up to the user to check his/her messages, which appear in the table.

In order to create a message to send to users, you must edit this template. Here is the syntax:

{{usermessages/source
|fromuser#=sender's username
|touser#.#=first receiver's username. You can have up to 10, with each # after the . increasing by 1
|touser#.#=another name (example)
|messagetitle#=message title
}}

For example, the first message will have the parameters fromuser1, the twenty-fifth message fromuser25, etc. The third receiver of the fourteenth message will have the parameter touser14.3.

The message is to be created at User:Fromuser#/Messagetitle#, that is, a sub-page of the sender's userpage.

The source code uses a parser function, switch, to match each touser#.# parameter to the pagename of the user page, that is, the username itself. If there's a match, the link to the message will appear, otherwise, nothing appears. Therefore, only the users you specify will have a direct link to your message, fulfilling the purpose of the system.

You are free to edit the actual template, hidden normally to make your new message. Of course, start at 1. Spread the news around to add {{usermessages}} so that the system is complete.

Note. These messages are in no way private from the public eye. Any user can look up the pagename of the message and search for it. Do not include any personal information or anything you do not want made public. Finally, please use this only for 3 or more users, not 2, in order to not waste messages.

Invisible Code