User talk: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 1: Line 1:
<pre>
<pre>
var customizeToolbar = function () {
var customizeToolbar = function () {
/* stable as of 2021-1201 */
/* stable as of 2023-0107 */


/* ================================================== */
/*  Enable section:SM-201 */
/*  Enable section:SM-201 */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
Line 13: Line 14:
} );
} );


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


/* Enable Group:Format: */
/* Enable Group:Format: */
Line 123: Line 105:
});
});


/* --- Enable Format:Template Item */
/* --- Enable Format:Template Dot */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Item": {
"Dot": {
label: 'Item',
label: 'Dot',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
icon: 'http://sm-201.org/a/images/0/02/Button_dot.png',
Line 156: Line 138:
options: {
options: {
pre: "{{bc|",
pre: "{{bc|",
                                        post:"}}"
                    post:"}}"
}
}
}
}
Line 162: Line 144:
}
}
});
});


/* --- Enable Format:Book title */
/* --- Enable Format:Book title */
Line 182: Line 165:
}
}
});
});
/* --- Enable button Other:Also:Movies */
 
/* --- Enable Format:Underline */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Movies": {
"Underline": {
label: 'Movies',
label: 'Underline',
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/73/Editor_ul.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Movies",
pre: "<u>",
                    post:"}}"
post: "</u>",
}
}
}
}
Line 202: Line 186:
});
});


 
/* --- Enable Format:Strike through*/
/* --- Enable button Other:Also:Circle-a
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Circle-a": {
"Strike": {
label: 'Circle-a',
label: 'Strike',
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/c/c9/Button_strike.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-adverts",
pre: '<s>',
                                post:"}}"
post: '</s>',
}
}
}
}
Line 222: Line 205:
}
}
});
});
*/
 
/* --- Enable button Other:Also:Circle-b
/* --- Enable Format:button [[ link ]] */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Circle-b": {
"Template": {
label: 'Circle-b',
label: 'Link',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/b/b2/Circle_b.png',  
icon: 'http://www.sm-201.org/a/images/c/c0/Button_link.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sp-art",
pre: '[[',
                                post:"}}"
post: ']]'
}
}
}
}
}
}
}
}
});
} );
*/


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


/* --- Enable button Other:Also:Circle-f
/* --- Enable Format:button Quotes */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Circle-f": {
"Quotes": {
label: 'Circle-b',
label: 'Quotes',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/0/0f/Circle_f.png',  
icon: 'http://www.sm-201.org/a/images/7/7d/Button_quot.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "films",
pre: '"',
                                post:""
post: '"',
}
}
}
}
Line 284: Line 265:
}
}
});
});
*/


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


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


/* --- Enable Format:Strike through*/
/* --- Enable Format:button Justify */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Format',
tools: {
tools: {
"Strike": {
"Justify": {
label: 'Strike',
label: 'Justify',
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/0/0f/Button_just.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<s>',
pre:  '<p align="justify">',
post: '</s>',
post: '</p>',
}
}
}
}
Line 347: Line 326:
});
});


/* --- Enable Format:button [[link]] */
/* Enable Group:Inc:  ================================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
'groups': {
tools: {
'Inc': {
"Template": {
'label': 'Inc'  
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 {{ }} */
/* --- Enable button Inc:Includeonly */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'format',
group: 'Inc',
tools: {
tools: {
"Template": {
"Incl": {
label: 'Template',
label: 'Incl',
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/3/3b/Button_in.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{",
pre: "<includeonly>",
post: "}}"
                                        post:"</includeonly>"
}
}
}
}
}
}
}
}
} );
});


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


/* --- Enable Format:button moz-column */
/* --- Enable button Inc:Nowiki */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Format',
group: 'Inc',
tools: {
tools: {
"Columns": {
"Nowiki": {
label: 'Columns',
label: 'Nowiki',
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/a/a6/Button_quiet.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<div style='-moz-column-count:2; column-count:2;'>",
pre: "<nowiki>",
post: "</div>",
                                        post:"</nowiki>"
}
}
}
}
Line 427: Line 396:
});
});


/* --- Enable Format:button Center */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* 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',
section: 'SM-201',
group: 'Format',
group: 'Cats',
tools: {
tools: {
"Center": {
"Cats": {
label: 'Center',
label: 'Category',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/5/5f/Button_center.png',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '<center>',
pre:  '[[Category:',
post: '</center>',
post: ']]'
}
}
}
}
}
}
}
}
});
} );
 


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


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


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


/* --- Enable button Inc:Noinclude */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* Enable group:Refs: ========================= */
section: 'SM-201',
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
group: 'Inc',
    section: 'SM-201',
'groups': {
'Refs': {
'label': 'Refs'
}
}
} );
 
 
/* --- Enable button Refs:<ref> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
group: 'Refs',
tools: {
tools: {
"Noinclude": {
"Ref": {
label: 'Noinclude',
label: 'RefLink',
type: 'button',
type: 'button',
       icon: 'http://www.sm-201.org/a/images/1/1b/Button_no.jpg',  
       icon: 'http://www.sm-201.org/a/images/7/79/Button_reflink.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<noinclude>",
pre: "<ref>",
                                         post:"</noinclude>"
                                         post:"</ref>"
}
}
}
}
Line 517: Line 501:
});
});


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


 
/* --- Enable button Refs:<src> */
/* Enable group:SM-201:Cats */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Cats': {
'label': 'Cats'
}
}
} );
 
/* --- Enable button Cats:Category  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Cats',
group: 'Refs',
tools: {
tools: {
"Cats": {
"Src": {
label: 'Category',
label: 'Src',
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/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[Category:',
pre: '<ref group="Source">',
post: ']]'
                    post:"</ref>"
}
}
}
}
}
}
}
}
} );
});


 
/* --- Enable button Notes:Calendar */
/* --- Enable button Cats:Category2 */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Cats',
group: 'Refs',
tools: {
tools: {
"Cats": {
"Access": {
label: 'Category',
label: 'Access',
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/a/a7/Button_cal.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '{{cat|',
pre:  "accessed = ",
post: '}'
post: ""
}
}
}
}
Line 589: Line 561:
} );
} );


