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
Line 719: Line 719:
});
});


/* Enable group:Notes: ======================== */
/* Main Links ======================================= */
 
/* Enable group:Links: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
section: 'SM-201',
'groups': {
'groups': {
'Notes': {
'Links': {
'label': 'Notes'  
'label': 'Links'  
}
}
}
}
Line 730: Line 732:




/* --- Enable button Notes:header| */
/* ---- Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"Needs": {
"Links": {
label: 'Header',
label: 'See also',
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/c/c7/Button_see-also.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header|",
pre: "{{sa|",
                                        post:" 06/23}}"
                post:"}}"
}
}
}
}
}
}
}
}
} );
});
 
/* ### So far, so good */




/* --- Enable button Notes:headred */
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"Needs": {
'External': {
label: 'Headred',
label: 'External',
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/e3/Editor_e.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Headred|",
                pre: "== External links ==",
                                        post:" 06/23}}"
post: '',
}
}
}
}
Line 771: Line 775:
});
});


/* --- Enable button Notes:Defaultsort  */
/* ---- Enable Links:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"{DS}": {
"Links": {
label: '(DS)',
label: 'Sanity',
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/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{DEFAULTSORT:",
pre: "{{Sanity check|06/23|R/}}",
                                        post:"}}"
                post:""
}
}
}
}
Line 792: Line 796:




/* --- Enable button Notes:footer  */
/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"Footer": {
"Links": {
label: 'Footer',
label: 'Link OK',
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/f/f1/Editor_y.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Footer",
pre: "{{Site-ok|06/23 R/}} ",
                                      post:"}}"
                    post:""
}
}
}
}
Line 812: Line 816:
});
});


/* --- Enable button Notes:Category:needs */
/* ---- Enable Links:Red */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"Needs": {
"Links": {
label: 'Needs',
label: 'Footer',
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/0/0e/Editor_n.png',
Line 824: Line 828:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Needs}",
pre: "{{Site-red|06/23 R/}}{{Site-def|06/23 R/}}",
                                        post:""
                    post:"{{Site-hij|06/23 R/}}"
}
}
}
}
Line 833: Line 837:




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




/* --- Enable button Notes:Heads3 */
/* --- Enable button SM-201|Links|From template */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"A3": {
"from": {
label: 'Heads3',
label: 'from',
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/b/bc/Cat-spider.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '=== ',
pre: "{{from website|[web url name page on Tokyo.to]",
post: ' ==='
                    post:"|06/23}}"
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Notes:Wiki:@  */
/* ---- Enable Links:<br> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"Needs": {
"Links": {
label: 'Wikimain',
label: '<br>',
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/c/c7/Button_cr.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wikimain|",
pre: "<br>",
                                        post:"|_}}"
                    post:""
}
}
}
}
Line 895: Line 899:




/* --- Enable button Info|Pro|Imdb etc =  */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* Enable Group:Files: ============================== */
section: 'Refs',
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
group: 'Notes',
section: 'SM-201',
'groups': {
'Files': {
'label': 'Files'
}
}
} );
 
/* --- Enable Files:Copyright unknown */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
tools: {
"Wsec": {
"Copy": {
label: 'Wsec',
label: 'Copy',
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/e/eb/Button_@.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{wikisec|Bibliography}}\n\n{{wikisec|Theater}}\n\n',
pre:  'Copyright info not available/ownership unknown',
post: '{{wikisec|Filmography}}\n\n{{wikisec|Discography}}\n\n'  
post: ''
}
}
}
}
}
}
}
}
});
} );
 




/* --- Enable button Notes:Wikilink */
/* --- Enable Files:{{fs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Files',
tools: {
tools: {
"{{Wl|": {
"{fs": {
label: '{{wl|',
label: '{fs',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',  
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wl|",
pre: '.',
                                        post:"}}"
post: '.'
}
}
}
}
}
}
}
}
});
} );


 
/* --- Enable Files:Mo/Yr */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable button Notes:Redirect */
section: 'SM-201',
$('#wpTextbox1').wikiEditor('addToToolbar', {
group: 'Files',
section: 'Refs',
group: 'Notes',
tools: {
tools: {
"Redirect": {
"Date": {
label: 'Redirect',
label: 'Date',
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/0/01/Button-cal.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "#REDIRECT [[",
pre: '0623',
                                        post:"]]"
post: ''
}
}
}
}
}
}
}
}
});
} );
 




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


/* --- Enable button Notes:SHP matrix */
/* --- Enable Files:Thumbnail */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'SM-201',
group: 'Notes',
group: 'Files',
tools: {
tools: {
"SHP": {
"Thumb": {
label: 'SHP',
label: 'Thumb',
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/6f/Button_thumb.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
pre: '[[File:',
                    post:""
post: '|thumb|right|200px|{{bc|}}]]'
}
}
}
}
}
}
}
}
});
} );


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


/* Enable group:Links: */
/* --- Enable Files:Gallery */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
'groups': {
group: 'Files',
'Links': {
tools: {
'label': 'Links'  
"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>'
}
}
}
}
}
}
Line 1,012: Line 1,036:




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


/* ### So far, so good */
/* --- Enable Files:Screenies */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
 
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Links',
group: 'Files',
tools: {
tools: {
'External': {
"Screenies": {
label: 'External',
label: 'Screenies',
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/0/0a/Button_screenie.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                pre: "== External links ==",
pre: '[[MOVB]] screenies for ',
post: '',
post: ''
}
}
}
}
}
}
}
}
});
} );
/* Enable section:Page =============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Info': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Info'
}
}
} );
 


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


 
/* --- Enable button model */
/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Links',
group: 'Page',
tools: {
tools: {
"Links": {
"Model": {
label: 'Link OK',
label: 'Model',
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/6/6d/Editor_m_.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-ok|06/23 R/}} ",
pre: "{{Infobox model",
                    post:""
                                        post:""
}
}
}
}
Line 1,096: Line 1,116:
});
});


/* ---- Enable Links:Red */
/* --- Enable Pornstar */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Links',
group: 'Page',
tools: {
tools: {
"Links": {
"Model": {
label: 'Footer',
label: 'Model',
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/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-red|06/23 R/}}{{Site-def|06/23 R/}}",
                                pre: '{{Infobox pornstar}',
                    post:"{{Site-hij|06/23 R/}}"
post: ''
}
}
}
}
}
}
}
}
});
} );




