User:Robinr78/common.js: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
No edit summary
No edit summary
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
var customizeToolbar = function () {
var customizeToolbar = function () {
/* stable as of 2024-0106 */
/* stable as of 2024-0401 */


/* ==================================================  
/* ==================================================  
Line 509: Line 509:
});
});


/* --- Enable Other:Talk:Date chg*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Heads',
group: 'Cats',
tools: {
"date": {
label: 'date',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
type: 'encapsulate',
options: {
pre:  'Apr 01, 2024',
post: ''
}
}
}
}
} );


/* Main Links ======================================= */
/* Main Links ======================================= */


/* Enable group:Links: */
/* Enable group:Links: */
Line 558: Line 579:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sanity check|01/24|R/}}",
pre: "{{Sanity check|04/24|R/}}",
                 post:""
                 post:""
}
}
Line 579: Line 600:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-ok|01/24 R/}} ",
pre: "{{Site-ok|04/24 R/}} ",
                     post:""
                     post:""
}
}
Line 599: Line 620:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-red|01/24 R/}}{{Site-def|01/24 R/}}",
pre: "{{Site-red|04/24 R/}}{{Site-def|04/24 R/}}",
                     post:"{{Site-hij|01/24 R/}}"
                     post:"{{Site-hij|04/24 R/}}"
}
}
}
}
Line 642: Line 663:
options: {
options: {
pre: "{{from website|[web url name page on Tokyo.to]",
pre: "{{from website|[web url name page on Tokyo.to]",
                     post:"|01/24}}"
                     post:"|04/24}}"
}
}
}
}
Line 735: Line 756:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '01/24',
pre:  '04/24',
post: ''
post: ''
}
}
Line 807: Line 828:




/* --- Enable Files:{{ndib */
/* --- Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Heads',
section: 'Heads',
group: 'Files',
group: 'Files',
tools: {
tools: {
"ndib": {
"bpswi": {
label: 'ndib',
label: 'bpswi',
type: 'button',
type: 'button',
    icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  'dib',
pre:  'file:|{{bpswi|',
post: '.jpg'
post: '|wk=1| }}'
}
}
}
}
Line 827: Line 848:
} );
} );


/* --- Enable Files:Screenies */
/* --- Enable button Heads:Files:'File:' */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Heads',
section: 'Heads',
group: 'Files',
group: 'Files',
tools: {
tools: {
"Screenies": {
"File:": {
label: 'Screenies',
label: 'File:',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/0a/Button_screenie.jpg',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[MOVB]] screenies for ',
pre: "American burlesque performers",
post: ''
                                      post:""
}
}
}
}
}
}
}
}
} );
});
/* Enable section:Page =============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Info': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Info'
}
}
} );




/* Enable Group:Format: */
/* --- Enable Files:{{ndib */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Heads',
'groups': {
group: 'Files',
'Page': {
'label': 'Page'
}
}
} );
 
/* --- Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
group: 'Page',
tools: {
tools: {
"Model": {
"ndib": {
label: 'Model',
label: 'ndib',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
    icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox model",
pre: 'dib',
                                        post:""
post: '.jpg'
}
}
}
}
}
}
}
}
});
} );


/* --- Enable Pornstar */
/* --- Enable Files:Screenies */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Heads',
group: 'Page',
group: 'Files',
tools: {
tools: {
"Model": {
"Screenies": {
label: 'Model',
label: 'Screenies',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
icon: 'http://www.sm-201.org/a/images/0/0a/Button_screenie.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                                pre:  '{{Infobox pornstar}',
pre:  '[[MOVB]] screenies for ',
post: ''
post: ''
}
}
}
}
}
}
}
} );
/* Enable section:Page =============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Info': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Info'
}
}
}
} );
} );




/* --- Enable button Pornstud  */
/* Enable Group:Format: */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
'groups': {
tools: {
'Page': {
"Pornstud": {
'label': 'Page'  
label: 'Model',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Infobox pornstud",
                                        post:""
}
}
}
}
}
}
});
} );


 
/* --- Enable button model */
/* --- Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
group: 'Page',
tools: {
tools: {
"Film-cat": {
"Model": {
label: 'Film-cat',
label: 'Model',
type: 'button',
type: 'button',
       icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg',  
       icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "Film making",
pre: "{{Infobox model",
                                         post:""
                                         post:""
}
}
Line 949: Line 949:
});
});


 
/* --- Enable Pornstar */
/* --- Enable button Notes:top-tg  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
group: 'Page',
tools: {
tools: {
"top-tg": {
"Model": {
label: 'Top-tg',
label: 'Model',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{top-tg|add=vedette and}}',
                                pre:  '{{Infobox pornstar}',
post: ''
post: ''
}
}
Line 970: Line 969:
} );
} );


/* --- Enable button Notes:toporn */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable button Pornstud */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
group: 'Page',
tools: {
tools: {
"toporn": {
"Pornstud": {
label: 'top',
label: 'Model',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{toporn|add=}}',
pre: "{{Infobox pornstud",
post: ''
                                        post:""
}
}
}
}
}
}
}
}
} );
});
 


/* --- Enable button Japan cinema */
/* --- Enable button Pornstud */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
group: 'Page',
tools: {
tools: {
"Japorn": {
"Film-cat": {
label: 'Japorn',
label: 'Film-cat',
type: 'button',
type: 'button',
       icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  
       icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Japanese erotic cinema {{Japanese porn stars",
pre: "Film making",
                    post:""
                                        post:""
}
}
}
}
Line 1,011: Line 1,012:




/* --- Enable button sa-porn */
/* --- Enable button Notes:top-tg */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
group: 'Page',
tools: {
tools: {
"porn": {
"top-tg": {
label: 'sa-porn',
label: 'Top-tg',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-porn}} {{porn stars {{porn",
pre: '{{top-tg|add=vedette and}}',
                    post:""
post: ''
}
}
}
}
}
}
});
/* Other Talk ======================================= */
/* Enable Group:Talk:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Infor',
'groups': {
'Talk': {
'label': 'Talk'
}
}
}
}
} );
} );


/* --- Enable Other:Talk:Date chg*/
/* --- Enable button Notes:toporn  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Talk',
group: 'Page',
tools: {
tools: {
"date": {
"toporn": {
label: 'date',
label: 'top',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  'Jan 01, 2024',
pre:  '{{toporn|add=}}',
post: ''
post: ''
}
}
Line 1,062: Line 1,052:
} );
} );


/* --- Enable Other:Talk:dot*/
/* --- Enable button Japan cinema  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Talk',
group: 'Page',
tools: {
tools: {
"Dot": {
"Japorn": {
label: 'Dot',
label: 'Japorn',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '• ',
pre: "{{Japanese erotic cinema {{Japanese porn stars",
post: ''
                    post:""
}
}
}
}
Line 1,082: Line 1,072:
});
});


/* --- Enable Other:Talk:semicolon */
 
/* --- Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Talk',
group: 'Page',
tools: {
tools: {
"Semi": {
"porn": {
label: 'Semi',
label: 'sa-porn',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/1/13/Button_semi.jpg',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "; ",
pre: "{{sa-porn}} {{porn stars {{porn",
post: ""
                    post:""
}
}
}
}
Line 1,102: Line 1,093:
});
});


/* --- Enable Other:Talk:Colon */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
group: 'Talk',
tools: {
"Colon": {
label: 'Colon',
type: 'button',
icon: 'http://www.sm-201.org/a/images/4/4a/Button_colon.jpg',
action: {
type: 'encapsulate',
options: {
pre:  ": ",
post: ""
}
}
}
}
});


/* --- Enable button sa-porn  */
/* --- Enable button sa-porn  */
Line 1,341: Line 1,313:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      vitals = {{vitals|",
pre: "|      vitals = {{vitals||||}}\n|    eye color = \n|  hair color = \n",
                                        post:""
post: "|      height = {{ht||}}\n|      weight = {{wt|}}"
}
}
}
}
Line 1,349: Line 1,321:
});
});