/* --- Enable sm-201:cats:catpers  */
 
/* --- Enable button Refs:<reflist> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Cats',
group: 'Refs',
tools: {
tools: {
"persons": {
"Ref": {
label: 'persons',
label: 'RefList',
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/3/32/Button_reflist.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "[[Category:",
pre: "== References ==\n",
                    post:"Persons]]"
                                        post:"<References />"
}
}
}
}
Line 609: Line 582:
});
});


/* --- Enable button Cats:Needs update  */
/* --- Enable button Refs:<reflist> */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Cats',
group: 'Refs',
tools: {
tools: {
"Update": {
"Note": {
label: 'Update',
label: 'Note',
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/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|Needs updated info} }",
pre: '== Notes ==\n',
post: ""
                                        post:'<references group="Note" />'
}
}
}
}
}
}
}
}
} );
});


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


/* --- Enable button Refs:<ref> */
/* --- Enable button Notes:@wr */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Refs',
tools: {
tools: {
"Note": {
"Needs": {
label: 'Note',
label: '{wref"}',
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/eb/Button_@.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<ref group="Note">',
pre: '{{wref"|',
                     post:"</ref>"
                     post:"}}"
}
}
}
}
Line 681: Line 642:
});
});


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




/* --- Enable button Refs:<Buy> */
/* --- Enable button Notes:headred */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"BuyIt": {
"Needs": {
label: 'BuyIt',
label: 'Headred',
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/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<ref group="BuyIt">',
pre: "{{Headred|",
                    post:"</ref>"
                                        post:" 01/23}}"
}
}
}
}
Line 722: Line 694:
});
});


 
/* --- Enable button Notes:Defaultsort  */
/* --- Enable button Cats:Also:Mast */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"Avail": {
"{DS}": {
label: 'Avail',
label: '(DS)',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',  
  icon: 'http://www.sm-201.org/a/images/1/18/Editor_d.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "[",
pre: "{{DEFAULTSORT:",
                                         post:" Available at Amazon.com]"
                                         post:"}}"
}
}
}
}
Line 743: Line 714:
});
});


/* --- Enable button Notes:Calendar */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable button Notes:footer */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"Access": {
"Footer": {
label: 'Access',
label: 'Footer',
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/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "accessed = ",
pre: "{{Footer",
post: ""
                                      post:"}}"
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Refs:<backup> */
/* --- Enable button Notes:Category:needs */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"!201": {
"Needs": {
label: '!201',
label: 'Needs',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
  icon: 'http://www.sm-201.org/a/images/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<ref group="Source">[[!Sm-201 2017-0316]]',
pre: "{{Needs}",
                    post:" backup</ref>"
                                        post:""
}
}
}
}
Line 783: Line 755:
});
});


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


/* --- Enable button Refs:<reflist> */
/* --- Enable button Notes:Heads3  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"Note": {
"A3": {
label: 'Note',
label: 'Heads3',
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/3/3a/Button_headline3.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '== Notes ==\n',
pre: '=== ',
                                        post:'<references group="Note" />'
post: ' ==='
}
}
}
}
}
}
}
}
});
} );


/* --- Enable button Refs:<reflist> */
/* --- Enable button Notes:Wiki:@  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"Ref": {
"Needs": {
label: 'SrcList',
label: 'Wikimain',
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/8/82/Wikilogo-20.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '== Sources ==\n',
pre: "{{Wikimain|",
                                         post:'<references group="Source" />'
                                         post:"|_}}"
}
}
}
}
Line 843: Line 817:
});
});


/* --- Enable button Refs:<Buy> */
/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"Ref": {
"{{Wl|": {
label: 'BuyIt',
label: '{{wl|',
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/e/ef/Button_para.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '== Buy this book ==\n',
pre: "{{Wl|",
                    post:'<references group="BuyIt" />'
                                        post:"}}"
}
}
}
}
Line 863: Line 837:
});
});


/* --- Enable button model */
 
 
/* --- Enable button Notes:Redirect */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"mg": {
"Redirect": {
label: 'mg',
label: 'Redirect',
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/c/c8/Button_redirect.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{mg|",
pre: "#REDIRECT [[",
                    post:"}}"
                                        post:"]]"
}
}
}
}
Line 884: Line 860:




/* --- Enable button Notes:@wr */
/* --- Enable button Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Refs',
group: 'Notes',
tools: {
tools: {
"Needs": {
"ReCat": {
label: '{wref"}',
label: 'ReCat',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/eb/Button_@.png',
   icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{wref"|',
pre: "#REDIRECT [[]]\n{{Headred|<from> 01/23}}\n",
                    post:"}}"
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| }"
}
}
}
}
Line 904: Line 880:
});
});


/* Enable Group:Table */
/* --- Enable button Notes:SHP matrix */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Table': {
'label': 'Table'
}
}
} );
 
/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Table',
group: 'Notes',
tools: {
tools: {
"blank": {
"SHP": {
label: 'blank',
label: 'SHP',
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/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "| {{blank}} || ",
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
post: ""
                    post:""
}
}
}
}
Line 934: Line 900:
});
});


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


/* --- Enable button model */
 
/* ---- Enable Links:See also */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Page',
group: 'Links',
tools: {
tools: {
"Model": {
"Links": {
label: 'Model',
label: 'See also',
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/c/c7/Button_see-also.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox model",
pre: "{{sa|",
                                        post:""
                post:"}}"
}
}
}
}
Line 964: Line 933:
});
});


/* --- Enable button Pornstud  */
/* ### So far, so good */
 
 
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Page',
group: 'Links',
tools: {
tools: {
"Pornstud": {
'External': {
label: 'Model',
label: 'External',
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/e/e3/Editor_e.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Infobox pornstud",
                pre: "== External links ==",
                                        post:""
post: '',
}
}
}
}
Line 984: Line 956:
});
});


