User:CWii/JB2script.js: Difference between revisions

Content deleted Content added
CWii (talk | contribs)
For testing
CWii (talk | contribs)
Script Change! Script Change!
Line 98:
name: 'comCat4',
label: 'Commons Cat #4: '
} );
work_area.append( {
type: 'input',
name: 'comCat5',
label: 'Commons Cat #5: '
} );
work_area.append( {
type: 'input',
name: 'comCat6',
label: 'Commons Cat #6: '
} );
work_area.append( { type:'submit' } );
Line 155 ⟶ 165:
cc3 = self.params.cc3;
cc4 = self.params.cc4;
cc5 = self.params.cc5;
cc6 = self.params.cc6;
template = '\{\{jb2move|canMove=yes'
Line 170 ⟶ 182:
if ( cc4 != '' ) {
template += '|comCat4=' + cc4;
}
if ( cc5 != '' ) {
template += '|comCat4=' + cc5;
}
if ( cc6 != '' ) {
template += '|comCat4=' + cc6;
}
Line 254 ⟶ 272:
fText += '\}\}';
}
var text = form.wpTextbox1.value;