/* --- Enable Links:Strike through*/
/* --- Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Links',
group: 'Page',
tools: {
tools: {
"Strike": {
"Pornstud": {
label: 'Strike',
label: 'Model',
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/9/9f/Button_male.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<s>',
pre: "{{Infobox pornstud",
post: '</s>',
                                        post:""
}
}
}
}
Line 1,138: Line 1,158:




/* --- Enable button SM-201|Links|From template */
/* --- Enable button Notes:top-tg */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Links',
group: 'Page',
tools: {
tools: {
"from": {
"top-tg": {
label: 'from',
label: 'Top-tg',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{from website|[web url name page on Tokyo.to]",
pre: '{{top-tg|add=vedette and}}',
                    post:"|06/23}}"
post: ''
}
}
}
}
}
}
}
}
});
} );


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


/* --- Enable Files:Copyright unknown */
/* --- Enable button Japan cinema  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Files',
group: 'Page',
tools: {
tools: {
"Copy": {
"Japorn": {
label: 'Copy',
label: 'Japorn',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
      icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: 'Copyright info not available/ownership unknown',
pre: "{{Japanese erotic cinema {{Japanese porn stars",
post: ''
                    post:""
}
}
}
}
}
}
}
}
} );
});




 
/* --- Enable button sa-porn  */
/* --- Enable Files:{{fs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'SM-201',
group: 'Page',
group: 'Files',
tools: {
tools: {
"{fs": {
"porn": {
label: '{fs',
label: 'sa-porn',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
  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:""
}
}
}
}
}
}
}
}
} );
});


/* --- Enable Files:Mo/Yr */
/* Enable section:Other ============================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
  'sections': {
group: 'Files',
'Other': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Other'
}
}
} );
 
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
tools: {
"Date": {
"valign": {
label: 'Date',
label: 'vt',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
      icon: 'http://sm-201.org/a/images/8/8e/Button_vt.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '0623',
pre: '|- valign ="top"\n',
post: ''
                    post:'| {{#if: data | {{!}} text {{!!}} data }}'
}
}
}
}
}
}
}
}
} );
});




 
/* --- Enable Other:data*/
/* --- Enable Files:Thumbnail */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Table',
group: 'Files',
tools: {
tools: {
"rasw": {
"valign": {
label: 'rasw',
label: 'data',
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/5/5f/Button_temp.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '* {{rasw|',
pre: '{{{',
post: '}'
                    post:'|}}}'
}
}
}
}
}
}
}
}
} );
});
 


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




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


 
/* --- Enable Other:Table:{!!}  */
/* --- Enable Files:{{ndib */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
section: 'SM-201',
group: 'Table',
group: 'Files',
tools: {
tools: {
"ndib": {
"Expl 2": {
label: 'ndib',
label: '{!!}',
type: 'button',
type: 'button',
    icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: 'dib',
pre: "{{!!}}",
post: '.jpg'
                                        post:""
}
}
}
}
}
}
}
}
} );
});


/* --- Enable Files:Screenies */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable Other:Table:Line1 */
section: 'SM-201',
$('#wpTextbox1').wikiEditor('addToToolbar', {
group: 'Files',
section: 'Other',
group: 'Table',
tools: {
tools: {
"Screenies": {
"Line1": {
label: 'Screenies',
label: 'Line1',
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/7/74/Button_L1.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[MOVB]] screenies for ',
pre:  " {{Line1}}",
post: ''
post: ""
}
}
}
}
}
}
}
}
} );
});
/* Enable section:Page =============================== */
/* --- Enable Other:Table:Line2 */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
  'sections': {
section: 'Other',
'Info': {
group: 'Table',
'type': 'toolbar', // Can also be 'booklet'
tools: {
'label': 'Info'
"Line2": {
}
label: 'Line2',
}
} );
 
 
/* 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',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/6/6d/Editor_m_.png',  
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox model",
pre: " {{Line2}}",
                                        post:""
post: ""
}
}
}
}
Line 1,396: Line 1,392:
});
});


/* --- Enable Pornstar */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable Other:Table:' !! ' - New column */
section: 'Info',
$('#wpTextbox1').wikiEditor('addToToolbar', {
group: 'Page',
section: 'Other',
group: 'Table',
tools: {
tools: {
"Model": {
"!!": {
label: 'Model',
label: '!!',
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/b/b6/Button_%21%21.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                                pre: '{{Infobox pornstar}',
pre: " || ",
post: ''
                                        post:""
}
}
}
}
}
}
}
}
} );
});




/* --- Enable button Pornstud */
/* --- Enable Other:Table:Empty column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Page',
group: 'Table',
tools: {
tools: {
"Pornstud": {
"MT": {
label: 'Model',
label: 'MT',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/9/9f/Button_male.png',  
  icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox pornstud",
pre: "|| &nbsp; ",
                                        post:""
                    post:""
}
}
}
}
Line 1,437: Line 1,434:
});
});


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


/* --- Enable button Notes:toporn  */
/* --- Enable Other:Table:Columns */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Page',
group: 'Table',
tools: {
tools: {
"toporn": {
"Columns": {
label: 'top',
label: 'Columns',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
icon: 'http://www.sm-201.org/a/images/0/04/button_multicol.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{toporn|add=}}',
pre:  "<div style='-moz-column-count:2; column-count:2;'>",
post: ''
post: "</div>"
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Japan cinema  */
/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Page',
group: 'Table',
tools: {
tools: {
"Japorn": {
"Top": {
label: 'Japorn',
label: 'Top',
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/7/78/Arrow-up.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Japanese erotic cinema {{Japanese porn stars",
pre: "{{top}}",
                    post:""
post: ""
}
}
}
}
Line 1,498: Line 1,494:
});
});


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


/* --- Enable button sa-porn  */
/* --- Enable Other:Talk:Date chg*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Page',
group: 'Talk',
tools: {
tools: {
"porn": {
"date": {
label: 'sa-porn',
label: 'date',
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/a/a7/Button_cal.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-porn}} {{porn stars {{porn",
pre: 'June 01, 2023',
                    post:""
post: ''
}
}
}
}
}
}
}
});
/* Enable section:Other ============================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
  'sections': {
'Other': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Other'
}
}
}
} );
} );


/* --- Enable Other:Table:{!} */
/* --- Enable Other:Talk:dot*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Talk',
tools: {
tools: {
"valign": {
"Dot": {
label: 'vt',
label: 'Dot',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/8/8e/Button_vt.png',  
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|- valign ="top"\n',
pre: '',
                    post:'| {{#if: data | {{!}} text {{!!}} data }}'
post: ''  
}
}
}
}
Line 1,549: Line 1,545:
});
});


 
/* --- Enable Other:Talk:semicolon */
/* --- Enable Other:data*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Talk',
tools: {
tools: {
"valign": {
"Semi": {
label: 'data',
label: 'Semi',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_temp.png',
icon: 'http://www.sm-201.org/a/images/1/13/Button_semi.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{{',
pre: "; ",
                    post:'|}}}'
post: ""
}
}
}
}
Line 1,570: Line 1,565:
});
});


 
/* --- Enable Other:Talk:Colon */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Talk',
tools: {
tools: {
"Pipe": {
"Colon": {
label: '{|}',
label: 'Colon',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
icon: 'http://www.sm-201.org/a/images/4/4a/Button_colon.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|",
pre: ": ",
                    post:""
post: ""
}
}
}
}
Line 1,591: Line 1,585:
});
});


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