/* --- Enable Pornstar */
/* ---- Enable Links:Sanity */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Page',
group: 'Links',
tools: {
tools: {
"Model": {
"Links": {
label: 'Model',
label: 'Sanity',
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/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                                pre: '{{Infobox pornstar',
pre: "{{Sanity check|01/23|R/}}",
post: ''
                post:""
}
}
}
}
}
}
}
}
} );
});
 


/* --- Enable button Notes:toporn  */
/* ---- Enable Links:Site ok */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Page',
group: 'Links',
tools: {
tools: {
"toporn": {
"Links": {
label: '',
label: 'Link OK',
type: 'button',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
  icon: 'http://www.sm-201.org/a/images/f/f1/Editor_y.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{toporn|add=}}',
pre: "{{Site-ok|01/23 R/}} ",
post: ''
                    post:""
}
}
}
}
}
}
}
}
} );
});


 
/* ---- Enable Links:Red */
/* --- Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Page',
group: 'Links',
tools: {
tools: {
"porn": {
"Links": {
label: 'sa-porn',
label: 'Footer',
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/0/0e/Editor_n.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-porn",
pre: "{{Site-red|01/23 R/}}{{Site-def|01/23 R/}}",
                     post:"}}"
                     post:"{{Site-hij|01/23 R/}}"
}
}
}
}
Line 1,046: Line 1,018:




/* Enable group:Notes: */
/* --- Enable Links:Strike through*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'SM-201',
'groups': {
'Notes': {
'label': 'Notes'
}
}
} );
 
 
/* --- Enable button Notes:header  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Needs',
group: 'Links',
tools: {
tools: {
"Needs": {
"Strike": {
label: 'Header',
label: 'Strike',
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/c9/Button_strike.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header",
pre: '<s>',
                    post:"}}"
post: '</s>',
}
}
}
}
Line 1,077: Line 1,038:
});
});


 
/* ---- Enable Links:<cr> */
/* --- Enable button Notes:headred */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Links',
tools: {
tools: {
"Needs": {
"Links": {
label: 'Header',
label: '<cr>',
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/c/c7/Button_cr.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Headred|",
pre: "<br>",
                                        post:" 12/21}}"
                    post:""
}
}
}
}
Line 1,098: Line 1,058:
});
});


/* --- Enable button Notes:header| */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
 
/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
'groups': {
tools: {
'Files': {
"Needs": {
'label': 'Files'
label: 'Header',
}
}
} );
 
/* --- Enable Files:Copyright unknown */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
group: 'Files',
tools: {
"Copy": {
label: 'Copy',
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/e/eb/Button_@.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Header|",
pre: 'Copyright info not available/ownership unknown',
                                        post:" 12/21}}"
post: ''
}
}
}
}
}
}
}
}
});
} );
 




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


 
/* --- Enable Files:Mo/Yr */
/* --- Enable button Notes:source  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Files',
tools: {
tools: {
"<!>": {
"Date": {
label: '<!>',
label: 'Date',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<!-- Article source material: ",
pre: '01/23',
                                        post:" -->"
post: ''
}
}
}
}
}
}
}
}
});
} );
 
 


/* --- Enable button Notes:footer  */
/* --- Enable Files:Thumbnail */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Files',
tools: {
tools: {
"Footer": {
"rasw": {
label: 'Footer',
label: 'rasw',
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/d/d5/Editor_r.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Footer",
pre: '* {{rasw|',
                                        post:"}}"
post: '}'
}
}
}
}
}
}
}
}
});
} );


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




 
/* --- Enable Files:Gallery */
 
/* --- Enable button Notes:Heads2  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Files',
tools: {
tools: {
"A2": {
"Gallery": {
label: 'Heads2',
label: 'Gallery',
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/6/60/Button_insert_table.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '== ',
pre:  '<gallery mode="packed" heights="200px" caption=""> ',
post: ' =='
post: '</gallery>'
}
}
}
}
Line 1,224: Line 1,196:




 
/* --- Enable Files:Screenies */
/* --- Enable button Notes:Heads3  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'SM-201',
group: 'Notes',
group: 'Files',
tools: {
tools: {
"A3": {
"Screenies": {
label: 'Heads3',
label: 'Screenies',
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/0/0a/Button_screenie.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '=== ',
pre:  '[[MOVB]] screenies for ',
post: ' ==='
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 Notes:Wiki:@  */
/* --- Enable button model */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"Needs": {
"Model": {
label: 'Wikimain',
label: 'Model',
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/6/6d/Editor_m_.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wikimain|",
pre: "{{Infobox model",
                                         post:"|_}}"
                                         post:""
}
}
}
}
Line 1,265: Line 1,256:
});
});


