User:Technical 13/Scripts/ACC WikiLove.js

//

var thisPageNamespace = mw.config.get( 'wgNamespaceNumber' );

if ( thisPageNamespace == 2 || thisPageNamespace == 3 ) {

mw.loader.using( 'ext.wikiLove.defaultOptions', function() {

$.wikiLoveOptions.types.acc= {

name: 'ACC Welcomes',// name of the type (appears in the types menu) User:Technical 13/Scripts/ACC WikiLove

subtypes: {

/* W-screen */// Template:W-screen

'W-screen': {

fields: [ 'header', 'message' ],// fields to ask for in form

option: '{{W-screen}}',// option listed in the select list

descr: 'A welcome designed to fit the size of the user\'s screen',// description

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',// header that appears at the top of the talk page post (optional)

text: '{{SUBST:W-screen|1=$1}}\n
',// Automatically signs by default// Default welcome message

},

/* Welcome */// Template:Welcome

'Welcome': {

fields: [ 'header', 'message' ],

option: '{{Welcome}}',

descr: 'The standard welcome',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome|1={{SUBST:REVISIONUSER}}|heading=no|newuser=yes}}\n* $1 ~~~~\n
',

},

/* Welcome-COI */// Template:Welcome-COI

'Welcome-COI': {

fields: [ 'header', 'message' ],

option: '{{Welcome-COI}}',

descr: 'A welcome for users that want an account to edit a specific topic they may have a COI with.',

header: 'Welcome to the English Wikipedia!',

message: '',// Page or topic they want to work on in COI

text: '{{SUBST:Welcome-COI|heading=no|newuser=yes|newuser_topic=$1}}\n~~~~Category:User talk pages with conflict of interest notices
',

},

/* W-cust */// Template:W-cust

'W-cust': {

fields: [ 'header', 'message' ],

option: '{{W-cust}}',

descr: 'A welcome with a bunch of icons and links',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:W-cust|icons=true|newuser=yes|nosig=yes|1=$1 ~~~~}}\n
',

},

/* W-shout */// Template:W-shout

'W-shout': {

fields: [ 'header', 'message' ],

option: '{{W-shout}}',

descr: 'A slightly louder welcome',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:W-shout|1=$1}}\n
',

},

/* Welcome cookie */// Template:Welcome cookie

'Welcome cookie': {

fields: [ 'header', 'message' ],

option: '{{Welcome cookie}}',

descr: 'Standard welcome with a plate of cookies',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome cookie|1=$1}}\n
',

},

/* Welcome kitten */// Template:Welcome kitten

'Welcome kitten': {

fields: [ 'header', 'message' ],

option: '{{Welcome kitten}}',

descr: 'Standard welcome with a kitten',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome kitten|1=$1}}\n
',

},

/* Welcome-t */// Template:Welcome-t

'Welcome-t': {

fields: [ 'header', 'message' ],

option: '{{Welcome-t}}',

descr: 'Standard welcome with a teahouse link and image',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome-t|1=$1|heading=no}}\n
',

},

/* Welcomeg */// Template:Welcomeg

'Welcomeg': {

fields: [ 'header', 'message' ],

option: '{{Welcomeg}}',

descr: 'A welcome with many links and a graphical look to it',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcomeg|1=$1 ~~~~|nosig=yes}}\n
',

},

/* Welcome-image */// Template:Welcome-image

'Welcome-image': {

fields: [ 'header', 'message' ],

option: '{{Welcome-image}}',

descr: 'A welcome for those interested in adding images',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome-image|1=$1|heading=n|newuser=y}}\n
',// custom text

},

/* Welcome teacher */// Template:Welcome teacher

'Welcome teacher': {

fields: [ 'header', 'message' ],

option: '{{Welcome teacher}}',

descr: 'For welcoming a new teacher account',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome teacher}}\n* $1 ~~~~\n
',

},

/* Welcome student */// Template:Welcome student

'Welcome student': {

fields: [ 'header', 'message' ],

option: '{{Welcome student}}',

descr: 'For welcoming a new student account',

header: 'Welcome to the English Wikipedia!',

message: 'Welcome to the English Wikipedia; I have created your account for you!',

text: '{{SUBST:Welcome student|1={{SUBST:REVISIONUSER}}}}\n* $1 ~~~~\n
',

},

},

/* Icon */// File:Acc-barnstar.png

icon: '//upload.wikimedia.org/wikipedia/commons/f/fe/Acc-barnstar.png'

};

});

}

//