/* --- Enable Other:Table:{!!}  */
/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
'groups': {
'Pers': {
'label': 'Pers'
}
}
} );
 
 
 
/* --- Enable button Info|Pers|Name */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Table',
group: 'Pers',
tools: {
tools: {
"Expl 2": {
"name": {
label: '{!!}',
label: 'name',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',  
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!!}}",
pre: "|        name = ",
                                         post:""
                                         post:""
}
}
Line 1,633: Line 1,638:




/* --- Enable Other:Table:Line1 */
/* --- Enable button Info:Pers:rose */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Table',
group: 'Pers',
tools: {
tools: {
"Line1": {
"rose": {
label: 'Line1',
label: 'rose',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: " {{Line1}}",
pre: "| color    = mistyrose",
post: ""
                                        post:""
}
}
}
}
}
}
}
}
});
} );
/* --- Enable Other:Table:Line2 */
 
 
/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Table',
group: 'Pers',
tools: {
tools: {
"Line2": {
"blue": {
label: 'Line2',
label: 'blank',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
icon: 'http://www.sm-201.org/a/images/e/ec/Button_base.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  " {{Line2}}",
pre:  "| color    = lightblue",
post: ""
post: ""
}
}
Line 1,673: Line 1,680:




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




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


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


/* --- Enable Other:Table:Columns */
/* --- Enable button Porn|Pers:{Star} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Table',
group: 'Pers',
tools: {
tools: {
"Columns": {
"Star": {
label: 'Columns',
label: '{Star}',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/04/button_multicol.png',
  icon: 'http://www.sm-201.org/a/images/1/14/Button_star2.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<div style='-moz-column-count:2; column-count:2;'>",
pre: "{{star}}"
post: "</div>"
}
}
}
}
Line 1,754: Line 1,760:
});
});


/* --- Enable Other:Table:Columns */
/* --- Enable button Info|Pers|Dag */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Table',
group: 'Pers',
tools: {
tools: {
"Top": {
"Dag": {
label: 'Top',
label: 'dag',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/78/Arrow-up.jpg',
icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{top}}",
pre: "{{dag}}",
post: ""
                                        post:""
}
}
}
}
Line 1,774: Line 1,780:
});
});


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


/* --- Enable Other:Talk:Date chg*/
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable Info:Vitals:vlabel button*/
section: 'Other',
$('#wpTextbox1').wikiEditor('addToToolbar', {
group: 'Talk',
section: 'Info',
group: 'Vitals',
tools: {
tools: {
"date": {
"Vitals": {
label: 'date',
label: 'vlabel',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: 'June 01, 2023',
pre: "|      vitals = {{vitals|",
post: ''
                                        post:""
}
}
}
}
}
}
}
}
} );
});


/* --- Enable Other:Talk:dot*/
/* --- Enable Info:Vitals:Eyes button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Talk',
group: 'Vitals',
tools: {
tools: {
"Dot": {
"Eyes": {
label: 'Dot',
label: 'Eye',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '• ',
pre: "|    eye color = ",
post: ''
                                        post:""
}
}
}
}
Line 1,825: Line 1,832:
});
});


/* --- Enable Other:Talk:semicolon */
/* --- Enable Info:Vitals:height*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Talk',
group: 'Vitals',
tools: {
tools: {
"Semi": {
"height": {
label: 'Semi',
label: 'Height',
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/e/e4/Editor_h.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "; ",
pre: "|      height = ",
post: ""
                                        post:"{{ht|?|?))"
}
}
}
}
Line 1,845: Line 1,852:
});
});


/* --- Enable Other:Talk:Colon */
/* --- Enable Info:Vitals:weight*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Talk',
group: 'Vitals',
tools: {
tools: {
"Colon": {
"weight": {
label: 'Colon',
label: 'Weight',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/4/4a/Button_colon.jpg',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: ": ",
pre: "|      weight = ",
post: ""
                                        post:"{{wt|}}"
}
}
}
}
Line 1,865: Line 1,872:
});
});


/* --- Enable button sa-porn  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
'groups': {
'Pro': {
'label': 'Pro'
}
}
} );
 
 
 
 
/* --- Enable button Info|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Page',
group: 'Pro',
tools: {
tools: {
"bond": {
"Genre": {
label: 'sa-bond',
label: 'Genre',
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/3/35/Editor_g.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bond}}{{bondmods}}",
pre: "|        genre = ",
                    post:""
                                        post:""
}
}
}
}
Line 1,885: Line 1,904:
});
});


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






/* --- Enable button Info|Pers|Name  */
/* --- Enable button Info|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"name": {
"Specs": {
label: 'name',
label: 'Specialty',
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/a/a9/Button_star.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|        name = ",
pre: "{{porn stars",
                                        post:""
                                    post:""
}
}
}
}
Line 1,917: Line 1,927:
});
});


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




/* --- Enable Table:button*/
/* --- Enable button Info|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"blue": {
"boygirl": {
label: 'blank',
label: 'boygirl',
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/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "| color    = lightblue",
pre: "|     boygirl = [[BJ]], [[Vaginal]], [[Anal]]",
post: ""
                                        post:""
}
}
}
}
Line 1,960: Line 1,969:




/* --- Enable button Info|Pro|Imdb etc = */
/* --- Enable button Info|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"birth": {
"lesbian": {
label: 'birth',
label: 'lesbian',
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/1/16/Editor_l.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|   birthdate = {{dob\n|    birthname = {{dob\n|',
pre: "|     lesbian = [[Softcore]], [[Dildo]]",
post: '|  birthplace = \n|        alias = \n'
                                        post:""
}
}
}
}
Line 1,981: Line 1,990:




/* --- Enable button Info|Pera|Birth etc = */
/* --- Enable button Info|Pro|Lesbian = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"birth": {
"solo": {
label: 'birth',
label: 'solo',
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/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|   deathdate = {{dob\n|  deathcause = {{dob\n|',
pre: "|         solo = [[Masturbation]], [[Dildo]]",
post: '|    deathplace = \n|        alias = \n'
                                        post:""
}
}
}
}
Line 2,001: Line 2,010:
});
});


/* --- Enable button Info|Pers|Personal etc =  */
 
 
/* --- Enable button Info|Pro|cat=Mistresses */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"Pers": {
"Mistresses": {
label: 'Pers',
label: 'Mistresses',
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/4/48/Whip.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|      spouse = {{dob\n||    children  = n|',
pre: '[[Category:Mistresses]]',
post: '|  education  = \n|        alias = \n'  
post: ''  
}
}
}
}
Line 2,021: Line 2,032:
});
});