/* --- Enable button Notes:Wikilink */
/* --- Enable Pornstar */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"Link": {
"Model": {
label: 'Wikilink',
label: 'Model',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/ef/Button_para.png',  
icon: 'http://www.sm-201.org/a/images/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Wl|",
                                pre: '{{Infobox pornstar}',
                                        post:"}}"
post: ''
}
}
}
}
}
}
}
}
});
} );
/* --- Enable button Notes:Redirect */
 
 
/* --- Enable button Pornstud  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"Redirect": {
"Pornstud": {
label: 'Redirect',
label: 'Model',
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/9/9f/Button_male.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "#REDIRECT [[",
pre: "{{Infobox pornstud",
                                         post:"]]"
                                         post:""
}
}
}
}
Line 1,305: Line 1,298:




/* --- Enable button Notes:Wikilink */
/* --- Enable button Notes:top-tg  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"ReCat": {
"top-tg": {
label: 'ReCat',
label: 'Top-tg',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/7/70/RedirectCat.png',  
icon: 'http://sm-201.org/a/images/5/5a/Editor_ques.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "#REDIRECT [[]]\n{{Headred|<from> 12/21}}\n",
pre: '{{top-tg|add=vedette and}}',
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| } }"
post: ''
}
}
}
}
}
}
}
}
});
} );


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


/* --- Enable button Notes:SHP matrix */
/* --- Enable button Japan cinema  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"SHP": {
"Japorn": {
label: 'SHP',
label: 'Japorn',
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/c/c4/Circle_j.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{shp|rpm=|emh=|bah=|etv=|bur=|msh=|pin=|sph=|show=|eve=|wwii=|yank=}}",
pre: "{{Japanese erotic cinema}}{{Japanese porn stars}}",
                     post:""
                     post:""
}
}
Line 1,365: Line 1,359:




/* --- Enable button Notes:insert image */
/* --- Enable button sa-porn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Notes',
group: 'Page',
tools: {
tools: {
"Needs": {
"porn": {
label: 'image:',
label: 'sa-porn',
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/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
    pre: "Image:",
pre: "{{sa-porn}}{{porn stars}} {{porn}}",
                                    post:""
                    post:""
}
}
}
}
Line 1,385: Line 1,379:
});
});


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


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


/* Enable group:Links: */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable Other:data*/
section: 'SM-201',
'groups': {
'Links': {
'label': 'Links'
}
}
} );
 
 
/* --- Enable Links:External links*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
'External': {
"valign": {
label: 'External',
label: 'data',
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/5/5f/Button_temp.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                pre: "== External links ==",
pre: '{{{',
post: '',
                    post:'|}}}'
}
}
}
}
Line 1,438: Line 1,431:




/* --- Enable Links:{{rasw}}*/
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
'rasw': {
"Pipe": {
label: 'rasw',
label: '{|}',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/e/ef/Circle_R%2Cjpg.jpg',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
          pre: "{{rasw|",
pre: "|",
  post: '}',
                    post:""
}
}
}
}
Line 1,459: Line 1,452:




/* --- Enable Links:wiktionary*/
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
'External': {
"Expl 1": {
label: 'Wikt',
label: '{!}',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/f/ff/Editor_w.png',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
                pre: "{{wiktionary}}",
pre: "{{!",
post: '',
                                        post:"}}"
}
}
}
}
Line 1,479: Line 1,472:
});
});


/* ---- Enable Links:Sanity */
/* --- Enable Other:Table:{!!}  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
"Links": {
"Expl 2": {
label: 'Sanity',
label: '{!!}',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
      icon: 'http://sm-201.org/a/images/b/b6/Button_%21%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Sanity check|12/21|R/}}",
pre: "{{!!}}",
                post:""
                                        post:""
}
}
}
}
Line 1,500: Line 1,493:




/* ---- Enable Links:See also */
/* --- Enable Other:Table:Line1 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
"Links": {
"Line1": {
label: 'See also',
label: 'Line1',
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/7/74/Button_L1.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa|",
pre: " {{Line1}}",
                post:"}}"
post: ""
}
}
}
}
Line 1,519: Line 1,512:
}
}
});
});
 
/* --- Enable Other:Table:Line2 */
 
 
/* ---- Enable Links:Site ok */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
"Links": {
"Line2": {
label: 'Link OK',
label: 'Line2',
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/7/7d/Button_L2.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-ok|12/21 R/}} ",
pre: " {{Line2}}",
                    post:""
post: ""
}
}
}
}
Line 1,542: Line 1,532:
});
});


/* ---- Enable Links:Red */
 
/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
"Links": {
"!!": {
label: 'Footer',
label: '!!',
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/b/b6/Button_%21%21.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{Site-red|12/21 R/}} ",
pre: " || ",
                    post:""
                                        post:""
}
}
}
}
Line 1,562: Line 1,553:
});
});


/* --- Enable Links:Strike through*/
 
/* --- Enable Other:Table:Empty column  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
"Strike": {
"MT": {
label: 'Strike',
label: 'MT',
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/a/ad/Button_mt.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<s>',
pre: "|| &nbsp; ",
post: '</s>',
                    post:""
}
}
}
}
Line 1,582: Line 1,574:
});
});


/* ---- Enable Links:<cr> */
/* --- Enable Other:Table:wp0 */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Links',
group: 'Table',
tools: {
tools: {
"Links": {
"wp0": {
label: '<cr>',
label: 'wp0',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/c/c7/Button_cr.png',
   icon: 'http://www.sm-201.org/a/images/9/95/Button_wp0.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "<br>",
pre: "{{wp0|",
                     post:""
                     post:"|2}}"
}
}
}
}
Line 1,602: Line 1,594:
});
});


/* Enable Group:Files: */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable Other:Table:Columns */
section: 'SM-201',
$('#wpTextbox1').wikiEditor('addToToolbar', {
'groups': {
section: 'Other',
'Files': {
group: 'Table',
'label': 'Files'  
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 Files:Copyright unknown */
/* --- Enable Other:Table:Columns */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Files',
group: 'Table',
tools: {
tools: {
"Copy": {
"Top": {
label: 'Copy',
label: 'Top',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/22/Button-copy.jpg',
icon: 'http://www.sm-201.org/a/images/7/78/Arrow-up.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  'Copyright info not available/ownership unkown',
pre:  "{{top}}",
post: ''
post: ""
}
}
}
}
}
}
});
/* Other Talk ======================================= */
/* Enable Group:Talk:  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
'groups': {
'Talk': {
'label': 'Talk'
}
}
}
}
} );
} );


/* --- Enable Files:Mo/Yr */
/* --- Enable Other:Talk:Date chg*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Other',
group: 'Files',
group: 'Talk',
tools: {
tools: {
"Date": {
"date": {
label: 'Date',
label: 'date',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/0/01/Button-cal.jpg',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '12/21',
pre:  'January 01, 2023',
post: ''
post: ''
}
}
Line 1,653: Line 1,668:




/* --- Enable Files:Thumbnail */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
 
section: 'SM-201',
/* --- Enable button sa-porn  */
group: 'Files',
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Info',
group: 'Page',
tools: {
tools: {
"nsw": {
"bond": {
label: 'nsw',
label: 'sa-bond',
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/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '* {{rasw|',
pre: "{{sa-bond}}{{bondmods}}",
post: '}'
                    post:""
}
}
}
}
}
}
});
/* Enable Group:Files: ============================== */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
'groups': {
'Pers': {
'label': 'Pers'
}
}
}
}
Line 1,675: Line 1,702:




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