/* --- Enable Info:Vitals:Eyes button*/
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
'groups': {
'Insex': {
'label': 'Insex'
}
}
} );
 
 
/* --- Enable button Info|Insex|DevBond, etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Vitals',
group: 'Insex',
tools: {
tools: {
"Eyes": {
"CatDB": {
label: 'Eye',
label: 'CatDB',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|    eye color = ",
pre: 'Device Bondage models',
                                        post:""
post: ''
}
}
}
}
Line 1,369: Line 1,352:
});
});


/* --- Enable Info:Vitals:height*/
/* --- Enable button Info|Insex|sx */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Vitals',
group: 'Insex',
tools: {
tools: {
"height": {
"sx": {
label: 'Height',
label: 'sx',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       height = ",
pre: '{{sx|',
                                        post:"{{ht|?|?))"
                    post:"}}"
}
}
}
}
Line 1,389: Line 1,372:
});
});


/* --- Enable Info:Vitals:weight*/
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* --- Enable Info:Insex:link  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Vitals',
group: 'Insex',
tools: {
tools: {
"weight": {
"Template": {
label: 'Weight',
label: 'Link',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      weight = ",
pre: '[[',
                                        post:"{{wt|}}"
post: ']]'
}
}
}
}
}
}
}
}
});
} );
 


/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
'groups': {
'groups': {
'Insex': {
'Pro': {
'label': 'Insex'  
'label': 'Pro'  
}
}
}
}
} );
} );


/* --- Enable button Other|Cats|sx */
 
/* --- Enable button Info|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Insex',
group: 'Pro',
tools: {
tools: {
"sx": {
"Genre": {
label: 'sx',
label: 'Genre',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{sx|',
pre: "|       genre = \n|        solo = [[Masturbation]], [[Dildo]]\n",
                    post:"}}"
post: "|      lesbian = [[Softcore]], [[Dildo]]\n|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]"
}
}
}
}
Line 1,440: Line 1,425:




/* --- Enable Format:button [[ link ]] */
/* --- Enable button Info|Pro|Specs = */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Insex',
group: 'Pro',
tools: {
tools: {
"Template": {
"Specs": {
label: 'Link',
label: 'Specialty',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[',
pre: "{{porn stars",
post: ']]'
                                    post:""
}
}
}
}
}
}
}
}
} );
});


 
/* --- Enable button Info|Pro|Name  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
'groups': {
group: 'Pro',
'Pro': {
tools: {
'label': 'Pro'
"years": {
}
label: 'years',
}
} );
 
 
 
 
/* --- Enable button Info|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
group: 'Pro',
tools: {
"Genre": {
label: 'Genre',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       genre = ",
pre: "| yearsactive = ",
                                        post:""
                                      post:""
}
}
}
}
Line 1,494: Line 1,466:




 
/* --- Enable button Info|Pro|cat=Mistresses  */
 
/* --- Enable button Info|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Pro',
tools: {
tools: {
"Specs": {
"Mistresses": {
label: 'Specialty',
label: 'Mistresses',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
  icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{porn stars",
pre: '[[Category:Mistresses]]',
                                    post:""
post: ''
}
}
}
}
Line 1,516: Line 1,486:
});
});


/* --- Enable button Info|Pro|Name */
 
/* --- Enable button Info:Pro:Penthouse */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Pro',
tools: {
tools: {
"years": {
"Penthouse": {
label: 'years',
label: 'Penthouse',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',  
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "| yearsactive = ",
pre: "{{Penthouse Pets 2020|year=}}",
                                      post:""
                                post:""
}
}
}
}
Line 1,537: Line 1,508:




/* --- Enable button Info|Pro|Boygirl = */
/* --- Enable button Info|Pro|Imdb etc = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Pro',
tools: {
tools: {
"boygirl": {
"imdb": {
label: 'boygirl',
label: 'imdb',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
   icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|     boygirl = [[BJ]], [[Vaginal]], [[Anal]]",
pre: '|         iafd = \n|        imdb = \n',
                                        post:""
post: '|        afdb = \n|        wiki = \n'
}
}
}
}
Line 1,557: Line 1,528:
});
});


 
/* --- Enable button Info|Pers:{cat} */
/* --- Enable button Info|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Pers',
tools: {
tools: {
"lesbian": {
"cat": {
label: 'lesbian',
label: 'cat',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      lesbian = [[Softcore]], [[Dildo]]",
pre: "{{sa-porn}}{{footer}}{{porn stars}}"
                                        post:""
}
}
}
}
Line 1,579: Line 1,548:




/* --- Enable button Info|Pro|Lesbian = */
/* =================== group cats enable ========== */
$('#wpTextbox1').wikiEditor('addToToolbar', {
 
 
/* Enable group:Info:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
 
/* --- Enable button Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
group: 'Cats',
tools: {
tools: {
"solo": {
"Cats": {
label: 'solo',
label: 'Category',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|         solo = [[Masturbation]], [[Dildo]]",
pre: '{{cat|',
                                        post:""
post: '}}'
}
}
}
}
}
}
}
}
});
} );






/* --- Enable button Info|Pro|cat=Mistresses */
/* --- Enable button info|cats|!more */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"Mistresses": {
"!more": {
label: 'Mistresses',
label: '!more',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg',  
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[Category:Mistresses]]',
pre: "{{!more}",
post: ''
                                        post:""
}
}
}
}
Line 1,622: Line 1,605:




/* --- Enable button Other:Also:Circle-S */
/* --- Enable button Info:Cats:BondMod */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"Penthouse": {
    "cats a": {
label: 'Penthouse',
label: 'cats a',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
    icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Penthouse Pets 2020|year=}}",
pre: "{{cat|actors|actresses|authors}}",
                                post:""
                    post:""
}
}
}
}
Line 1,642: Line 1,625:
});
});


 
/* --- Enable button Info:Cats:Anatomy */
/* --- Enable button Info|Pro|Imdb etc = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"imdb": {
"anatomy": {
label: 'imdb',
label: 'anatomy',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',  
    icon: 'http://www.sm-201.org/a/images/e/e0/Editor_a.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|         iafd = \n|         imdb = \n',
pre: "{{cat|bondage artists|erotic artists|fetish artists|spanking artists",
post: '|        afdb = \n|        wiki = \n'
                    post:"}}"
}
}
}
}
Line 1,663: Line 1,645:
});
});


/* --- Enable button Info|Pers:{cat} */
/* --- Enable button Info:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Cats',
tools: {
tools: {
"cat": {
"BondMod": {
label: 'cat',
label: 'BondMod',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-porn}}{{footer}}{{porn stars}}"
pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
                    post:"{{actresses} {{Porn stars}"
}
}
}
}
Line 1,683: Line 1,666:




/* Enable group:Other:Cats */
/* --- Enable button Info:Cats:Circle-G */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Cats',
section: 'Info',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
 
/* =================== group cats enable ==========
 
/* Enable group:Other: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Infor',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
/* --- Enable button Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Infor',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"Cats": {
"Circle-G": {
label: 'Category',
label: 'Circle-G',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
icon: 'http://www.sm-201.org/a/images/b/b6/Circle_g.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{cat|',
pre: "{{cat|AV Idols|Japanese Gravure Models",
post: '}}'
                post:"}}"
}
}
}
}
}
}
}
}
} );
});




 
/* --- Enable button Info:Also:Circle-J */
/* --- Enable button other|cats|!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"!more": {
"Circle-J": {
label: '!more',
label: 'Circle-J',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!more}",
pre: "{{AV Idols} }{{Japanese erotic cinema}",
                                        post:""
                post:"{{Japanese Porn stars}"
}
}
}
}
Line 1,749: Line 1,708:




/* --- Enable button Other:Cats:BondMod */
/* --- Enable button Info:Also:Circle-S -  {{Penthouse Pets 2020|year=}} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
    "cats a": {
"Penthouse": {
label: 'cats a',
label: 'Penthouse',
type: 'button',
type: 'button',
    icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',  
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|actors|actresses|authors}}",
pre: "{{cat|Film and video terminology|Cinematic techniques|Photographic  techniques}}"
                    post:""
}
}
}
}
Line 1,769: Line 1,727:
});
});


/* --- Enable button Other:Cats:Anatomy  */
 
/* --- Enable button Info:Cats:Playboy */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"anatomy": {
"Playboy": {
label: 'anatomy',
label: 'Playboy',
type: 'button',
type: 'button',
    icon: 'http://www.sm-201.org/a/images/e/e0/Editor_a.png',
      icon: 'http://www.sm-201.org/a/images/0/06/Playboy-i.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|bondage artists|erotic artists|fetish artists|spanking artists",
pre: "{{sa-playboy}}",
                    post:"}}"
                                post:""
}
}
}
}
Line 1,789: Line 1,748:
});
});