/* --- Enable button Porn|Pers:{Star} */
 
/* --- Enable button Other:Also:Circle-S  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"Star": {
"Penthouse": {
label: '{Star}',
label: 'Penthouse',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/14/Button_star2.jpg',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{star}}"
pre: "{{Penthouse Pets 2020|year=}}",
                                post:""
}
}
}
}
Line 2,040: Line 2,053:
});
});


/* --- Enable button Info|Pers|Dag */
 
/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Pers',
group: 'Pro',
tools: {
tools: {
"Dag": {
"imdb": {
label: 'dag',
label: 'imdb',
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/5/5e/Editor_i.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{dag}}",
pre: '|        iafd = \n|        imdb = \n',
                                        post:""
post: '|        afdb = \n|        wiki = \n'
}
}
}
}
Line 2,060: Line 2,074:
});
});


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


 
/* --- Enable button Other|Cats|sx */
/* --- Enable Info:Vitals:vlabel button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Vitals',
group: 'Insex',
tools: {
tools: {
"Vitals": {
"sx": {
label: 'vlabel',
label: 'sx',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg',  
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      vitals = {{vitals|",
pre: '{{sx|',
                                        post:""
                    post:"}}"
}
}
}
}
Line 2,092: Line 2,104:
});
});


/* --- Enable Info:Vitals:Eyes button*/
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* --- Enable Format:button [[ link ]] */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Vitals',
group: 'Insex',
tools: {
tools: {
"Eyes": {
"Template": {
label: 'Eye',
label: 'Link',
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/c/c0/Button_link.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|    eye color = ",
pre: '[[',
                                        post:""
post: ']]'
}
}
}
}
}
}
}
}
});
} );


/* --- Enable Info:Vitals:height*/
/* --- Enable button Info|Pers:{cat} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Info',
group: 'Vitals',
group: 'Pers',
tools: {
tools: {
"height": {
"cat": {
label: 'Height',
label: 'cat',
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/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      height = ",
pre: "{{sa-porn}}{{footer}}{{porn stars}}"
                                        post:"{{ht|?|?))"
}
}
}
}
Line 2,132: Line 2,144:
});
});


/* --- Enable Info:Vitals:weight*/
/* Enable Group:Table */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Table': {
'label': 'Table'
}
}
} );
 
 
/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"weight": {
"blank": {
label: 'Weight',
label: 'blank',
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/e/ec/Button_base.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       weight = ",
pre: "| {{blank}} || ",
                                        post:"{{wt|}}"
post: ""
}
}
}
}
Line 2,152: Line 2,175:
});
});


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
 
section: 'Info',
/* --- Enable Other:Table:{!} */
'groups': {
'Pro': {
'label': 'Pro'
}
}
} );
 
/*  &&&& */
 
 
/* --- Enable button Info|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"Genre": {
"valign": {
label: 'Genre',
label: 'vt',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
      icon: 'http://sm-201.org/a/images/8/8e/Button_vt.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       genre = ",
pre: '|- valign ="top"\n',
                                        post:""
                    post:'| {{#if: data | {{!}} text {{!!}} data }}'
}
}
}
}
Line 2,185: Line 2,197:




 
/* --- Enable Other:data*/
 
/* --- Enable button Info|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"Specs": {
"valign": {
label: 'Specialty',
label: 'data',
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/5/5f/Button_temp.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{porn stars",
pre: '{{{',
                                    post:""
                    post:'|}}}'
}
}
}
}
Line 2,207: Line 2,217:
});
});


/* --- Enable button Info|Pro|Name  */
 
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"years": {
"Pipe": {
label: 'years',
label: '{|}',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',  
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "| yearsactive = ",
pre: "|",
                                      post:""
                    post:""
}
}
}
}
Line 2,228: Line 2,239:




/* --- Enable button Info|Pro|Boygirl = */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"boygirl": {
"Expl 1": {
label: 'boygirl',
label: '{!}',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]",
pre: "{{!",
                                         post:""
                                         post:"}}"
}
}
}
}
Line 2,248: Line 2,259:
});
});


 
/* --- Enable Other:Table:{!!}  */
/* --- Enable button Info|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"lesbian": {
"Expl 2": {
label: 'lesbian',
label: '{!!}',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      lesbian = [[Softcore]], [[Dildo]]",
pre: "{{!!}}",
                                         post:""
                                         post:""
}
}
Line 2,270: Line 2,280:




/* --- Enable button Info|Pro|Lesbian = */
/* --- Enable Other:Table:Line1*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"solo": {
"Line1": {
label: 'solo',
label: 'Line1',
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/7/74/Button_L1.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|        solo = [[Masturbation]], [[Dildo]]",
pre: " {{Line1}}",
                                        post:""
post: ""
}
}
}
}
Line 2,289: Line 2,299:
}
}
});
});
 
/* --- Enable Other:Table:Line2*/
 
 
/* --- Enable button Info|Pro|cat=Mistresses  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"Mistresses": {
"Line2": {
label: 'Mistresses',
label: 'Line2',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg',  
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[Category:Mistresses]]',
pre: " {{Line2}}",
post: ''
post: ""
}
}
}
}
Line 2,313: Line 2,320:




/* --- Enable button Other:Also:Circle-*/
/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"Penthouse": {
"!!": {
label: 'Penthouse',
label: '!!',
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/b6/Button_%21%21.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Penthouse Pets 2020|year=}}",
pre: " || ",
                                post:""
                                        post:""
}
}
}
}
Line 2,334: Line 2,341:




/* --- Enable button Info|Pro|Imdb etc = */
/* --- Enable Other:Table:Empty column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pro',
group: 'Table',
tools: {
tools: {
"imdb": {
"MT": {
label: 'imdb',
label: 'MT',
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/a/ad/Button_mt.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|         iafd = \n|         imdb = \n',
pre: "|| &nbsp; ",
post: '|        afdb = \n|        wiki = \n'
                    post:""
}
}
}
}
Line 2,354: Line 2,361:
});
});


/* Enable Group:Format: */
/* --- Enable Other:Table:wp0 */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
'groups': {
group: 'Table',
'Insex': {
'label': 'Insex'
}
}
} );
 
/* --- Enable button Other|Cats|sx */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
group: 'Insex',
tools: {
tools: {
"sx": {
"wp0": {
label: 'sx',
label: 'wp0',
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/9/95/Button_wp0.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{sx|',
pre: "{{wp0|",
                     post:"}}"
                     post:"|2}}"
}
}
}
}
Line 2,385: Line 2,382:




/* --- Enable Format:button [[ link ]] */
/* --- Enable Other:Table:Columns */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Insex',
group: 'Table',
tools: {
tools: {
"Template": {
"Columns": {
label: 'Link',
label: 'Columns',
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/04/Button_multicol.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[',
pre:  "<div style='-moz-column-count:2; column-count:2;'>",
post: ']]'
post: "</div>"
}
}
}
}
}
}
}
}
} );
});
 


/* --- Enable button Info|Pers:{cat} */
/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
section: 'Other',
group: 'Pers',
group: 'Table',
tools: {
tools: {
"cat": {
"Top": {
label: 'cat',
label: 'Top',
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/78/Arrow-up.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-porn}}{{footer}}{{porn stars}}"
pre: "{{top}}",
post: ""
}
}
}
}
Line 2,424: Line 2,423:
});
});


/* Enable Group:Table */
 
 
/* Enable group:Other:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
section: 'Cats',
'groups': {
'groups': {
'Table': {
'Cats': {
'label': 'Table'  
'label': 'Cats'
}
}
}
}
Line 2,435: Line 2,436:




/* --- Enable Table:button*/
/* =================== group cats enable ==========
 
/* Enable group:Other: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
/* --- Enable button other|cats|!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"blank": {
"!more": {
label: 'blank',
label: '!more',
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/6/66/Editor_!.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "| {{blank}} || ",
pre: "{{!more}",
post: ""
                                        post:""
}
}
}
}
Line 2,456: Line 2,469:




/* --- Enable Other:Table:{!} */
/* --- Enable button Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"valign": {
    "cats a": {
label: 'vt',
label: 'cats a',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/8/8e/Button_vt.png',  
    icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|- valign ="top"\n',
pre: "{{cat|actors|actresses|authors}}",
                     post:'| {{#if: data | {{!}} text {{!!}} data }}'
                     post:""
}
}
}
}
Line 2,476: Line 2,489:
});
});


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


 
/* --- Enable button Other:Cats:BondMod  */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Pipe": {
"BondMod": {
label: '{|}',
label: 'BondMod',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|",
pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
                     post:""
                     post:"{{actresses} {{Porn stars}"
}
}
}
}
Line 2,518: Line 2,529:
});
});


 
/* --- Enable button Other:Also:Circle-J */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Expl 1": {
"Circle-J": {
label: '{!}',
label: 'Circle-J',
type: 'button',
type: 'button',
       icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
       icon: 'http://www.sm-201.org/a/images/c/c4/Circle_j.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!",
pre: "{{AV Idols} }{{Japanese erotic cinema}",
                                        post:"}}"
                post:"{{Japanese Porn stars}"
}
}
}
}
Line 2,539: Line 2,549:
});
});


/* --- Enable Other:Table:{!!} */
 
/* --- Enable button Other:Also:Circle-S  -  {{Penthouse Pets 2020|year=}} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Expl 2": {
"Penthouse": {
label: '{!!}',
label: 'Penthouse',
type: 'button',
type: 'button',
       icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',  
       icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!!}}",
pre: "{{cat|Film and video terminology|Cinematic techniques|Photographic  techniques}}"
                                        post:""
}
}
}
}
Line 2,560: Line 2,570:




/* --- Enable Other:Table:Line1*/
/* --- Enable button Other:Cats:Playboy */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Line1": {
"Playboy": {
label: 'Line1',
label: 'Playboy',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
      icon: 'http://www.sm-201.org/a/images/0/06/Playboy-i.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: " {{Line1}}",
pre: "{{sa-playboy}}",
post: ""
                                post:""
}
}
}
}
Line 2,579: Line 2,589:
}
}
});
});
/* --- Enable Other:Table:Line2*/
 
 
 
/* --- Enable button spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Line2": {
"spank": {
label: 'Line2',
label: 'spank',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
icon: 'http://www.sm-201.org/a/images/9/99/Cat-spank.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: " {{Line2}}",
pre: "{{spank}",
post: ""
                                        post:""
}
}
}
}
Line 2,599: Line 2,612:
});
});


 
/* --- Enable button magick  */
/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"!!": {
"magick": {
label: '!!',
label: 'magick',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png',
icon: 'http://www.sm-201.org/a/images/f/fe/Wizard.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: " || ",
pre: "[[cermonial_magic#",
                                         post:""
                                         post:"]]",
}
}
}
}
Line 2,620: Line 2,632:
});
});


 
/* --- Enable button Other:Cats:spider pool */
/* --- Enable Other:Table:Empty column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"MT": {
"spank": {
label: 'MT',
label: 'spider',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|| &nbsp; ",
pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models}}",
                     post:""
                     post:""
}
}
Line 2,641: Line 2,652:
});
});


/* --- Enable Other:Table:wp0 */
 
/* --- Enable button Other:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"wp0": {
"Auth": {
label: 'wp0',
label: 'BDSMauth',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/9/95/Button_wp0.png',
   icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{wp0|",
pre: "{{bdsmauthors}",
                    post:"|2}}"
                                        post:""
}
}
}
}
Line 2,662: Line 2,674:




/* --- Enable Other:Table:Columns */
 
/* --- Enable button Other:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Columns": {
"CT": {
label: 'Columns',
label: 'CT',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png',
    icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<div style='-moz-column-count:2; column-count:2;'>",
pre: "Computer technology",
post: "</div>"
                                        post:""
}
}
}
}
Line 2,683: Line 2,696:




/* --- Enable Other:Table:Columns */
 
 
/* --- Enable button sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Top": {
"Furn": {
label: 'Top',
label: 'Furn',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/7/78/Arrow-up.jpg',
  icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{top}}",
pre: "{{sa-bondfurn}",
post: ""
                                        post:""
}
}
}
}
Line 2,703: Line 2,718:
});
});


 
/* --- Enable button sa-bondpos */
 