/* --- Enable Files:Gallery */
/* --- Enable button Info:Pers:rose */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Files',
group: 'Pers',
tools: {
tools: {
"Gallery": {
"rose": {
label: 'Gallery',
label: 'rose',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/60/Button_insert_table.png',
icon: 'http://www.sm-201.org/a/images/1/16/Button_pink.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<gallery mode="packed" heights="200px" caption=""> ',
pre: "| color    = mistyrose",
post: '</gallery>'
                                        post:""
}
}
}
}
Line 1,716: Line 1,744:




/* --- Enable Files:Screenies */
/* --- Enable Table:button*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'SM-201',
section: 'Info',
group: 'Files',
group: 'Pers',
tools: {
tools: {
"Screenies": {
"blue": {
label: 'Screenies',
label: 'blank',
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/e/ec/Button_base.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre:  '[[MOVB]] screenies for ',
pre:  "| color    = lightblue",
post: ''
post: ""
}
}
}
}
}
}
}
}
} );
});
/*  =========================================== Add "Other:Groups" Buttons==== */


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


/* Enable Group:Other:Table: */
/* --- Enable button Info|Pers|DOB  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
'groups': {
group: 'Pers',
'Tables': {
tools: {
'label': 'Table'  
"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",
                                        post:""
}
}
}
}
}
}
} );
});
 


/* Enable group:Other:YT */
/* --- Enable button Info|Pers|Birthplace  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
    section: 'YT',
section: 'Info',
'groups': {
group: 'Pers',
'Also': {
tools: {
'label': 'YT'  
"place": {
label: 'place',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
type: 'encapsulate',
options: {
pre: "|  birthplace = ",
                                        post:""
}
}
}
}
}
}
} );
});


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


 
/* --- Enable button Info|Pers|Alias */
 
$('#wpTextbox1').wikiEditor('addToToolbar', {
/* --- Enable Other:Talk:Date chg*/
section: 'Info',
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
group: 'Pers',
section: 'Other',
group: 'Talk',
tools: {
tools: {
"date": {
"Alias": {
label: 'date',
label: 'alias',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/a/a7/Button_cal.png',
      icon: 'http://sm-201.org/a/images/b/b6/Editor_o.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: 'Dec 01, 2021',
pre: "|    othername = ",
post: ''
                                        post:""
}
}
}
}
}
}
}
}
} );
});


/* --- Enable button Other:Talk:smfix */
/* --- Enable button Porn|Pers:{Star} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Talk',
group: 'Pers',
tools: {
tools: {
"Talk:": {
"Star": {
label: 'smfix',
label: '{Star}',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/b/b8/Sm-fix.jpg',  
  icon: 'http://www.sm-201.org/a/images/1/14/Button_star2.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{header| }}\n== Sources == \n*  - Article updated with information ",
pre: "{{star}}"
                                        post:"from !sm 201-2017-0315 backup files \n{{cat|yrmo}}"
}
}
}
}
Line 1,820: Line 1,846:
});
});


 
/* --- Enable button Info|Pers|cause */
/* --- Enable button Also:<YouTube> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Talk',
group: 'Pers',
tools: {
tools: {
"YT": {
"cause": {
label: 'YouTube',
label: 'cause',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/b/bd/Cat-film.jpg',  
icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
            action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '{{ytbox|<youtube height="160px" width="250px">id</youtube>|{{bc|caption}}|right}}'
pre: "|   deathcause = ",
                                        post:""
}
}
}
}
Line 1,841: Line 1,867:




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


/* --- Enable button other|cats|!more  */
 
/* --- Enable Info:Vitals:vlabel button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Vitals',
tools: {
tools: {
"!more": {
"Vitals": {
label: '!more',
label: 'vlabel',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!more}}",
pre: "|      vitals = {{vitals|",
                                         post:""
                                         post:""
}
}
Line 1,872: Line 1,898:
});
});


 
/* --- Enable Info:Vitals:Eyes button*/
/* --- Enable button Other:Cats:Letter_A  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Vitals',
tools: {
tools: {
"cats a": {
"Eyes": {
label: 'cats a',
label: 'Eye',
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/e/e3/Editor_e.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|actors|actresses|artists|authors|",
pre: "|   eye color = ",
                    post:"}}"
                                        post:""
}
}
}
}
Line 1,893: Line 1,918:
});
});


 
/* --- Enable Info:Vitals:height*/
/* --- Enable button Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Vitals',
tools: {
tools: {
"BondMod": {
"height": {
label: 'BondMod',
label: 'Height',
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/e/e4/Editor_h.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
pre: "|      height = ",
                    post:"{{actresses} {{Porn stars}"
                                        post:"{{ht|?|?))"
}
}
}
}
Line 1,914: Line 1,938:
});
});


 
/* --- Enable Info:Vitals:weight*/
/* --- Enable button Other:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Vitals',
tools: {
tools: {
"Circle-J": {
"weight": {
label: 'Circle-J',
label: 'Weight',
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/f/ff/Editor_w.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{AV Idols} }{{Japanese erotic cinema} }",
pre: "|      weight = ",
                post:"{{Japanese Porn stars}}"
                                        post:"{{wt|}}"
}
}
}
}
Line 1,934: Line 1,957:
}
}
});
});
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Info',
'groups': {
'Pro': {
'label': 'Pro'
}
}
} );
/*  &&&& */




/* --- Enable button Other:Also:Circle-S */
/* --- Enable button Info|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Pro',
tools: {
tools: {
"Circle-S": {
"Genre": {
label: 'Circle-S',
label: 'Genre',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/2/29/Circle_s.png',  
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{shibari}}",
pre: "|        genre = ",
                                post:""
                                        post:""
}
}
}
}
Line 1,956: Line 1,990:
});
});


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


/* --- Enable button Other:Cats:spider pool */
/* --- Enable button Info|Pro|Name */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Pro',
tools: {
tools: {
"spank": {
"years": {
label: 'spider',
label: 'years',
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/f/f1/Editor_y.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models} }",
pre: "| yearsactive = ",
                    post:""
                                      post:""
}
}
}
}
Line 1,996: Line 2,033:
});
});