/* --- Enable button Other:Cats:BondMod */
 
 
/* --- Enable button Info:Cats:spank */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"BondMod": {
"spank": {
label: 'BondMod',
label: 'spank',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
pre: "|Shadow Lane",
                    post:"{{actresses} {{Porn stars}"
                                        post:""
}
}
}
}
Line 1,809: Line 1,770:
});
});


 
/* --- Enable button Info:Cats:Image-dex  */
/* --- Enable button Other:Also:Circle-G */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"Circle-G": {
"magick": {
label: 'Circle-G',
label: 'magick',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Circle_g.png',
icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|AV Idols|Japanese Gravure Models",
pre: "image-dex",
                post:"}}"
                                        post:"",
}
}
}
}
Line 1,830: Line 1,790:
});
});


 
/* --- Enable button Info:Cats:spider pool  */
/* --- Enable button Other:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"Circle-J": {
"spank": {
label: 'Circle-J',
label: 'spider',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{AV Idols} }{{Japanese erotic cinema}",
pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models}}",
                post:"{{Japanese Porn stars}"
                    post:""
}
}
}
}
Line 1,852: Line 1,811:




/* --- Enable button Other:Also:Circle-S -  {{Penthouse Pets 2020|year=}} */
/* --- Enable button Info:Cats:BDSMAuthors */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"Penthouse": {
"Auth": {
label: 'Penthouse',
label: 'BDSMauth',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|Film and video terminology|Cinematic techniques|Photographic  techniques}}"
pre: "{{bdsmauthors}",
                                        post:""
}
}
}
}
Line 1,872: Line 1,832:




/* --- Enable button Other:Cats:Playboy */
 
/* --- Enable button Info:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"Playboy": {
"CT": {
label: 'Playboy',
label: 'CT',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/0/06/Playboy-i.jpg',  
    icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-playboy}}",
pre: "Computer technology",
                                post:""
                                        post:""
}
}
}
}
Line 1,894: Line 1,855:




/* --- Enable button spank */
 
/* --- Enable button sa-bondfurn */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"spank": {
"Furn": {
label: 'spank',
label: 'Furn',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|Shadow Lane",
pre: "{{sa-bondfurn}",
                                         post:""
                                         post:""
}
}
Line 1,914: Line 1,876:
});
});


/* --- Enable button magick */
/* --- Enable button sa-bondpos */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"magick": {
"Pos": {
label: 'magick',
label: 'Pos',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "image-dex",
pre: "{{sa-bondpos}",
                                         post:"",
                                         post:""
}
}
}
}
Line 1,934: Line 1,896:
});
});


/* --- Enable button Other:Cats:spider pool */
/* --- Enable button sa-bondrest */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Info',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"spank": {
"Rest": {
label: 'spider',
label: 'Rest',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models}}",
pre: "{{sa-bondrest}"
                    post:""
}
}
}
}
Line 1,954: Line 1,915:
});
});


 
/* ======================= &&& =========================== */
/* --- Enable button Other:Cats:BDSMAuthors  */
/* Enable section:SM-201 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Infor',
'sections': {
group: 'Cats',
'Refs': {
tools: {
'type': 'toolbar', // Can also be 'booklet'
"Auth": {
'label': 'Refs'
label: 'BDSMauth',
}
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
type: 'encapsulate',
options: {
pre: "{{bdsmauthors}",
                                        post:""
}
}
}
}
}
});
} );






/* --- Enable button Other:Cats:(Computer technology)  */
/* Enable group:Refs: ========================= */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Infor',
    section: 'Refs',
group: 'Cats',
'groups': {
tools: {
'Ref': {
"CT": {
'label': 'Ref'
label: 'CT',
}
}
} );
 
/* Enable group:Notes: ======================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
'groups': {
'Notes': {
'label': 'Notes'
}
}
} );
 
/* --- Enable button Notes:header| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
group: 'Notes',
tools: {
"Needs": {
label: 'Header',
type: 'button',
type: 'button',
    icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "Computer technology",
pre: "{{Header|",
                                         post:""
                                         post:" 04/24}}"
}
}
}
}
}
}
}
}
});
} );




 
/* --- Enable button Notes:headred */
 
/* --- Enable button sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Refs',
group: 'Cats',
group: 'Notes',
tools: {
tools: {
"Furn": {
"Needs": {
label: 'Furn',
label: 'Headred',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
   icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bondfurn}",
pre: "{{Headred|",
                                         post:""
                                         post:" 04/24}}"
}
}
}
}
Line 2,020: Line 1,989:
});
});


/* --- Enable button sa-bondpos */
/* --- Enable button Notes:Defaultsort */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Refs',
group: 'Cats',
group: 'Notes',
tools: {
tools: {
"Pos": {
"{DS}": {
label: 'Pos',
label: '(DS)',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
   icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bondpos}",
pre: "{{DEFAULTSORT:",
                                         post:""
                                         post:"}}"
}
}
}
}
Line 2,040: Line 2,009:
});
});


/* --- Enable button sa-bondrest  */
 
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Infor',
section: 'Refs',
group: 'Cats',
group: 'Notes',
tools: {
tools: {
"Rest": {
'External': {
label: 'Rest',
label: 'External',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bondrest}"
                pre: "== External links ==",
post: '',
}
}
}
}
Line 2,059: Line 2,030:
});
});


/* ======================= &&& =========================== */
/* --- Enable Links:External links*/
/*  Enable section:SM-201 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
'sections': {
group: 'Notes',
'Refs': {
tools: {
'type': 'toolbar', // Can also be 'booklet'
'Mall': {
'label': 'Refs'
label: 'Mall',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/76/Coffee_cup.jpg',
action: {
type: 'encapsulate',
options: {
          pre: "{{mall0|",
  post: '}}<br>'
}
}
}
}
}
}
});
} );


 
/* --- Enable button Notes:footer  */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* Enable group:Refs: ========================= */
section: 'Refs',
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
group: 'Notes',
    section: 'Refs',
tools: {
'groups': {
"Footer": {
'Ref': {
label: 'Footer',
'label': 'Ref'  
type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Footer",
                                      post:"}}"
}
}
}
}
}
}
} );
});


/* Enable group:Notes: ======================== */
/* --- Enable button Notes:Category:needs */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
'groups': {
'Notes': {
'label': 'Notes'
}
}
} );
 
/* --- Enable button Notes:header| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
Line 2,098: Line 2,076:
tools: {
tools: {
"Needs": {
"Needs": {
label: 'Header',
label: 'Needs',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
   icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header|",
pre: "{{Needs}",
                                         post:" 01/24}}"
                                         post:""
}
}
}
}
}
}
}
}
} );
});




/* --- Enable button Notes:headred */
/* --- Enable button Notes:Heads2  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"Needs": {
"A2": {
label: 'Headred',
label: 'Heads2',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
icon: 'http://www.sm-201.org/a/images/e/e9/Button_headline2.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Headred|",
pre: '== ',
                                        post:" 01/24}}"
post: ' =='
}
}
}
}
}
}
}
}
});
} );
 


/* --- Enable button Notes:Defaultsort */
/* --- Enable button Notes:Heads3 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"{DS}": {
"A3": {
label: '(DS)',
label: 'Heads3',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
icon: 'http://www.sm-201.org/a/images/3/3a/Button_headline3.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{DEFAULTSORT:",
pre: '=== ',
                                        post:"}}"
post: ' ==='
}
}
}
}
}
}
}
}
});
} );


 
/* --- Enable Format:Book title */
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
'External': {
"{{Titles": {
label: 'External',
label: 'Titles',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
  icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                pre: "== External links ==",
pre: "'''''",
post: '',
                                        post:"'''''"
}
}
}
}
Line 2,174: Line 2,152:
});
});


/* --- Enable Links:External links*/
/* --- Enable button Notes:Wiki:@  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
'Mall': {
"Needs": {
label: 'Mall',
label: 'Wikimain',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/76/Coffee_cup.jpg',
  icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
          pre: "{{mall0|",
pre: "{{Wikimain|",
  post: '}}<br>'
                                        post:"|_}}"
}
}
}
}
Line 2,194: Line 2,172:
});
});


/* --- Enable button Notes:footer */
 