/* Enable group:Other:Cats */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Cats',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
 
/* =================== group cats enable ==========
 
/* Enable group:Other: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Other',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
/* --- Enable button other|cats|!more */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"!more": {
"Pos": {
label: '!more',
label: 'Pos',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!more}",
pre: "{{sa-bondpos}",
                                         post:""
                                         post:""
}
}
Line 2,748: Line 2,738:
});
});


 
/* --- Enable button sa-bondpos */
/* --- Enable button Other:Cats:BondMod */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
    "cats a": {
"Performer": {
label: 'cats a',
label: 'Performer',
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/3/33/Editor_q.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|actors|actresses|authors}}",
pre: "{{Burl perf}",
                    post:""
                                        post:"[[Category:Vedettes]]"
}
}
}
}
Line 2,769: Line 2,758:
});
});


/* --- Enable button Other:Cats:Anatomy */
 
/* --- Enable button sa-bondrest */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Cats',
group: 'Cats',
tools: {
tools: {
"anatomy": {
"Rest": {
label: 'anatomy',
label: 'Rest',
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/d/d5/Editor_r.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|bondage artists|erotic artists|fetish artists|spanking artists",
pre: "{{sa-bondrest}"
                    post:"}}"
}
}
}
}
Line 2,789: Line 2,778:
});
});


/* --- Enable button Other:Cats:BondMod  */
/* ======================= &&& =========================== */
$('#wpTextbox1').wikiEditor('addToToolbar', {
/*  Enable section:SM-201 */
section: 'Other',
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
group: 'Cats',
'sections': {
'Refs': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Refs'
}
}
} );
 
 
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
'groups': {
'Resources': {
'label': 'Resources'
}
}
} );
 
 
 
/* --- Enable Format:active */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
group: 'Resources',
tools: {
tools: {
"BondMod": {
"grn": {
label: 'BondMod',
label: 'grn',
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/01/B-grn.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
pre: '{{grn|',
                    post:"{{actresses} {{Porn stars}"
post: '(Active 3/23)}}'
}
}
}
}
Line 2,809: Line 2,822:
});
});


/* --- Enable button Other:Also:Circle-J */
 
/* --- Enable Format:closed*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Refs',
group: 'Cats',
group: 'Resources',
tools: {
tools: {
"Circle-J": {
"red": {
label: 'Circle-J',
label: 'red',
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/d/db/B-red.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{AV Idols} }{{Japanese erotic cinema}",
pre: '{{red|',
                post:"{{Japanese Porn stars}"
post: '(currently closed 06/23)}}'
}
}
}
}
Line 2,830: Line 2,844:




/* --- Enable button Other:Also:Circle-S  -  {{Penthouse Pets 2020|year=}} */
 
/* --- Enable Resources:map*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Refs',
group: 'Cats',
group: 'Resources',
tools: {
tools: {
"Penthouse": {
"map": {
label: 'Penthouse',
label: 'map',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/23/Cam.png',  
icon: 'http://www.sm-201.org/a/images/6/64/Map-blk.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|Film and video terminology|Cinematic techniques|Photographic  techniques}}"
pre: '{{gm|',
post: '}}'
}
}
}
}
Line 2,850: Line 2,866:




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


 
/* --- Enable Format:Strike through*/
 
/* --- Enable button spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Refs',
group: 'Cats',
group: 'Resources',
tools: {
tools: {
"spank": {
"Strike": {
label: 'spank',
label: 'Strike',
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/c/c9/Button_strike.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{spank}",
pre: '<s>',
                                        post:""
post: '</s>'
}
}
}
}
Line 2,892: Line 2,906:
});
});


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


/* --- Enable button Other:Cats:spider pool */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* --- Enable button Resources:Category2 */
section: 'Other',
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
group: 'Cats',
section: 'Refs',
group: 'Resources',
tools: {
tools: {
"spank": {
"Cats": {
label: 'spider',
label: 'Category',
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/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models}}",
pre: '{{cat|USA|San Jose',
                    post:""
post: '|Stripclubs|Venues}}'
}
}
}
}
}
}
}
}
});
} );


 
/* --- Enable button Resources:Category2 */
/* --- Enable button Other:Cats:BDSMAuthors */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Other',
group: 'Resources',
group: 'Cats',
tools: {
tools: {
"Auth": {
"MNL": {
label: 'BDSMauth',
label: 'MNL',
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/d/d5/Mnl.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{bdsmauthors}",
pre: '{{mnl|MNL-',
                                        post:""
post: '|PDF}}'
}
}
}
}
}
}
}
}
});
} );




 
/* Enable group:Notes: ======================== */
/* --- Enable button Other:Cats:(Computer technology)  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Refs',
'groups': {
'Notes': {
'label': 'Notes'
}
}
} );
 
/* --- Enable button Notes:header| */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Refs',
group: 'Cats',
group: 'Notes',
tools: {
tools: {
"CT": {
"Needs": {
label: 'CT',
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:" 06/23}}"
}
}
}
}
}
}
}
}
});
} );




 
/* --- Enable button Notes:headred */
 
/* --- Enable button sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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:" 06/23}}"
}
}
}
}
Line 2,998: Line 3,019:
});
});


/* --- Enable button sa-bondpos */
/* --- Enable button Notes:Defaultsort */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
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 3,018: Line 3,039:
});
});


/* --- Enable button sa-bondpos */
 
/* --- Enable button Notes:footer */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Refs',
group: 'Cats',
group: 'Notes',
tools: {
tools: {
"Performer": {
"Footer": {
label: 'Performer',
label: 'Footer',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/3/33/Editor_q.png',
   icon: 'http://www.sm-201.org/a/images/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Burl perf}",
pre: "{{Footer",
                                        post:"[[Category:Vedettes]]"
                                      post:"}}"
}
}
}
}
Line 3,038: Line 3,060:
});
});


 
/* --- Enable button Notes:Category:needs */
/* --- Enable button sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Refs',
group: 'Cats',
group: 'Notes',
tools: {
tools: {
"Rest": {
"Needs": {
label: 'Rest',
label: 'Needs',
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/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bondrest}"
pre: "{{Needs}",
                                        post:""
}
}
}
}
Line 3,058: Line 3,080:
});
});


/* ================================================== */
 
/* Enable section:SM-201 */
/* --- Enable button Notes:Heads2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
section: 'Refs',
'Refs': {
group: 'Notes',
'type': 'toolbar', // Can also be 'booklet'
tools: {
'label': 'Refs'
"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 Group:Format: */
/* --- Enable button Notes:Heads3  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
'groups': {
group: 'Notes',
'Resources': {
tools: {
'label': 'Resources'  
"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 button Notes:Wiki:@  */
 