/* --- Enable button Other:Cats:BDSMAuthors  */
 
/* --- Enable button Info|Pro|Boygirl = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Pro',
tools: {
tools: {
"Auth": {
"boygirl": {
label: 'BDSMauth',
label: 'boygirl',
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/b/b4/Editor_b.png',
Line 2,008: Line 2,046:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{bdsmauthors",
pre: "|      boygirl =  [[BJ]], [[Vaginal]], [[Anal]]",
                                         post:"}}"
                                         post:""
}
}
}
}
Line 2,017: Line 2,055:




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


/* --- Enable button sa-bondfurn  */
 
/* --- Enable button Info|Pro|Lesbian = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Pro',
tools: {
tools: {
"Furn": {
"solo": {
label: 'Furn',
label: 'solo',
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/6/60/Editor_s.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bondfurn}}",
pre: "|        solo = [[Masturbation]], [[Dildo]]",
                                         post:""
                                         post:""
}
}
Line 2,058: Line 2,096:
});
});


/* --- Enable button sa-bondpos */
 
 
/* --- Enable button Info|Pro|cat=Mistresses */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Pro',
tools: {
tools: {
"Pos": {
"Mistresses": {
label: 'Pos',
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: "{{sa-bondpos",
pre: '[[Category:Mistresses]',
                                        post:"}}"
post: ''
}
}
}
}
Line 2,078: Line 2,118:
});
});


/* --- Enable button sa-bondrest  */
 
/* --- Enable button Other:Also:Circle-S */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Info',
group: 'Cats',
group: 'Pro',
tools: {
tools: {
"Rest": {
"Penthouse": {
label: 'Rest',
label: 'Penthouse',
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/2/23/Cam.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{sa-bondrest}}"
pre: "{{Penthouse Pets 2020|year=}}",
                                post:""
}
}
}
}
Line 2,098: Line 2,140:




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


/* --- Enable button Porn:Pers:pink */
/* --- Enable button Info|Pers:{cat} */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Info',
group: 'Pers',
group: 'Pers',
tools: {
tools: {
"pink": {
"cat": {
label: 'pink',
label: 'cat',
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/d/d0/Button_Cat.Png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      color = pink",
pre: "{{sa-porn}}{{footer}}{{porn stars}}"
                                        post:""
}
}
}
}
}
}
}
}
} );
});
/*  &&&& */


/* --- Enable button Porn|Pers|Name  */
/* Enable Group:Table */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
'groups': {
'Table': {
'label': 'Table'
}
}
} );
 
 
/* --- Enable Table:button*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
tools: {
"name": {
"blank": {
label: 'name',
label: 'blank',
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/ec/Button_base.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|         name = ",
pre: "| {{blank}} || ",
                                        post:""
post: ""
}
}
}
}
Line 2,170: Line 2,213:




/* --- Enable button Porn|Pers|DOB  */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Table',
tools: {
tools: {
"birth": {
"valign": {
label: 'birth',
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: "|   birthdate = {{dob",
pre: '|- valign ="top"\n',
                                        post:""
                    post:'| {{#if: data | {{!}} text {{!!}} data }}'
}
}
}
}
Line 2,191: Line 2,234:




/* --- Enable button Porn|Pers|Birthplace  */
/* --- Enable Other:data*/
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Table',
tools: {
tools: {
"place": {
"valign": {
label: 'place',
label: 'data',
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/5/5f/Button_temp.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|  birthplace = ",
pre: '{{{',
                                        post:""
                    post:'|}}}'
}
}
}
}
Line 2,212: Line 2,255:




/* --- Enable button Porn|Pers|Alias */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Table',
tools: {
tools: {
"Alias": {
"Pipe": {
label: 'alias',
label: '{|}',
type: 'button',
type: 'button',
       icon: 'http://sm-201.org/a/images/e/e0/Editor_a.png',  
       icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|   othername = ",
pre: "|",
                                        post:""
                    post:""
}
}
}
}
Line 2,233: Line 2,276:




/* --- Enable button Porn|Pers:{Star} */
/* --- Enable Other:Table:{!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Table',
tools: {
tools: {
"Star": {
"Expl 1": {
label: '{Star}',
label: '{!}',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/6/60/Editor_s.png',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{star}}"
pre: "{{!",
                                        post:"}}"
}
}
}
}
Line 2,252: Line 2,296:
});
});


/* --- Enable button Porn|Pers:{dag}*/
/* --- Enable Other:Table:{!!} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Table',
tools: {
tools: {
"Dag": {
"Expl 2": {
label: '{Dag}',
label: '{!!}',
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/b6/Button_%21%21.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{dag}}"
pre: "{{!!}}",
                                        post:""
}
}
}
}
Line 2,272: Line 2,317:




/* Enable group:Porn|Vitals */
/* --- Enable Other:Table:Line1*/
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
    section: 'Porn',
'groups': {
'Vitals': {
'label': 'Vitals'
}
}
} );
 
/* --- Enable button Porn:Pers|vitals = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"vitals": {
"Line1": {
label: 'V-lab',
label: 'Line1',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/c/c2/Editor_v.png',  
icon: 'http://www.sm-201.org/a/images/7/74/Button_L1.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      vitals = ",
pre: " {{Line1}}",
                                        post:""
post: ""
}
}
}
}
Line 2,301: Line 2,336:
}
}
});
});
 
/* --- Enable Other:Table:Line2*/
 
/* --- Enable button Porn:Pers|(vitals} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"vitals": {
"Line2": {
label: 'V-tmp',
label: 'Line2',
type: 'button',
type: 'button',
      icon: 'http://www.sm-201.org/a/images/5/55/Boobs.jpg',  
icon: 'http://www.sm-201.org/a/images/7/7d/Button_L2.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{vitals|",
pre: " {{Line2}}",
                                        post:""
post: ""
}
}
}
}
Line 2,323: Line 2,356:
});
});


/* --- Enable button Porn:Vitals:{Height}  */
 