/* --- Enable button Info|Pro|Imdb etc = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"Footer": {
"Wsec": {
label: 'Footer',
label: 'Wsec',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
   icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Footer",
pre: '{{wikisec|Filmography}}\n\n{{wikisec|Theater}}\n\n',
                                      post:"}}"
post: '{{wikisec|Discography}}\n\n{{wikisec|Bibliography}}\n\n'
}
}
}
}
Line 2,214: Line 2,193:
});
});


/* --- Enable button Notes:Category:needs */
 
/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"Needs": {
"{{Wl|": {
label: 'Needs',
label: '{{wl|',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
   icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Needs}",
pre: "{{Wl|",
                                         post:""
                                         post:"}}"
}
}
}
}
Line 2,234: Line 2,214:
});
});


 
/* --- Enable button Notes:wk5 link */
/* --- Enable button Notes:Heads2  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"A2": {
"{{Wk5|": {
label: 'Heads2',
label: '{{wk5|',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e9/Button_headline2.png',
  icon: 'https://www.sm-201.org/a/images/d/d4/Arrowrt.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '== ',
pre: "{{Wsl|",
post: ' =='
                                        post:"}}"
}
}
}
}
}
}
}
}
} );
});


 
/* --- Enable Format:button [[ link ]] */
/* --- Enable button Notes:Heads3  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"A3": {
"Template": {
label: 'Heads3',
label: 'Link',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/3/3a/Button_headline3.png',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '=== ',
pre:  '[[',
post: ' ==='
post: ']]'
}
}
}
}
Line 2,276: Line 2,254:
} );
} );


/* --- Enable Format:Book title */
 
 
/* --- Enable button Notes:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"{{Titles": {
"Redirect": {
label: 'Titles',
label: 'Redirect',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg',
   icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "'''''",
pre: "#REDIRECT [[",
                                         post:"'''''"
                                         post:"]]"
}
}
}
}
Line 2,296: Line 2,276:
});
});


/* --- Enable button Notes:Wiki:@  */
 
/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"Needs": {
"ReCat": {
label: 'Wikimain',
label: 'ReCat',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png',  
   icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wikimain|",
pre: "#REDIRECT [[]]\n{{Headred|<from> 04/24}}\n",
                                         post:"|_}}"
                                         post:"{{DEFAULTSORT:<from>}}\n{{cat| }}"
}
}
}
}
Line 2,316: Line 2,297:
});
});


 
/* --- Enable button Notes:SHP matrix */
/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Notes',
tools: {
tools: {
"Wsec": {
"SHP": {
label: 'Wsec',
label: 'SHP',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{wikisec|Bibliography}}\n\n{{wikisec|Theater}}\n\n',
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
post: '{{wikisec|Filmography}}\n\n{{wikisec|Discography}}\n\n'
                    post:""
}
}
}
}
Line 2,338: Line 2,318:




/* --- Enable button Notes:Wikilink */
/* Enable group:Refs: ========================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
'groups': {
'Refs': {
'label': 'Refs'
}
}
} );
 
 
/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"{{Wl|": {
"Ref": {
label: '{{wl|',
label: 'RefLink',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',  
      icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wl|",
pre: "<ref>",
                                         post:"}}"
                                         post:"</ref>"
}
}
}
}
Line 2,358: Line 2,349:
});
});


/* --- Enable Format:button [[ link ]] */
/* --- Enable button Refs:<ref> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Template": {
"Note": {
label: 'Link',
label: 'Note',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[',
pre: '<ref group="Note">',
post: ']]'
                    post:"</ref>"
}
}
}
}
}
}
}
}
} );
});


 
/* --- Enable button Refs:<src> */
 
/* --- Enable button Notes:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"Redirect": {
"Src": {
label: 'Redirect',
label: 'Src',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "#REDIRECT [[",
pre: '<ref group="Source">',
                                        post:"]]"
                    post:"</ref>"
}
}
}
}
Line 2,400: Line 2,389:
});
});


 
/* --- Enable button Notes:Calendar  */
/* --- Enable button Notes:Wikilink */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"ReCat": {
"Access": {
label: 'ReCat',
label: 'Access',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png',  
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "#REDIRECT [[]]\n{{Headred|<from> 01/24}}\n",
pre: "accessed = ",
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| }}"
post: ""
}
}
}
}
}
}
}
}
});
} );
 


/* --- Enable button Notes:SHP matrix */
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Notes',
group: 'Refs',
tools: {
tools: {
"SHP": {
"Ref": {
label: 'SHP',
label: 'RefList',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
      icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
pre: "== References ==\n",
                    post:""
                                        post:"<References />"
}
}
}
}
Line 2,441: Line 2,430:
});
});


 
/* --- Enable button Refs:<reflist> */
/* Enable group:Refs: ========================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
'groups': {
'Refs': {
'label': 'Refs'
}
}
} );
 
 
/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Refs',
tools: {
tools: {
"Ref": {
"Note": {
label: 'RefLink',
label: 'Note',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png',  
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<ref>",
pre: '== Notes ==\n',
                                         post:"</ref>"
                                         post:'<references group="Note" />'
}
}
}
}
Line 2,473: Line 2,450:
});
});


/* --- Enable button Refs:<ref> */
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Refs',
tools: {
tools: {
"Note": {
"Ref": {
label: 'Note',
label: 'SrcList',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',  
icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<ref group="Note">',
pre: '== Sources ==\n',
                    post:"</ref>"
                                        post:'<references group="Source" />'
}
}
}
}
Line 2,493: Line 2,470:
});
});


/* --- Enable button Refs:<src> */
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Refs',
tools: {
tools: {
"Src": {
"Needs": {
label: 'Src',
label: '{wref"}',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<ref group="Source">',
pre: '{{wref"|',
                     post:"</ref>"
                     post:"}}"
}
}
}
}
Line 2,513: Line 2,490:
});
});


/* --- Enable button Notes:Calendar  */
 
 
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
'groups': {
tools: {
'Resources': {
"Access": {
'label': 'Resources'  
label: 'Access',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
type: 'encapsulate',
options: {
pre:  "accessed = ",
post: ""
}
}
}
}
}
}
Line 2,534: Line 2,503:




/* --- Enable button Refs:<reflist> */
 
/* --- Enable Format:active */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Resources',
tools: {
tools: {
"Ref": {
"grn": {
label: 'RefList',
label: 'grn',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png',  
icon: 'http://www.sm-201.org/a/images/0/01/B-grn.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "== References ==\n",
pre: ' ( ? active as of 04/24 R/ )',
                                        post:"<References />"
post: ''
}
}
}
}
Line 2,554: Line 2,524:
});
});


/* --- Enable button Refs:<reflist> */
 
/* --- Enable Format:closed*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Resources',
tools: {
tools: {
"Note": {
"red": {
label: 'Note',
label: 'red',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
icon: 'http://www.sm-201.org/a/images/d/db/B-red.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '== Notes ==\n',
pre: ' ( inactive as of 04/24 R/ )',
                                        post:'<references group="Note" />'
post: ''
}
}
}
}
Line 2,574: Line 2,545:
});
});


/* --- Enable button Refs:<reflist> */
 
 
/* --- Enable Resources:map*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Resources',
tools: {
tools: {
"Ref": {
"map": {
label: 'SrcList',
label: 'map',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
icon: 'http://www.sm-201.org/a/images/6/64/Map-blk.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '== Sources ==\n',
pre: '{{gm|',
                                        post:'<references group="Source" />'
post: '}}'
}
}
}
}
Line 2,594: Line 2,567:
});
});


/* --- Enable button Notes:@wr */
 
 
/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Refs',
group: 'Resources',
tools: {
tools: {
"Needs": {
"wk3": {
label: '{wref"}',
label: 'w1',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
   icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{wref"|',
pre: '{{w1|',
                    post:"}}"
post: '}}'
}
}
}
}
Line 2,615: Line 2,590:




 
/* ---- Enable Links:{{ni| */
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
'groups': {
'Resources': {
'label': 'Resources'
}
}
} );
 
 
 
/* --- Enable Format:active */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"grn": {
"{{ni|": {
label: 'grn',
label: '{{ni',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/B-grn.jpg',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: ' ( ? active as of 01/24 R/ )',
pre: "{{ni|",
post: ''
                    post:"}}"
}
}
}
}
Line 2,649: Line 2,611:




/* --- Enable Format:closed*/
/* --- Enable button Other:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"red": {
"web": {
label: 'red',
label: 'web',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/db/B-red.jpg',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: ' ( inactive as of 01/24 R/ )',
pre: "{{website|",
post: ''
                    post:"}}"
}
}
}
}
Line 2,669: Line 2,631:
});
});


 
/* --- Enable Format:Strike through*/
 
/* --- Enable Resources:map*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"map": {
"Strike": {
label: 'map',
label: 'Strike',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/64/Map-blk.jpg',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{gm|',
pre:  '<s>',
post: '}}'
post: '</s>'
}
}
}
}
Line 2,691: Line 2,651:
});
});


 
/* --- Enable button Info|Pers|cause */
 
/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"wk3": {
"Died": {
label: 'w1',
label: 'died',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{w1|',
pre: "{{dag}}",
post: '}}'
                    post:""
}
}
}
}
Line 2,714: Line 2,672:




/* ---- Enable Links:{{ni| */
/* --- Enable button Resources:Category2  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"{{ni|": {
"Cats": {
label: '{{ni',
label: 'Category',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{ni|",
pre: '{{cat|',
                    post:"}}"
post: '}}'
}
}
}
}
}
}
}
}
});
} );


 
/* --- Enable button Resources:Category2 */
/* --- Enable button Other:Cats:spider pool */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"web": {
"LGBT": {
label: 'web',
label: 'LGBT',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{website|",
pre: 'LGBT films ',
                    post:"}}"
post: ''
}
}
}
}
}
}
}
}
});
} );
 
/* --- Enable button Resources:Category2  */
/* --- Enable Format:Strike through*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"Strike": {
"New": {
label: 'Strike',
label: 'New',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<s>',
pre:  '{{header| 04/24}}{{DEFAULTSORT: }}\n',
post: '</s>'
post: '== External links ==\n\n{{footer}}\n{{cat|}}'
}
}
}
}
}
}
}
}
});
} );
 
 


/* --- Enable button Info|Pers|cause */
/* --- Enable button artdex  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"Died": {
"note": {
label: 'died',
label: 'none',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{dag}}",
pre: "File:none.jpg|",
                    post:""
                                        post:""
}
}
}
}
Line 2,796: Line 2,754:




/* --- Enable button Resources:Category2  */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
 
/* --- Enable Refs:Resources:sup */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"Cats": {
"sup": {
label: 'Category',
label: 'sup',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
  icon: 'http://www.sm-201.org/a/images/7/74/Button_comment.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{cat|',
pre: "<sup>",
post: '}}'
                    post:"</sup>"
}
}
}
}
}
}
}
}
} );
});
 
/* --- Enable Refs:Resources mag */
/* --- Enable button Resources:Category2  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Resources',
tools: {
tools: {
"LGBT": {
"mag": {
label: 'LGBT',
label: 'mag',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
   icon: 'https://www.sm-201.org/a/images/7/71/Mag.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: 'LGBT films ',
pre: " {{o}}",
post: ''
                    post:""
}
}
}
}
}
}
}
}
} );
});
/* --- Enable button Resources:Category2  */
 
 
 
 
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
'groups': {
tools: {
'Shopping': {
"New": {
'label': 'Shopping'  
label: 'New',
}
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg',
action: {
type: 'encapsulate',
options: {
pre: '{{header| 01/24}}{{DEFAULTSORT: }}\n',
post: '== External links ==\n\n{{footer}}\n{{cat|}}'
}
}
}
}
}
} );
} );




 
/* --- Enable button Res|Shopping|defnct| */
/* --- Enable button artdex */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Shopping',
tools: {
tools: {
"note": {
"DoS": {
label: 'none',
label: 'DoS',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "File:none.jpg|",
pre: "([[Dreams of Spanking]])",
                                         post:""
                                         post:""
}
}
Line 2,877: Line 2,829:
});
});


 
/* --- Enable button Refs:<src> */
 
 
/* --- Enable Refs:Resources:sup */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Shopping',
tools: {
tools: {
"sup": {
"Src": {
label: 'sup',
label: 'Src',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/7/74/Button_comment.png',
   icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<sup>",
pre: '== Sources ==\n',
                     post:"</sup>"
                     post:'<references group="Source" />'
}
}
}
}
Line 2,899: Line 2,848:
}
}
});
});
/* --- Enable Refs:Resources mag */
 
/* --- Enable button Res|Shopping|LatexWiki|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Shopping',
tools: {
tools: {
"mag": {
"lw": {
label: 'mag',
label: 'lw',
type: 'button',
type: 'button',
   icon: 'https://www.sm-201.org/a/images/7/71/Mag.png',
   icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: " {{o}}",
pre: "{{sa-leather working}}",
                     post:""
                     post:""
}
}
Line 2,920: Line 2,870:




 
/* --- Enable button Notes:footer  
 
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
'groups': {
'Shopping': {
'label': 'Shopping'
}
}
} );
 
 
/* --- Enable button  Res|Shopping|defnct|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Shopping',
group: 'Shopping',
tools: {
tools: {
"DoS": {
"{{fc|": {
label: 'DoS',
label: '{{fc|',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "([[Dreams of Spanking]])",
    pre: "{{sa-fetish attire}}\n{{sa-clothing}}",
                                        post:""
post: "{{cat|Fetish clothing}}"
}
}
}
}
}
}
}
}
});
}); */
 
 
/* --- Enable button Refs:<src> */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
 
section: 'Refs',
/* --- Enable button Notes:footer */
group: 'Shopping',
tools: {
"Src": {
label: 'Src',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
type: 'encapsulate',
options: {
pre: '== Sources ==\n',
                    post:'<references group="Source" />'
}
}
}
}
});
 
/* --- Enable button Res|Shopping|LatexWiki| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Shopping',
group: 'Shopping',
tools: {
tools: {
"latexwiki": {
"{{w|": {
label: 'latexwiki',
label: 'w',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
   icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "LatexWiki",
    pre: "westerns rework",
                    post:""
post: ""
}
}
}
}
}
}
}
}
});
})




Line 2,999: Line 2,918:
group: 'Shopping',
group: 'Shopping',
tools: {
tools: {
"{{fg|": {
"{{cm|": {
label: '{{fg|',
label: '{{cm|',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
   icon: 'https://www.sm-201.org/a/images/1/13/Lyre-clip.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{fg|",
    pre: "{{cat-mus|",
                                      post:"}}"
post: "Dance}}"
}
}
}
}
Line 3,025: Line 2,944:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: " {{New}} (01/24)",
pre: " {{New}} (04/24)",
                     post:""
                     post:""
}
}

Revision as of 20:43, 24 April 2024

var customizeToolbar = function () {
/* stable as of 2024-0401 */

/* ================================================== 
/*  Enable section:Heads */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'Heads': {
			'type': 'toolbar', // Can also be 'booklet'screen
			'label': 'Heads'
	}
	}
} );

/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	'groups': {
		'Format': {
			'label': 'Format' 
		}
	}
} );


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Comment": {
			label: 'Comment',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<!-- ',
					post: ' -->'
				}
			}
		}
	}
} );

/* --- Enable Format:Apostrophe */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Apostrope": {
			label: 'Apostrophe',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/39/Editor_apos.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "'",
					post: "'"
				}
			}
		}
	}
} );

/* --- Enable Format:Apostrophe */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"* italics": {
			label: '*IT',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/39/Editor_apos.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "* ''",
					post: "''"
				}
			}
		}
	}
} );


/* --- Enable Format:button Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Quotes": {
			label: 'Quotes',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '"',
					post: '"',
				}
			}
		}
	}
});

/* --- Enable Format:List Item */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Item2": {
			label: 'Item2',
			type: 'button',
icon: 'http://sm-201.org/a/images/7/79/Button_item.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: '* [[',
					post: ']]' 
				}
			}
		}
	}
});

/* --- Enable Format:Template Dot */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Dot": {
			label: 'Dot',
			type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: ' • [[',
					post: ']]' 
				}
			}
		}
	}
});