/* --- Enable Format:active */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Notes',
tools: {
tools: {
"grn": {
"Needs": {
label: 'grn',
label: 'Wikimain',
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/8/82/Wikilogo-20.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{grn|',
pre: "{{Wikimain|",
post: '(Active 3/23)}}'
                                        post:"|_}}"
}
}
}
}
Line 3,103: Line 3,143:




/* --- Enable Format:closed*/
/* --- Enable button Info|Pro|Imdb etc =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Notes',
tools: {
tools: {
"red": {
"Wsec": {
label: 'red',
label: 'Wsec',
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/f/ff/Editor_w.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{red|',
pre:  '{{wikisec|Bibliography}}\n\n{{wikisec|Theater}}\n\n',
post: '(currently closed 06/23)}}'
post: '{{wikisec|Filmography}}\n\n{{wikisec|Discography}}\n\n'  
}
}
}
}
Line 3,124: Line 3,164:




 
/* --- Enable button Notes:Wikilink */
/* --- Enable Resources:map*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Notes',
tools: {
tools: {
"map": {
"{{Wl|": {
label: 'map',
label: '{{wl|',
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/e/ef/Button_para.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{gm|',
pre: "{{Wl|",
post: '}}'
                                        post:"}}"
}
}
}
}
Line 3,146: Line 3,185:




/* --- Enable button Other:Cats:spider pool  */
 
/* --- Enable button Notes:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Notes',
tools: {
tools: {
"web": {
"Redirect": {
label: 'web',
label: 'Redirect',
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/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{website|",
pre: "#REDIRECT [[",
                    post:"}}"
                                        post:"]]"
}
}
}
}
Line 3,166: Line 3,206:
});
});


/* --- Enable Format:Strike through*/
 
/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Notes',
tools: {
tools: {
"Strike": {
"ReCat": {
label: 'Strike',
label: 'ReCat',
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/7/70/RedirectCat.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<s>',
pre: "#REDIRECT [[]]\n{{Headred|<from> 06/23}}\n",
post: '</s>'
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| }}"
}
}
}
}
Line 3,186: Line 3,227:
});
});


/* --- Enable button Info|Pers|cause */
/* --- Enable button Notes:SHP matrix */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Notes',
tools: {
tools: {
"Died": {
"SHP": {
label: 'died',
label: 'SHP',
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/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{dag}}",
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
                     post:""
                     post:""
}
}
Line 3,207: Line 3,248:




/* --- Enable button Resources:Category2  */
 
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
'groups': {
'Shopping': {
'label': 'Shopping'
}
}
} );
 
 
/* --- Enable button  Res|Shopping|defnct|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
group: 'Shopping',
tools: {
tools: {
"Cats": {
"DS|": {
label: 'Category',
label: 'DS|',
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/1/18/Editor_d.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{cat|USA|San Jose',
pre: "{{Closed",
post: '|Stripclubs|Venues}}'
                                        post:"}}"
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Resources:Category2  */
/* --- Enable button Refs:<src> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Resources',
group: 'Shopping',
tools: {
tools: {
"MNL": {
"Src": {
label: 'MNL',
label: 'Src',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{mnl|MNL-',
pre: '== Sources ==\n',
post: '|PDF}}'
                    post:'<references group="Source" />'
}
}
}
}
}
}
}
}
} );
});
 
/* --- Enable button Res|Shopping|LatexWiki|  */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
 
/* Enable Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Refs',
'groups': {
'Shopping': {
'label': 'Shopping'
}
}
} );
 
/* --- Enable button Res|Shopping|header|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
section: 'Refs',
group: 'Shopping',
group: 'Shopping',
tools: {
tools: {
        "Header": {
"latexwiki": {
label: 'Header',
label: 'latexwiki',
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/1/16/Editor_l.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header|",
pre: "* [",
                                        post:" 06/23}}"
                    post:" LatexWiki]"
}
}
}
}
}
}
}
}
} );
});




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


/* --- 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: {
"latexwiki": {
label: 'latexwiki',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
action: {
type: 'encapsulate',
options: {
pre: "* [",
                    post:" LatexWiki]"
}
}
}
}
});
/* --- Enable button Res|Shopping|footer|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Refs',
group: 'Shopping',
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 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__  
__NOCAT__  

Revision as of 07:51, 1 June 2023

var customizeToolbar = function () {
/* stable as of 2023-0503 */

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

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


$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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:<clear /> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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:List Item */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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:Book title */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Format',
	tools: {
		"{{Titles": {
			label: 'Titles',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/f4/Button_ititle.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Titles|",
                                        post:"}}"
				}
			}
		}
	}
});

/* --- Enable Format:Underline */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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 Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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:button moz-column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	'groups': {
		'Inc': {
			'label': 'Inc' 
		}
	}
} );

/* --- Enable button Inc:Includeonly */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	'groups': {
		'Cats': {
			'label': 'Cats' 
		}
	}
} );

/* --- Enable button Cats:Category  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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 button Info|Pro|Specs = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Cats',
	tools: {
		"Updated": {
			label: 'Updated',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a9/Button_star.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{upd-04_2023|y",
                                     post:"}}"
				}
			}
		}
	}
});

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


/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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:"}}"
				}
			}
		}
	}
});

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

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


/* ---- Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Links',
	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:Sanity */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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|06/23|R/}}",
                post:""
				}
			}
		}
	}
});


/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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|06/23 R/}} ",
                    post:""
				}
			}
		}
	}
});

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


/* --- Enable Links:Strike through*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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:"|06/23}}"
				}
			}
		}
	}
});

/* ---- Enable Links:<br> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	'groups': {
		'Files': {
			'label': 'Files' 
		}
	}
} );

/* --- Enable Files:Copyright unknown */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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:  '0623',
					post: ''
				}
			}
		}
	}
} );



/* --- Enable Files:Thumbnail */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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:{{ndib */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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 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 section:Other ============================= */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
   'sections': {
		'Other': {
			'type': 'toolbar', // Can also be 'booklet'
			'label': 'Other'
	}
	}
} );

/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"valign": {
			label: 'vt',
			type: 'button',
      icon: 'http://sm-201.org/a/images/8/8e/Button_vt.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '|- valign ="top"\n',
                    post:'| {{#if: data | {{!}} text {{!!}} data }}'
				}
			}
		}
	}
});


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


/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Pipe": {
			label: '{|}',
			type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|",
                    post:""
				}
			}
		}
	}
});


