User:Chris55/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin can be added at User:Chris55/common.css. |
/**
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
* @see https://meta.wikimedia.org/wiki/TemplateScript
*/
// <pre>
$.getScript('//tools.wmflabs.org/meta/scripts/pathoschild.templatescript.js', function() {
if(typeof pathoschild === 'undefined' || !pathoschild.TemplateScript || !pathoschild.TemplateScript.Add) return;
pathoschild.TemplateScript.Add([
{ name: 'welcome', template: '== Welcome! ==
Hi Chris55! I noticed [[Special:Contributions/Chris55|your contributions]] and wanted to welcome you to the Wikipedia community. I hope you like it here and decide to stay.
As you get started, you may find this short tutorial helpful:
{{Clickable button 2|Help:Introduction|Learn more about editing|class=mw-ui-progressive|style=margin-left: 1.6em;}}
Alternatively, the [[Wikipedia:Contributing to Wikipedia|contributing to Wikipedia]] page covers the same topics.
If you have any questions, we have a friendly space where experienced editors can help you here:
{{Clickable button 2|Wikipedia:Teahouse|Get help at the Teahouse|style=margin-left: 1.6em;}}
If you are not sure where to help out, you can find a task here:
{{Clickable button 2|Wikipedia:Task Center|Volunteer at the Task Center|style=margin-left: 1.6em;}}
Please remember to sign your messages on [[Help:Talk pages|talk page]]s by typing four tildes (<nowiki>~~~~</nowiki>); this will automatically insert your username and the date.
Happy editing! <!-- Template:Welcome--> [[User:Jon (WMF)|Jon (WMF)]] ([[User talk:Jon (WMF)|talk]]) 05:11, 23 February 2021 (UTC)', position: 'after', editSummary: 'welcome!', forNamespaces: 3, forActions: 'edit' },
// add your own templates or scripts here
]);
});