/* --- Enable Format:Template Dot */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Dot": {
			label: 'Dot',
			type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: ' • ',
					post: '' 
				}
			}
		}
	}
});
/* --- Enable Format:Tempate:BC */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"{{bc": {
			label: '{{bc',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{bc|",
                    post:"}}"
				}
			}
		}
	}
});

 
/* --- Enable Format:<clear /> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Clear": {
			label: 'Clear',
			type: 'button',
icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '<br clear="all"> ',
					post: '' 
				}
			}
		}
	}
});
 

/* --- Enable Format:Underline */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Underline": {
			label: 'Underline',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/73/Editor_ul.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "<u>",
					post: "</u>",
				}
			}
		}
	}
});

/* --- Enable Format:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Strike": {
			label: 'Strike',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<s>',
					post: '</s>',
				}
			}
		}
	}
});

/* --- Enable Format:button [[ link ]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Template": {
			label: 'Link',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[',
					post: ']]'
				}
			}
		}
	}
} );

/* --- Enable Format:button {{ }} */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'format',
	tools: {
		"Template": {
			label: 'Template',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{",
					post: "}}"
				}
			}
		}
	}
} );

/* --- Enable Format:button parenthesis */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Parenthesis": {
			label: 'Paren',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/4/49/Button_%28_%29.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '(',
					post: ')',
				}
			}
		}
	}
});

/* --- Enable Format:button moz-column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Columns": {
			label: 'Columns',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "<div style='-moz-column-count:2; column-count:2;'>",
					post: "</div>",
				}
			}
		}
	}
});

/* --- Enable Format:button Center */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Center": {
			label: 'Center',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<center>',
					post: '</center>',
				}
			}
		}
	}
});

/* --- Enable Format:button Justify */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Format',
	tools: {
		"Justify": {
			label: 'Justify',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/0f/Button_just.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<p align="justify">',
					post: '</p>',
				}
			}
		}
	}
});

/* Enable Group:Inc:  ================================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	'groups': {
		'Inc': {
			'label': 'Inc' 
		}
	}
} );

/* --- Enable button Inc:Includeonly */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Inc',
	tools: {
		"Incl": {
			label: 'Incl',
			type: 'button',
   icon: 'http://www.sm-201.org/a/images/3/3b/Button_in.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "<includeonly>",
                                        post:"</includeonly>"
				}
			}
		}
	}
});

/* --- Enable button Inc:Noinclude */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Inc',
	tools: {
		"Noinclude": {
			label: 'Noinclude',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "<noinclude>",
                                        post:"</noinclude>"
				}
			}
		}
	}
});

/* --- Enable button Inc:Nowiki */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Inc',
	tools: {
		"Nowiki": {
			label: 'Nowiki',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/a/a6/Button_quiet.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "<nowiki>",
                                        post:"</nowiki>"
				}
			}
		}
	}
});


/* Enable group:SM-201:Cats  ============================ */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Heads',
	'groups': {
		'Cats': {
			'label': 'Cats' 
		}
	}
} );

/* --- Enable button Cats:Category  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Cats',
	tools: {
		"Cats": {
			label: 'Category',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[Category:',
					post: ']]'
				}
			}
		}
	}
} );


/* --- Enable button Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Cats',
	tools: {
		"Cats": {
			label: 'Category',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{cat|',
					post: '}}'
				}
			}
		}
	}
} );


/* --- Enable button SM201|Cats:{{lc */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Cats',
	tools: {
		"{{lc": {
			label: '{{lc',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/3/36/Button_lc.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "{{lc|",
					post: "}}"
				}
			}
		}
	}
});


/* --- Enable Other:Talk:Date chg*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Cats',
	tools: {
		"date": {
			label: 'date',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'Apr 01, 2024',
					post: ''
				}
			}
		}
	}
} );

/* Main Links ======================================= */


/* Enable group:Links: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	'groups': {
		'Links': {
			'label': 'Links' 
		}
	}
} );


/* ---- Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"Links": {
			label: 'See also',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_see-also.png',
			action: {
				type: 'encapsulate',
				options: {
		pre: "{{sa|",
                post:"}}"
				}
			}
		}
	}
});

/* ### So far, so good */


/* ---- Enable Links:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Sanity',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
		pre: "{{Sanity check|04/24|R/}}",
                post:""
				}
			}
		}
	}
});


/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Link OK',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Site-ok|04/24 R/}} ",
                    post:""
				}
			}
		}
	}
});

/* ---- Enable Links:Red */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"Links": {
			label: 'Bad link',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Site-red|04/24 R/}}{{Site-def|04/24 R/}}",
                    post:"{{Site-hij|04/24 R/}}"
				}
			}
		}
	}
});


/* --- Enable Links:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"Strike": {
			label: 'Strike',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<s>',
					post: '</s>',
				}
			}
		}
	}
});


/* --- Enable button SM-201|Links|From template  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"from": {
			label: 'from',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{from website|[web url name page on Tokyo.to]",
                    post:"|04/24}}"
				}
			}
		}
	}
});

/* ---- Enable Links:<br> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Links',
	tools: {
		"Links": {
			label: '<br>',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c7/Button_cr.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "<br>",
                    post:""
				}
			}
		}
	}
});



/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	'groups': {
		'Files': {
			'label': 'Files' 
		}
	}
} );

/* --- Enable Files:Copyright unknown */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"Copy": {
			label: 'Copy',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'Copyright info not available/ownership unknown',
					post: ''
				}
			}
		}
	}
} );



/* --- Enable Files:{{fs */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"{fs": {
			label: '{fs',
			type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '.',
					post: '.'
				}
			}
		}
	}
} );

/* --- Enable Files:Mo/Yr */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"Date": {
			label: 'Date',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '04/24',
					post: ''
				}
			}
		}
	}
} );



/* --- Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"rasw": {
			label: 'rasw',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '* {{rasw|',
					post: '}'
				}
			}
		}
	}
} );

/* --- Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"Thumb": {
			label: 'Thumb',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/6f/Button_thumb.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[File:',
					post: '|thumb|right|200px|{{bc|}}]]'
				}
			}
		}
	}
} );


/* --- Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"Gallery": {
			label: 'Gallery',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<gallery mode="packed" heights="200px" caption=""> ',
					post: '</gallery>'
				}
			}
		}
	}
} );


/* --- Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"bpswi": {
			label: 'bpswi',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'file:|{{bpswi|',
					post: '|wk=1| }}'
				}
			}
		}
	}
} );

/* --- Enable button Heads:Files:'File:' */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"File:": {
			label: 'File:',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "American burlesque performers",
                                      post:""
				}
			}
		}
	}
});


/* --- Enable Files:{{ndib */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"ndib": {
			label: 'ndib',
			type: 'button',
    icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'dib',
					post: '.jpg'
				}
			}
		}
	}
} );

/* --- Enable Files:Screenies */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Heads',
	group: 'Files',
	tools: {
		"Screenies": {
			label: 'Screenies',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/0a/Button_screenie.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[MOVB]] screenies for ',
					post: ''
				}
			}
		}
	}
} );
/* Enable section:Page =============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
   'sections': {
		'Info': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'Info'
	}
	}
} );


/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Page': {
			'label': 'Page' 
		}
	}
} );

/* --- Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Model": {
			label: 'Model',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Infobox model",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable Pornstar */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Model": {
			label: 'Model',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
			action: {
				type: 'encapsulate',
				options: {
	                                pre:  '{{Infobox pornstar}',
					post: ''
				}
			}
		}
	}
} );


/* --- Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Pornstud": {
			label: 'Model',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Infobox pornstud",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Film-cat": {
			label: 'Film-cat',
			type: 'button',
      icon: 'https://www.sm-201.org/a/images/b/bd/Cat-film.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "Film making",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Notes:top-tg  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"top-tg": {
			label: 'Top-tg',
			type: 'button',
icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{top-tg|add=vedette and}}',
					post: ''
				}
			}
		}
	}
} );

/* --- Enable button Notes:toporn  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"toporn": {
			label: 'top',
			type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{toporn|add=}}',
					post: ''
				}
			}
		}
	}
} );

/* --- Enable button Japan cinema  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"Japorn": {
			label: 'Japorn',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Japanese erotic cinema {{Japanese porn stars",
                    post:""
				}
			}
		}
	}
});


/* --- Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"porn": {
			label: 'sa-porn',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-porn}} {{porn stars {{porn",
                    post:""
				}
			}
		}
	}
});


/* --- Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Page',
	tools: {
		"bond": {
			label: 'sa-bond',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bond}}{{bondmods}}",
                    post:""
				}
			}
		}
	}
});

/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Pers': {
			'label': 'Pers' 
		}
	}
} );



/* --- Enable button Info|Pers|Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"name": {
			label: 'name',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|         name = ",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Info:Pers:rose */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"rose": {
			label: 'rose',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "| color     = mistyrose",
                                        post:""
				}
			}
		}
	}
} );