/* --- Enable Other:Table:' !! ' - New column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"ht": {
"!!": {
label: 'ht',
label: '!!',
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/b/b6/Button_%21%21.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       height = {{{ht|",
pre: " || ",
                                         post:"}}"
                                         post:""
}
}
}
}
Line 2,343: Line 2,377:
});
});


/* --- Enable button Porn|Vitals|{Weight} */
 
/* --- Enable Other:Table:Empty column */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"wt": {
"MT": {
label: 'wt',
label: 'MT',
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/a/ad/Button_mt.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       weight = {{{wt|",
pre: "|| &nbsp; ",
                                        post:"}}"
                    post:""
}
}
}
}
Line 2,363: Line 2,398:
});
});


 
/* --- Enable Other:Table:wp0 */
/* --- Enable button Porn|Vitals|Hair = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"Hair": {
"wp0": {
label: 'hair',
label: 'wp0',
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/9/95/Button_wp0.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|     bodytype = ",
pre: "{{wp0|",
                                    post:""
                    post:"|2}}"
}
}
}
}
Line 2,384: Line 2,418:
});
});


/* --- Enable button Porn|Vitals|Hair = */
 
/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"Hair": {
"Columns": {
label: 'hair',
label: 'Columns',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/e/e4/Editor_h.png',
icon: 'http://www.sm-201.org/a/images/0/04/Button_multicol.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|  hair color = ",
pre: "<div style='-moz-column-count:2; column-count:2;'>",
                                        post:""
post: "</div>"
}
}
}
}
Line 2,404: Line 2,439:
});
});


/* --- Enable button Porn|Vitals|Eyes =  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
group: 'Vitals',
tools: {
"Eya": {
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 button Porn|Vitals|7 spaces  */
/* --- Enable Other:Table:Columns */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Table',
tools: {
tools: {
"Seven": {
"Top": {
label: 'Seven',
label: 'Top',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/f/fd/Circle_7.png',
icon: 'http://www.sm-201.org/a/images/7/78/Arrow-up.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "     ",
pre: "{{top}}",
                                        post:""
post: ""
}
}
}
}
Line 2,444: Line 2,460:
});
});


/* --- Enable button Porn|Vitals|10 spaces */
 
 
/* 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: 'Porn',
section: 'Other',
group: 'Vitals',
group: 'Cats',
tools: {
tools: {
"Ten": {
"!more": {
label: 'Ten',
label: '!more',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/2/20/Circle_x.png',
icon: 'http://www.sm-201.org/a/images/6/66/Editor_!.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "       ",
pre: "{{!more}",
                                         post:""
                                         post:""
}
}
Line 2,464: Line 2,505:
});
});


/* Enable group:Porn|Pro */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
/* --- Enable button Other:Cats:Letter_A  */
    section: 'Porn',
'groups': {
'Pro': {
'label': 'Pro'
}
}
} );
 
 
/* --- Enable button Porn|Pro|Genres = */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"Genre": {
"cats a": {
label: 'Genre',
label: 'cats a',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/3/35/Editor_g.png',
    icon: 'http://www.sm-201.org/a/images/2/23/Circle_a.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|       genre = ",
pre: "{{cat|actors|actresses|artists|authors}",
                                        post:""
                    post:""
}
}
}
}
Line 2,496: Line 2,527:




/* --- Enable button Porn|Pro|Specs = */
/* --- Enable button Other:Cats:BondMod  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"Specs": {
"BondMod": {
label: 'Specialty',
label: 'BondMod',
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/e/ea/Cat-model.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|  specialties = ",
pre: "{{bondmod} {{bondmods} {{BL Models} {{Nudes}",
                                    post:""
                    post:"{{actresses} {{Porn stars}"
}
}
}
}
Line 2,516: Line 2,547:
});
});


/* --- Enable button Porn|Pers|Name  */
 
/* --- Enable button Other:Also:Circle-J */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Cats',
tools: {
tools: {
"name": {
"Circle-J": {
label: 'name',
label: 'Circle-J',
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/c/c4/Circle_j.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
 
pre: "{{AV Idols} }{{Japanese erotic cinema}",
pre: "|  yearsactive = ",
                post:"{{Japanese Porn stars}"
                                      post:""
}
}
}
}
Line 2,538: Line 2,569:




/* --- Enable button Porn|Pro|Boygirl = */
/* --- Enable button Other:Also:Circle-S */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"boygirl": {
"Penthouse": {
label: 'boygirl',
label: 'Penthouse',
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/2/23/Cam.png',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|     boygirl = [[BJ]], [[Vaginal]], [[Anal]]",
pre: "{{Penthouse Pets 2020|year=}}",
                                        post:""
                                post:""
}
}
}
}
Line 2,558: Line 2,589:
});
});


/* --- Enable button Porn|Pro|Lesbian = */
 
/* --- Enable button Other:Cats:Playboy */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"lesbian": {
"Playboy": {
label: 'lesbian',
label: 'Playboy',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/1/16/Editor_l.png',
      icon: 'http://www.sm-201.org/a/images/0/06/Playboy-i.jpg',  
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|      lesbian = [[Softcore]], [[Dildo]]",
pre: "{{sa-playboy}}",
                                        post:""
                                post:""
}
}
}
}
Line 2,578: Line 2,610:
});
});


/* --- Enable button Porn|Pro|Solo = */
 
 
/* --- Enable button spank  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"solo": {
"spank": {
label: 'solo',
label: 'spank',
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/99/Cat-spank.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "|        solo = [[Masturbation]], [[Dildo]]",
pre: "{{spank}",
                                         post:""
                                         post:""
}
}
Line 2,598: Line 2,632:
});
});


/* --- Enable button Porn|Pro|cat=Mistresses */
/* --- Enable button Other:Cats:spider pool */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"Mistresses": {
"spank": {
label: 'Mistresses',
label: 'spider',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/4/48/Whip.jpg',  
icon: 'http://www.sm-201.org/a/images/b/bc/Cat-spider.jpg',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '[[Category:Mistresses] ]',
pre: "{{cat|Spider Pool|Spider Pool history|Spider Pool models}",
post: ''
                    post:""
}
}
}
}
Line 2,619: Line 2,653:




/* --- Enable button Porn|Pers:{cat}*/
/* --- Enable button Other:Cats:BDSMAuthors  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pers',
group: 'Cats',
tools: {
tools: {
"cat": {
"Auth": {
label: 'cat',
label: 'BDSMauth',
type: 'button',
type: 'button',
icon: 'http://www.sm-201.org/a/images/d/d0/Button_Cat.Png',
  icon: 'http://www.sm-201.org/a/images/b/b4/Editor_b.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{porn stars}}"
pre: "{{bdsmauthors}",
                                        post:""
}
}
}
}
Line 2,638: Line 2,673:
});
});


/* --- Enable button Porn|Pro|Imdb etc = */
 
 
/* --- Enable button Other:Cats:(Computer technology) */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Porn',
section: 'Other',
group: 'Pro',
group: 'Cats',
tools: {
tools: {
"imdb": {
"CT": {
label: 'imdb',
label: 'CT',
type: 'button',
type: 'button',
  icon: 'http://www.sm-201.org/a/images/5/5e/Editor_i.png',  
    icon: 'http://sm-201.org/a/images/b/be/Editor_c.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|        iafd = \n|        imdb = \n',
pre: "Computer technology",
post: '|        afdb = \n|        wiki = \n'
                                        post:""
}
}
}
}
Line 2,658: Line 2,695:
});
});


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


/* --- Enable Other|Books|Books link */
 
 
/* --- Enable button sa-bondfurn  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Books',
group: 'Cats',
tools: {
tools: {
"Book link": {
"Furn": {
label: 'Book link',
label: 'Furn',
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/3/31/Editor_f.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<I>[[',
pre: "{{sa-bondfurn}",
                                         post: ']]</I>'
                                         post:""
}
}
}
}
Line 2,688: Line 2,718:
});
});


/* --- Enable Other:Books:Book title */
/* --- Enable button sa-bondpos  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Books',
group: 'Cats',
tools: {
tools: {
"Book title": {
"Pos": {
label: 'Book Title',
label: 'Pos',
type: 'button',
type: 'button',
   icon: 'http://www.sm-201.org/a/images/e/e0/Editor_book.png',
   icon: 'http://www.sm-201.org/a/images/b/bf/Editor_p.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '<I>',
pre: "{{sa-bondpos}",
                                         post: '</I>'
                                         post:""
}
}
}
}
Line 2,708: Line 2,738:
});
});


 
/* --- Enable button sa-bondpos  */
 
 
/* --- Enable button Other|Books|{Cats} */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Books',
group: 'Cats',
tools: {
tools: {
"Cats": {
"Performer": {
label: 'Cats',
label: 'Performer',
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/3/33/Editor_q.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: '|      authorcat = \n|        publcat = \n',
pre: "{{Burl perf}}",
post: '|      illustcat = \n|        period = \n'
                                        post:"[[Category:Vedettes]]"
}
}
}
}
Line 2,732: Line 2,759:




/* --- Enable Other:Table:{!} */
/* --- Enable button sa-bondrest  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'Other',
section: 'Other',
group: 'Table',
group: 'Cats',
tools: {
tools: {
"Expl 1": {
"Rest": {
label: '{!}',
label: 'Rest',
type: 'button',
type: 'button',
      icon: 'http://sm-201.org/a/images/a/af/Button_%21.png',  
  icon: 'http://www.sm-201.org/a/images/d/d5/Editor_r.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{!",
pre: "{{sa-bondrest}"
                                        post:"}}"
}
}
}
}
Line 2,751: Line 2,777:
}
}
});
});
 
 
/* --- 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:VAlign=Top  */
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'Other',
group: 'Table',
tools: {
"Valign top": {
label: '',
type: 'button',
icon: 'http://sm-201.org/a/images/1/19/Editor_t.png',
action: {
type: 'encapsulate',
options: {
pre:  'valign="top"',
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: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>"
}
}
}
}
});
 
 


/* Leave everything below this line alone ===================== */
/* Leave everything below this line alone ===================== */
Line 2,912: Line 2,795:
} );
} );
}
}
</pre>
</pre>

Latest revision as of 16:55, 8 January 2023

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

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


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

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


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


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

/* --- Enable button Notes:Defaultsort  */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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 Notes:Wikilink */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	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: 'SM-201',
	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: 'SM-201',
	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> 01/23}}\n",
                                        post:"{{DEFAULTSORT:<from>}}\n{{cat| }"
				}
			}
		}
	}
});

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

/* 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|01/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|01/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|01/23 R/}}{{Site-def|01/23 R/}}",
                    post:"{{Site-hij|01/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 Links:<cr> */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'SM-201',
	group: 'Links',
	tools: {
		"Links": {
			label: '<cr>',
			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:  '01/23',
					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: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: "||   ",
                    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:  'January 01, 2023',
					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|Pers|DOB  */
$('#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",
                                        post:""
				}
			}
		}
	}
});


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


/* --- Enable button Info|Pers|Alias */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"Alias": {
			label: 'alias',
			type: 'button',
      icon: 'http://sm-201.org/a/images/b/b6/Editor_o.png', 
			action: {
				type: 'encapsulate',
				options: {
					pre: "|    othername = ",
                                        post:""
				}
			}
		}
	}
});

/* --- 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|cause */
$('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'Info',
	group: 'Pers',
	tools: {
		"cause": {
			label: 'cause',
			type: 'button',
 icon: 'http://www.sm-201.org/a/images/2/29/Button_dagger2.jpg',
			action: {
				type: 'encapsulate',
				options: {
					pre: "|    deathcause = ",
                                        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 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: "||   ",
                    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:Letter_A  */
$('#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|artists|authors}",
                    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 */
$('#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: "{{Penthouse Pets 2020|year=}}",
                                post:""
				}
			}
		}
	}
});


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




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