/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Expl 1": {
			label: '{!}',
			type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{!",
                                        post:"}}"
				}
			}
		}
	}
});

/* --- Enable Other:Table:{!!}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Expl 2": {
			label: '{!!}',
			type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{!!}}",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable Other:Table:Line1 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Line1": {
			label: 'Line1',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  " {{Line1}}",
					post: ""
				}
			}
		}
	}
});
/* --- Enable Other:Table:Line2 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Line2": {
			label: 'Line2',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  " {{Line2}}",
					post: ""
				}
			}
		}
	}
});


/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"!!": {
			label: '!!',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: " || ",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable Other:Table:Empty column  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"MT": {
			label: 'MT',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|| &nbsp; ",
                    post:""
				}
			}
		}
	}
});

/* --- Enable Other:Table:wp0 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"wp0": {
			label: 'wp0',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/9/95/Button_wp0.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{wp0|",
                    post:"|2}}"
				}
			}
		}
	}
});

/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	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 Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Top": {
			label: 'Top',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/78/Arrow-up.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "{{top}}",
					post: ""
				}
			}
		}
	}
});

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

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

/* --- Enable Other:Talk:dot*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Talk',
	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 Other:Talk:semicolon */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Talk',
	tools: {
		"Semi": {
			label: 'Semi',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/1/13/Button_semi.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "; ",
					post: ""
				}
			}
		}
	}
});

/* --- Enable Other:Talk:Colon */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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  */
$('#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|",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable Info:Vitals:Eyes button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Vitals',
	tools: {
		"Eyes": {
			label: 'Eye',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/e/e3/Editor_e.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|    eye color = ",
                                        post:""
				}
			}
		}
	}
});

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

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

$( '#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 = ",
                                        post:""
				}
			}
		}
	}
});




/* --- 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|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"boygirl": {
			label: 'boygirl',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"lesbian": {
			label: 'lesbian',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|      lesbian = [[Softcore]], [[Dildo]]",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable button Info|Pro|Lesbian = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pro',
	tools: {
		"solo": {
			label: 'solo',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|         solo = [[Masturbation]], [[Dildo]]",
                                        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 Other:Also:Circle-S  */
$('#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 Group:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Info',
	'groups': {
		'Insex': {
			'label': 'Insex' 
		}
	}
} );

/* --- Enable button Other|Cats|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 Format:button [[ 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: ']]'
				}
			}
		}
	}
} );

/* --- 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}}"
				}
			}
		}
	}
});

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


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


/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"valign": {
			label: 'vt',
			type: 'button',
      icon: 'http://sm-201.org/a/images/8/8e/Button_vt.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: '|- valign ="top"\n',
                    post:'| {{#if: data | {{!}} text {{!!}} data }}'
				}
			}
		}
	}
});


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


/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Pipe": {
			label: '{|}',
			type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|",
                    post:""
				}
			}
		}
	}
});


/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Expl 1": {
			label: '{!}',
			type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{!",
                                        post:"}}"
				}
			}
		}
	}
});

/* --- Enable Other:Table:{!!}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Expl 2": {
			label: '{!!}',
			type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{!!}}",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable Other:Table:Line1*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Line1": {
			label: 'Line1',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  " {{Line1}}",
					post: ""
				}
			}
		}
	}
});
/* --- Enable Other:Table:Line2*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Line2": {
			label: 'Line2',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  " {{Line2}}",
					post: ""
				}
			}
		}
	}
});


/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"!!": {
			label: '!!',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b6/Button_%21%21.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: " || ",
                                        post:""
				}
			}
		}
	}
});


/* --- Enable Other:Table:Empty column  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"MT": {
			label: 'MT',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/a/ad/Button_mt.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|| &nbsp; ",
                    post:""
				}
			}
		}
	}
});

/* --- Enable Other:Table:wp0 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"wp0": {
			label: 'wp0',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/9/95/Button_wp0.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{wp0|",
                    post:"|2}}"
				}
			}
		}
	}
});


/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	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 Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Table',
	tools: {
		"Top": {
			label: 'Top',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/7/78/Arrow-up.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  "{{top}}",
					post: ""
				}
			}
		}
	}
});



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


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

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

/* --- Enable button other|cats|!more  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Cats:Anatomy  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Also:Circle-S  -  {{Penthouse Pets 2020|year=}} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Cats:Playboy */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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: "{{spank}",
                                        post:""
				}
			}
		}
	}
});

/* --- Enable button magick  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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: "[[cermonial_magic#",
                                        post:"]]",
				}
			}
		}
	}
});

/* --- Enable button Other:Cats:spider pool  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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 Other:Cats:(Computer technology)  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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: 'Other',
	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: 'Other',
	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-bondpos  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	group: 'Cats',
	tools: {
		"Performer": {
			label: 'Performer',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/3/33/Editor_q.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Burl perf}",
                                        post:"[[Category:Vedettes]]"
				}
			}
		}
	}
});


/* --- Enable button sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Other',
	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: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:  '{{grn|',
					post: '(Active 3/23)}}'
				}
			}
		}
	}
});


/* --- 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:  '{{red|',
					post: '(currently closed 06/23)}}'
				}
			}
		}
	}
});



/* --- 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 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|USA|San Jose',
					post: '|Stripclubs|Venues}}'
				}
			}
		}
	}
} );

/* --- Enable button Resources:Category2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	group: 'Resources',
	tools: {
		"MNL": {
			label: 'MNL',
			type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d5/Mnl.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{mnl|MNL-',
					post: '|PDF}}'
				}
			}
		}
	}
} );


/* 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:" 06/23}}"
				}
			}
		}
	}
} );


/* --- 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:" 06/23}}"
				}
			}
		}
	}
});

/* --- 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 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 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/f/ff/Editor_w.png',
			action: {
				type: 'encapsulate',
				options: {
					pre:  '{{wikisec|Bibliography}}\n\n{{wikisec|Theater}}\n\n',
					post: '{{wikisec|Filmography}}\n\n{{wikisec|Discography}}\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/e/ef/Button_para.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Wl|",
                                        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> 06/23}}\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:Format: */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
	section: 'Refs',
	'groups': {
		'Shopping': {
			'label': 'Shopping' 
		}
	}
} );


/* --- Enable button  Res|Shopping|defnct|  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Refs',
	group: 'Shopping',
	tools: {
		"DS|": {
			label: 'DS|',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Closed",
                                        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: {
		"latexwiki": {
			label: 'latexwiki',
			type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "* [",
                    post:" LatexWiki]"
				}
			}
		}
	}
});


/* --- 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 );
		}
	} );
}