/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"blue": {
			label: 'blank',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "| color     = lightblue",
					post: ""
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"birth": {
			label: 'birth',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|    birthdate = {{dob\n|    birthname = {{dob\n|',
					post: '|   birthplace = \n|        alias = \n' 
				}
			}
		}
	}
});


/* --- Enable button Info|Pera|Birth etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"birth": {
			label: 'birth',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|    deathdate = {{dob\n|   deathcause = {{dob\n|',
					post: '|    deathplace = \n|        alias = \n' 
				}
			}
		}
	}
});

/* --- Enable button Info|Pers|Personal etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Pers": {
			label: 'Pers',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|       spouse = {{dob\n||    children  = n|',
					post: '|   education  = \n|        alias = \n' 
				}
			}
		}
	}
});

/* --- Enable button Porn|Pers:{Star} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Star": {
			label: '{Star}',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/14/Button_star2.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{star}}"
				}
			}
		}
	}
});

/* --- Enable button Info|Pers|Dag */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Dag": {
			label: 'dag',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{dag}}",
                                        post:""
				}
			}
		}
	}
});


/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Vitals': {
			'label': 'Vitals' 
		}
	}
} );


/* --- Enable Info:Vitals:vlabel button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Vitals',
	tools: {
		"Vitals": {
			label: 'vlabel',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg', 
			action: {
				type: 'encapsulate',
				options: {
pre:  "|       vitals = {{vitals||||}}\n|    eye color = \n|   hair color = \n",
post: "|       height = {{ht||}}\n|       weight = {{wt|}}"
				}
			}
		}
	}
});

/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Insex': {
			'label': 'Insex' 
		}
	}
} );


/* --- Enable button Info|Insex|DevBond, etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Insex',
	tools: {
		"CatDB": {
			label: 'CatDB',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'Device Bondage models',
					post: '' 
				}
			}
		}
	}
});

/* --- Enable button Info|Insex|sx */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Insex',
	tools: {
		"sx": {
			label: 'sx',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{sx|',
                    post:"}}"
				}
			}
		}
	}
});


/* --- Enable Info:Insex:link  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Insex',
	tools: {
		"Template": {
			label: 'Link',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[',
					post: ']]'
				}
			}
		}
	}
} );


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Pro': {
			'label': 'Pro' 
		}
	}
} );


/* --- Enable button Info|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Genre": {
			label: 'Genre',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
			action: {
				type: 'encapsulate',
				options: {
pre:  "|        genre = \n|         solo = [[Masturbation]], [[Dildo]]\n",
post: "|      lesbian = [[Softcore]], [[Dildo]]\n|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]"
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Specs": {
			label: 'Specialty',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{porn stars",
                                     post:""
				}
			}
		}
	}
});

/* --- Enable button Info|Pro|Name  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"years": {
			label: 'years',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|  yearsactive = ",
                                      post:""
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|cat=Mistresses  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Mistresses": {
			label: 'Mistresses',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '[[Category:Mistresses]]',
					post: '' 
				}
			}
		}
	}
});


/* --- Enable button Info:Pro:Penthouse  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"Penthouse": {
			label: 'Penthouse',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png', 
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{Penthouse Pets 2020|year=}}",
                                post:""
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"imdb": {
			label: 'imdb',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre:  '|         iafd = \n|         imdb = \n',
					post: '|         afdb = \n|         wiki = \n' 
				}
			}
		}
	}
});

/* --- Enable button Info|Pers:{cat} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"cat": {
			label: 'cat',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-porn}}{{footer}}{{porn stars}}"
				}
			}
		}
	}
});


/* =================== group cats enable ========== */


/* Enable group:Info:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Cats': {
			'label': 'Cats'
		}
	}
} );


/* --- Enable button Cats:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Cats": {
			label: 'Category',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{cat|',
					post: '}}'
				}
			}
		}
	}
} );



/* --- Enable button info|cats|!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"!more": {
			label: '!more',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{!more}",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Info:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
	     "cats a": {
			label: 'cats a',
			type: 'button',
     icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cat|actors|actresses|authors}}",
                    post:""
				}
			}
		}
	}
});

/* --- Enable button Info:Cats:Anatomy  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"anatomy": {
			label: 'anatomy',
			type: 'button',
     icon: 'http://www.sm-201.org/a/images/e/e0/Editor_a.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cat|bondage artists|erotic artists|fetish artists|spanking artists",
                    post:"}}"
				}
			}
		}
	}
});

/* --- Enable button Info:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"BondMod": {
			label: 'BondMod',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
                    post:"{{actresses} {{Porn stars}"
				}
			}
		}
	}
});


/* --- Enable button Info:Cats:Circle-G */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Circle-G": {
			label: 'Circle-G',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Circle_g.png',
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{cat|AV Idols|Japanese Gravure Models",
                post:"}}"
				}
			}
		}
	}
});


/* --- Enable button Info:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Circle-J": {
			label: 'Circle-J',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png', 
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{AV Idols} }{{Japanese erotic cinema}",
                post:"{{Japanese Porn stars}"
				}
			}
		}
	}
});


/* --- Enable button Info:Also:Circle-S  -  {{Penthouse Pets 2020|year=}} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Penthouse": {
			label: 'Penthouse',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png', 
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{cat|Film and video terminology|Cinematic techniques|Photographic  techniques}}"
				}
			}
		}
	}
});


/* --- Enable button Info:Cats:Playboy */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Playboy": {
			label: 'Playboy',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/0/06/Playboy-i.jpg', 
		action: {
				type: 'encapsulate',
				options: {
				pre: "{{sa-playboy}}",
                                post:""
				}
			}
		}
	}
});



/* --- Enable button Info:Cats:spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"spank": {
			label: 'spank',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|Shadow Lane",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable button Info:Cats:Image-dex  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"magick": {
			label: 'magick',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "image-dex",
                                        post:"",
				}
			}
		}
	}
});

/* --- Enable button Info:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"spank": {
			label: 'spider',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models}}",
                    post:""
				}
			}
		}
	}
});


/* --- Enable button Info:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Auth": {
			label: 'BDSMauth',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{bdsmauthors}",
                                        post:""
				}
			}
		}
	}
});



/* --- Enable button Info:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"CT": {
			label: 'CT',
			type: 'button',
     icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "Computer technology",
                                        post:""
				}
			}
		}
	}
});




/* --- Enable button sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Furn": {
			label: 'Furn',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bondfurn}",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable button sa-bondpos  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Pos": {
			label: 'Pos',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bondpos}",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable button sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Cats',
	tools: {
		"Rest": {
			label: 'Rest',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-bondrest}"
				}
			}
		}
	}
});

/* ======================= &&& =========================== */
/*  Enable section:SM-201 */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	'sections': {
		'Refs': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'Refs'
	}
	}
} );



/* Enable group:Refs: ========================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
	'groups': {
		'Ref': {
			'label': 'Ref' 
		}
	}
} );

/* Enable group:Notes: ======================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
	'groups': {
		'Notes': {
			'label': 'Notes' 
		}
	}
} );

/* --- Enable button Notes:header| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Needs": {
			label: 'Header',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Header|",
                                        post:" 04/24}}"
				}
			}
		}
	}
} );


/* --- Enable button Notes:headred */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Needs": {
			label: 'Headred',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Headred|",
                                        post:" 04/24}}"
				}
			}
		}
	}
});

