User:OrangeKnight/monobook.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 is at User:OrangeKnight/monobook.css. |
// add button to insert the template 'infobox cricketer biography'
var emptyinfobox = '{{Infobox cricketer biography\n'
+ ' | playername = \n'
+ ' | female = \n'
+ ' | image = \n'
+ ' | country = \n'
+ ' | country2 = \n'
+ ' | country3 = \n'
+ ' | fullname = \n'
+ ' | living = \n'
+ ' | partialdates = \n'
+ ' | dayofbirth = \n'
+ ' | monthofbirth = \n'
+ ' | yearofbirth = \n'
+ ' | placeofbirth = \n'
+ ' | countryofbirth = \n'
+ ' | dayofdeath = \n'
+ ' | monthofdeath = \n'
+ ' | yearofdeath = \n'
+' | placeofdeath = \n'
+ ' | countryofdeath = \n'
+ ' | nickname = \n'
+ ' | heightft = \n'
+ ' | heightinch = \n'
+ ' | heightm = \n'
+ ' | batting = \n'
+ ' | bowling = \n'
+ ' | role = \n'
+ ' | family = \n'
+ ' |\n'
+ ' | international = \n'
+ ' | onetest = \n'
+ ' | testdebutdate = \n'
+ ' | testdebutyear = \n'
+ ' | testdebutfor = \n'
+ ' | testdebutagainst = \n'
+ ' | testcap = \n'
+ ' | lasttestdate = \n'
+ ' | lasttestyear = \n'
+ ' | lasttestfor = \n'
+ ' | lasttestagainst = \n'
+ ' | oneodi = \n'
+ ' | odidebutdate = \n'
+ ' | odidebutyear = \n'
+ ' | odidebutfor = \n'
+ ' | odidebutagainst = \n'
+ ' | odicap = \n'
+ ' | lastodidate = \n'
+ ' | lastodiyear = \n'
+ ' | lastodifor = \n'
+ ' | lastodiagainst = \n'
+ ' | odishirt = \n'
+ ' | oneT20I = \n'
+ ' | T20Idebutdate = \n'
+ ' | T20Idebutyear = \n'
+ ' | T20Idebutfor = \n'
+ ' | T20Idebutagainst = \n'
+ ' | T20Icap = \n'
+ ' | lastT20Idate = \n'
+ ' | lastT20Iyear = \n'
+ ' | lastT20Ifor = \n'
+ ' | lastT20Iagainst = \n'
+ ' | T20Ishirt = \n'
+ ' |\n'
+ ' | club1 = \n'
+ ' | year1 = \n'
+ ' | clubnumber1 = \n'
+ ' | club2 = \n'
+ ' | year2 = \n'
+ ' | clubnumber2 = \n'
+ ' | club3 = \n'
+ ' | year3 = \n'
+ ' | clubnumber3 = \n'
+ ' | club4 = \n'
+ ' | year4 = \n'
+ ' | clubnumber4 = \n'
+ ' | club5 = \n'
+ ' | year5 = \n'
+ ' | clubnumber5 = \n'
+ ' | club6 = \n'
+ ' | year6 = \n'
+ ' | clubnumber6 = \n'
+ ' | club7 = \n'
+ ' | year7 = \n'
+ ' | clubnumber7 = \n'
+ ' | club8 = \n'
+ ' | year8 = \n'
+ ' | clubnumber8 = \n'
+ ' | club9 = \n'
+ ' | year9 = \n'
+ ' | clubnumber9 = \n'
+ ' | club10 = \n'
+ ' | year10 = \n'
+ ' | clubnumber10 = \n'
+ ' | club11 = \n'
+ ' | year11 = \n'
+ ' | clubnumber11 = \n'
+ ' | club12 = \n'
+ ' | year12 = \n'
+ ' | clubnumber12 = \n'
+ ' | club13 = \n'
+ ' | year13 = \n'
+ ' | clubnumber13 = \n'
+ ' | club14 = \n'
+ ' | year14 = \n'
+ ' | clubnumber14 = \n'
+ ' | club15 = \n'
+ ' | year15 = \n'
+ ' | clubnumber15 = \n'
+ ' |\n'
+ ' | type1 = \n'
+ ' | onetype1 = \n'
+ ' | debutdate1 = \n'
+ ' | debutyear1 = \n'
+ ' | debutfor1 = \n'
+ ' | debutagainst1 = \n'
+ ' | lastdate1 = \n'
+ ' | lastyear1 = \n'
+ ' | lastfor1 = \n'
+ ' | lastagainst1 = \n'
+ ' | type2 = \n'
+ ' | onetype2 = \n'
+ ' | debutdate2 = \n'
+ ' | debutyear2 = \n'
+ ' | debutfor2 = \n'
+ ' | debutagainst2 = \n'
+ ' | lastdate2 = \n'
+ ' | lastyear2 = \n'
+ ' | lastfor2 = \n'
+ ' | lastagainst2 = \n'
+ ' |\n'
+ ' | umpire = \n'
+ ' | testsumpired = \n'
+ ' | umptestdebutyr = \n'
+ ' | umptestlastyr = \n'
+ ' | odisumpired = \n'
+ ' | umpodidebutyr = \n'
+ ' | umpodilastyr = \n'
+ ' | twenty20sumpired = \n'
+ ' | umptwenty20debutyr = \n'
+ ' | umptwenty20lastyr = \n'
+ ' |\n'
+ ' | hidedeliveries = \n'
+ ' | columns = \n'
+ ' | column1 = \n'
+ ' | matches1 = \n'
+ ' | runs1 = \n'
+ ' | bat avg1 = \n'
+ ' | 100s/50s1 = \n'
+ ' | top score1 = \n'
+ ' | deliveries1 = \n'
+ ' | wickets1 = \n'
+ ' | bowl avg1 = \n'
+ ' | fivefor1 = \n'
+ ' | tenfor1 = \n'
+ ' | best bowling1 = \n'
+ ' | catches/stumpings1 = \n'
+ ' | column2 = \n'
+ ' | matches2 = \n'
+ ' | runs2 = \n'
+ ' | bat avg2 = \n'
+ ' | 100s/50s2 = \n'
+ ' | top score2 = \n'
+ ' | deliveries2 = \n'
+ ' | wickets2 = \n'
+ ' | bowl avg2 = \n'
+ ' | fivefor2 = \n'
+ ' | tenfor2 = \n'
+ ' | best bowling2 = \n'
+ ' | catches/stumpings2 = \n'
+ ' | column3 = \n'
+ ' | matches3 = \n'
+ ' | runs3 = \n'
+ ' | bat avg3 = \n'
+ ' | 100s/50s3 = \n'
+ ' | top score3 = \n'
+ ' | deliveries3 = \n'
+ ' | wickets3 = \n'
+ ' | bowl avg3 = \n'
+ ' | fivefor3 = \n'
+ ' | tenfor3 = \n'
+ ' | best bowling3 = \n'
+ ' | catches/stumpings3 = \n'
+ ' | column4 = \n'
+ ' | matches4 = \n'
+ ' | runs4 = \n'
+ ' | bat avg4 = \n'
+ ' | 100s/50s4 = \n'
+ ' | top score4 = \n'
+ ' | deliveries4 = \n'
+ ' | wickets4 = \n'
+ ' | bowl avg4 = \n'
+ ' | fivefor4 = \n'
+ ' | tenfor4 = \n'
+ ' | best bowling4 = \n'
+ ' | catches/stumpings4 = \n'
+ ' |\n'
+ ' | date = \n'
+ ' | year = \n'
+ ' | source = \n'
+ '}}\n';
mwCustomEditButtons[mwCustomEditButtons.length] =
{"imageId": 'mw-editbutton-emptyinfobox',
"imageFile": 'http://upload.wikimedia.org/wikipedia/commons/b/bd/Btn_plus.png',
"speedTip": 'InfoboxCricketer',
"tagOpen": emptyinfobox,
"tagClose": '',
"sampleText": ''};