var thisPageNamespace = mw.config.get( 'wgNamespaceNumber' );
if ( thisPageNamespace == 2 || thisPageNamespace == 3 ) {
mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
$.wikiLoveOptions.types.badges= {
name: 'Badges',// name of the type (appears in the types menu)
subtypes: {
'Teahouse Welcome badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Welcome Badge',// option listed in the select list
descr: 'Created a Teahouse profile',// description
header: 'Congrats... You created your Teahouse profile!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Welcome|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>' ,// custom text
},
'Teahouse great question badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Great Question',// option listed in the select list
descr: 'For asking a great Teahouse question',// description
header: 'Congrats... You asked an awesome question in the Teahouse!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Question|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse great answer badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Great Answer',// option listed in the select list
descr: 'For giving a great Teahouse answer',// description
header: 'Congrats... You gave an awesome answer in the Teahouse!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Answer|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse maître d badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Maître d',// option listed in the select list
descr: 'For hosting as maître d in the Teahouse',// description
header: 'Congrats... You were an awesome Teahouse maître d!',// header that appears at the top of the talk page post (optional)
text: "{{Wikipedia:Teahouse/Badge/Maitre d'|size=|signed=~~"+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse cup and saucer badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Cup and Saucer',// option listed in the select list
descr: 'For helping keep Teahouse civil, warm, and welcoming for everyone',// description
header: 'Congrats... You helped keep Teahouse an awesome, welcoming, safe, and helpful place!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Saucer|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse easter egg badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Easter Egg',// option listed in the select list
descr: 'For sharing ideas that help make Teahouse better',// description
header: 'Congrats... Your creative suggestion made Teahouse even better!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Easter egg|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse genie badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Genie',// option listed in the select list
descr: 'For solving issues on the Teahouse Wishlist',// description
header: 'Congrats... You fixed the Teahouse just where it needed to be fixed!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Genie|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse host badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Host',// option listed in the select list
descr: 'For creating a host profile',// description
header: 'Congrats... You have joined a team of awesome helpers!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Host|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>',// custom text
},
'Teahouse Welcoming Badge': {
fields: ,// fields to ask for in form
option: 'Teahouse Welcoming Badge',// option listed in the select list
descr: 'Shows extraordinary welcoming spirit in the Teahouse',// description
header: 'Your extraordinary welcoming spirit at the Wikipedia Teahouse!',// header that appears at the top of the talk page post (optional)
text: '{{Wikipedia:Teahouse/Badge/Welcoming|size=|signed=~~'+'~~|message=$1}}\n<br style="clear: both"/>' ,// custom text
},
},
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/2/26/Rank_insignia_of_generale_di_divisione_con_funzioni_superiori_of_the_Alpini.svg/53px-Rank_insignia_of_generale_di_divisione_con_funzioni_superiori_of_the_Alpini.svg.png'
};
});
}