/* --- Enable button Notes:Defaultsort  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"{DS}": {
			label: '(DS)',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{DEFAULTSORT:",
                                        post:"}}"
				}
			}
		}
	}
});


/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		'External': {
			label: 'External',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
			action: {
				type: 'encapsulate',
				options: {
		                pre: "== External links ==",
				post: '',
				}
			}
		}
	}
});

/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		'Mall': {
			label: 'Mall',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/76/Coffee_cup.jpg',
			action: {
				type: 'encapsulate',
				options: {
		           pre: "{{mall0|",
				   post: '}}<br>'
				}
			}
		}
	}
});

/* --- Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Footer": {
			label: 'Footer',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Footer",
                                      post:"}}"
				}
			}
		}
	}
});

/* --- Enable button Notes:Category:needs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Needs": {
			label: 'Needs',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Needs}",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Notes:Heads2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"A2": {
			label: 'Heads2',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e9/Button_headline2.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '== ',
					post: ' =='
				}
			}
		}
	}
} );


/* --- Enable button Notes:Heads3  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"A3": {
			label: 'Heads3',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/3/3a/Button_headline3.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '=== ',
					post: ' ==='
				}
			}
		}
	}
} );

/* --- Enable Format:Book title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"{{Titles": {
			label: 'Titles',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "'''''",
                                        post:"'''''"
				}
			}
		}
	}
});

/* --- Enable button Notes:Wiki:@  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Needs": {
			label: 'Wikimain',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/8/82/Wikilogo-20.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wikimain|",
                                        post:"|_}}"
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Wsec": {
			label: 'Wsec',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{wikisec|Filmography}}\n\n{{wikisec|Theater}}\n\n',
					post: '{{wikisec|Discography}}\n\n{{wikisec|Bibliography}}\n\n' 
				}
			}
		}
	}
});


/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"{{Wl|": {
			label: '{{wl|',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wl|",
                                        post:"}}"
				}
			}
		}
	}
});

/* --- Enable button Notes:wk5 link */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"{{Wk5|": {
			label: '{{wk5|',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/d/d4/Arrowrt.jpg', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wsl|",
                                        post:"}}"
				}
			}
		}
	}
});

/* --- Enable Format:button [[ link ]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Template": {
			label: 'Link',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '[[',
					post: ']]'
				}
			}
		}
	}
} );



/* --- Enable button Notes:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"Redirect": {
			label: 'Redirect',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/c/c8/Button_redirect.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "#REDIRECT [[",
                                        post:"]]"
				}
			}
		}
	}
});


/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"ReCat": {
			label: 'ReCat',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "#REDIRECT [[]]\n{{Headred|<from> 04/24}}\n",
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| }}"
				}
			}
		}
	}
});

/* --- Enable button Notes:SHP matrix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Notes',
	tools: {
		"SHP": {
			label: 'SHP',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
                    post:""
				}
			}
		}
	}
});


/* Enable group:Refs: ========================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
	'groups': {
		'Refs': {
			'label': 'Refs' 
		}
	}
} );


/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Ref": {
			label: 'RefLink',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "<ref>",
                                        post:"</ref>"
				}
			}
		}
	}
});

/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Note": {
			label: 'Note',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '<ref group="Note">',
                    post:"</ref>"
				}
			}
		}
	}
});

/* --- Enable button Refs:<src> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Src": {
			label: 'Src',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '<ref group="Source">',
                    post:"</ref>"
				}
			}
		}
	}
});

/* --- Enable button Notes:Calendar  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Access": {
			label: 'Access',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "accessed = ",
					post: ""
				}
			}
		}
	}
} );


/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Ref": {
			label: 'RefList',
			type: 'button',
      icon: 'http://www.sm-201.org/a/images/3/32/Button_reflist.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "== References ==\n",
                                        post:"<References />"
				}
			}
		}
	}
});

/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Note": {
			label: 'Note',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '== Notes ==\n',
                                        post:'<references group="Note" />'
				}
			}
		}
	}
});

/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Ref": {
			label: 'SrcList',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '== Sources ==\n',
                                        post:'<references group="Source" />'
				}
			}
		}
	}
});

/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Refs',
	tools: {
		"Needs": {
			label: '{wref"}',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{wref"|',
                    post:"}}"
				}
			}
		}
	}
});



/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	'groups': {
		'Resources': {
			'label': 'Resources' 
		}
	}
} );



/* --- Enable Format:active */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"grn": {
			label: 'grn',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/B-grn.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  ' ( ? active as of 04/24 R/ )',
					post: ''
				}
			}
		}
	}
});


/* --- Enable Format:closed*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"red": {
			label: 'red',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/db/B-red.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  ' ( inactive as of 04/24 R/ )',
					post: ''
				}
			}
		}
	}
});



/* --- Enable Resources:map*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"map": {
			label: 'map',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/6/64/Map-blk.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{gm|',
					post: '}}'
				}
			}
		}
	}
});



/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"wk3": {
			label: 'w1',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{w1|',
					post: '}}' 
				}
			}
		}
	}
});


/* ---- Enable Links:{{ni| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"{{ni|": {
			label: '{{ni',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{ni|",
                    post:"}}"
				}
			}
		}
	}
});


/* --- Enable button Other:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"web": {
			label: 'web',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{website|",
                    post:"}}"
				}
			}
		}
	}
});

/* --- Enable Format:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"Strike": {
			label: 'Strike',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/c/c9/Button_strike.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '<s>',
					post: '</s>'
				}
			}
		}
	}
});

/* --- Enable button Info|Pers|cause */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"Died": {
			label: 'died',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{dag}}",
                    post:""
				}
			}
		}
	}
});


/* --- Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"Cats": {
			label: 'Category',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{cat|',
					post: '}}'
				}
			}
		}
	}
} );

/* --- Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"LGBT": {
			label: 'LGBT',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  'LGBT films ',
					post: ''
				}
			}
		}
	}
} );
/* --- Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"New": {
			label: 'New',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{header| 04/24}}{{DEFAULTSORT: }}\n',
					post: '== External links ==\n\n{{footer}}\n{{cat|}}'
				}
			}
		}
	}
} );



/* --- Enable button artdex  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"note": {
			label: 'none',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "File:none.jpg|",
                                        post:""
				}
			}
		}
	}
});




/* --- Enable Refs:Resources:sup */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"sup": {
			label: 'sup',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/7/74/Button_comment.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "<sup>",
                    post:"</sup>"
				}
			}
		}
	}
});
/* --- Enable Refs:Resources mag */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"mag": {
			label: 'mag',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/7/71/Mag.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: " {{o}}",
                    post:""
				}
			}
		}
	}
});




/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	'groups': {
		'Shopping': {
			'label': 'Shopping' 
		}
	}
} );


/* --- Enable button  Res|Shopping|defnct|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"DoS": {
			label: 'DoS',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "([[Dreams of Spanking]])",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable button Refs:<src> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"Src": {
			label: 'Src',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '== Sources ==\n',
                    post:'<references group="Source" />'
				}
			}
		}
	}
});

/* --- Enable button Res|Shopping|LatexWiki|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"lw": {
			label: 'lw',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{sa-leather working}}",
                    post:""
				}
			}
		}
	}
});


/* --- Enable button Notes:footer  
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"{{fc|": {
			label: '{{fc|',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
			action: {
				type: 'encapsulate',
				options: {
    pre: "{{sa-fetish attire}}\n{{sa-clothing}}",
	post: "{{cat|Fetish clothing}}"
				}
			}
		}
	}
}); */



/* --- Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"{{w|": {
			label: 'w',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png', 
			action: {
				type: 'encapsulate',
				options: {
    pre: "westerns rework",
	post: ""
				}
			}
		}
	}
})


/* --- Enable button Notes:footer  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"{{cm|": {
			label: '{{cm|',
			type: 'button',
  icon: 'https://www.sm-201.org/a/images/1/13/Lyre-clip.png',
			action: {
				type: 'encapsulate',
				options: {
    pre: "{{cat-mus|",
	post: "Dance}}"
				}
			}
		}
	}
});
/* --- Enable button Res|New */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"New": {
			label: 'new',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: " {{New}} (04/24)",
                    post:""
				}
			}
		}
	}
});

/* --- Enable button Res|Shopping latex  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"$ ltx": {
			label: '$ ltx',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/fa/Balloon.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "Shopping:Latex",
                    post:""
				}
			}
		}
	}
});

/* --- Enable button Res|Shopping|Shopping (defunct) |  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"s (d)": {
			label: 's (d)',
			type: 'button',
     icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{cat|Shopping (defunct)|",
                                        post:"}}"
				}
			}
		}
	}
});

__NOCAT__ 
/* Leave everything below this line alone ===================== */
};

/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {
	mw.loader.using( 'user.options' ).then( function () {
		// This can be the string "0" if the user disabled the preference ([[phab:T54542#555387]])
		if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {
			$.when(
				mw.loader.using( 'ext.wikiEditor' ), $.ready
			).then( customizeToolbar );
		}
	} );
}