mw.loader.load('//nl.wikipedia.orghttps://nl.wiktionary.org/w/index.php?title=User:Romaine/insertvector.js&action=raw&ctype=text/javascript');
$(function() {
mw.util.addPortletLink('p-personal', '//nl.wiktionary.orghttps://dictious.com/nl/Speciaal:Bijdragen/RomaineBot', 'bijdragen bot', 'pt-botcontribs', 'Bijdragen RomaineBot', null, '#pt-startpage');
mw.util.addPortletLink('p-personal', '//nl.wiktionary.orghttps://dictious.com/nl/User:Romaine/Navigation', 'navi', 'pt-navi', 'persoonlijke navigatie');
mw.util.addPortletLink('p-cactions', 'https://woordenlijst.org/zoeken/?q='+ mw.config.get( 'wgPageName' ), 'lijst', 'ca-stats1', 'woordenlijst.org');
mw.util.addPortletLink('p-cactions', 'http://www.vandale.nl/opzoeken?pattern='+ mw.config.get( 'wgPageName' ) + '&lang=nn', 'VD', 'ca-stats2', 'vandale.nl');
mw.util.addPortletLink('p-cactions', '//nl.wikipedia.orghttps://dictious.com/nl/'+ mw.config.get( 'wgPageName' ), 'w:', 'ca-stats3', 'nl-wiki');
mw.util.addPortletLink('p-cactions', 'http://www.google.nl/search?q='+ mw.config.get( 'wgPageName' ), 'G', 'ca-stats4', 'Google');
mw.util.addPortletLink('p-cactions', 'http://www.encyclo.nl/begrip/'+ mw.config.get( 'wgPageName' ), 'E', 'ca-stats5', 'Encyclo');
});
// Op pagina's met een toolbar (action=edit) knoppen toevoegen
var customizeToolbar = function () {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'extrabarforme': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Extra'
// or 'labelMsg': 'section-emoticons-label' for a localized label
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'extrabarforme',
'groups': {
'rorow1': {
'label': '' // or use labelMsg for a localized label, see above
}
}
} );
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'main',
group: 'insert',
tools: {
"Ro-internelink": {
label: 'Interne link',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/4/45/BoutonsDefaut03.png',
action: {
type: 'encapsulate',
options: {
pre: '\[\[',
peri: '',
post: '\]\]'
}
}
},
"Ro-editknopje2": {
label: 'paginanaam',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/4/44/Knop_paginanaam.png',
action: {
type: 'encapsulate',
options: {
pre: ''+ mw.config.get( 'wgTitle' ),
peri: '',
post: ''
}
}
},
"Ro-editknopje3": {
label: 'puntje',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/a/aa/Button_dot1.PNG',
action: {
type: 'encapsulate',
options: {
pre: '·',
peri: '',
post: ''
}
}
},
"Ro-editknopje4": {
label: 'Etymologie-kop',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png',
action: {
type: 'encapsulate',
options: {
pre: '{\{-etym-}\}\n* ',
peri: '',
post: '\n'
}
}
},
"Ro-editknopje5": {
label: 'Samenstelling van',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png',
action: {
type: 'encapsulate',
options: {
pre: 'Samenstelling van \[\['+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\]\]'
}
}
},
"Ro-editknopje6": {
label: 'Samenstelling3: haakjes',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/29/Button_double_angle_quotes_with_ellipsis.png',
action: {
type: 'encapsulate',
options: {
pre: '\]\] en \[\[',
peri: '',
post: ''
}
}
},
"Ro-editknopje7": {
label: 'Samenstelling: werkwoordstam',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/ee/Knop_werkwoordstam.png',
action: {
type: 'encapsulate',
options: {
pre: 'Samenstelling van de werkwoordstam van \[\['+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\]\]'
}
}
},
"Ro-editknopje8": {
label: 'interf nld -s-',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/6/66/Knop_interf-s-.PNG',
action: {
type: 'encapsulate',
options: {
pre: ' {\{interf\|nld\|-s-}\}',
peri: '',
post: ''
}
}
},
"Ro-editknopje9": {
label: 'interf nld -en-',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/4/44/Knop_interf-en-.PNG',
action: {
type: 'encapsulate',
options: {
pre: ' {\{interf\|nld\|-en-}\}',
peri: '',
post: ''
}
}
},
"Ro-editknopje10": {
label: 'pref nld ...-',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/55/Knop_prefix.PNG',
action: {
type: 'encapsulate',
options: {
pre: ' \{\{pref\|nld\|',
peri: '',
post: '-\}\}'
}
}
},
"Ro-editknopje11": {
label: 'suff nld -...',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/7/73/Knop_suffix.PNG',
action: {
type: 'encapsulate',
options: {
pre: ' \{\{suff\|nld\|-',
peri: '',
post: '\}\}'
}
}
},
"Ro-editknopje12": {
label: 'f/m',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/8/89/Knop_vrouwelijk-mannelijk.png',
action: {
type: 'encapsulate',
options: {
pre: '{\{f}\}\/{\{m}\}',
peri: '',
post: ''
}
}
},
"Ro-editknopje13": {
label: 'leeg kopje',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/bc/Button_guillemet.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{--\}\}\n\* \[\[',
peri: '',
post: '\]\]\n'
}
}
},
"Ro-editknopje14": {
label: 'ZN: meervoud',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/e6/Knop_zelfstandig_naamwoord-s.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-pron-}\}\n\* {\{sound}\}: {\{audio|nl-{\{pn}\}.ogg|{\{pn}\}\|nld\}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-noun-\|0}\}\n{\{noun-pl\|'+ mw.config.get( 'wgTitle' ) + '}\}\n'
}
}
},
"Ro-editknopje15": {
label: 'ZN: verkleinwoord',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/18/Knop_zelfstandig_naamwoord-j.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-pron-}\}\n\* {\{sound}\}: {\{audio|nl-{\{pn}\}.ogg|{\{pn}\}\|nld\}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-noun-\|0}\}\n{\{noun-dim\|'+ mw.config.get( 'wgTitle' ) + '}\}\n'
}
}
},
"Ro-editknopje16": {
label: 'ZN: verkleinwoord meervoud',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/d/d2/Knop_zelfstandig_naamwoord-js.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-pron-}\}\n\* {\{sound}\}: {\{audio|nl-{\{pn}\}.ogg|{\{pn}\}\|nld\}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-noun-\|0}\}\n{\{noun-dim-pl\|'+ mw.config.get( 'wgTitle' ) + '}\}\n'
}
}
},
"Ro-editknopje17": {
label: 'BN: verbogen vorm (vb: lieve)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f6/Knop_bijvoeglijk_naamwoord-e.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-adjc-\|0}\}\n{\{nl-adjc-form\|'+ mw.config.get( 'wgTitle' ) + '\|decl\|pos}\}\n'
}
}
},
"Ro-editknopje18": {
label: 'BN: vergrotende trap (vb: liever)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/7/7f/Knop_bijvoeglijk_naamwoord-r.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-adjc-\|0}\}\n{\{nl-adjc-form\|'+ mw.config.get( 'wgTitle' ) + '\|indecl\|com}\}\n'
}
}
},
"Ro-editknopje19": {
label: 'BN: verbogen vergrotende trap (vb: lievere)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/d/d0/Knop_bijvoeglijk_naamwoord-re.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-adjc-\|0}\}\n{\{nl-adjc-form\|'+ mw.config.get( 'wgTitle' ) + '\|decl\|com}\}\n'
}
}
},
"Ro-editknopje20": {
label: 'BN: overtreffende trap (vb: liefst)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/5a/Knop_bijvoeglijk_naamwoord-t.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-adjc-\|0}\}\n{\{nl-adjc-form\|'+ mw.config.get( 'wgTitle' ) + '\|indecl\|sup}\}\n'
}
}
},
"Ro-editknopje21": {
label: 'BN: verbogen overtreffende trap (vb: liefste)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/a/aa/Knop_bijvoeglijk_naamwoord-te.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-adjc-\|0}\}\n{\{nl-adjc-form\|'+ mw.config.get( 'wgTitle' ) + '\|decl\|sup}\}\n'
}
}
},
"Ro-editknopje22": {
label: 'WW: verleden tijd',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f0/Knop_werkwoord-vt.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-pron-}\}\n\* {\{sound}\}: {\{audio|nl-{\{pn}\}.ogg|{\{pn}\}\|nld\}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-verb-\|0}\}\n{\{ovt-enk\|'+ mw.config.get( 'wgTitle' ) + '}\}\n'
}
}
},
"Ro-editknopje23": {
label: 'WW: voltooid deelwoord',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/bc/Knop_werkwoord-vd.PNG',
action: {
type: 'encapsulate',
options: {
pre: '{\{=nld=}\}\n{\{-syll-}\}\n\* '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n{\{-verb-\|0}\}\n{\{volt-d\|'+ mw.config.get( 'wgTitle' ) + '}\}\n'
}
}
},
"Ro-editknopje24": {
label: 'TRANS: kop + omkadering',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/bc/Button_guillemet.png',
action: {
type: 'encapsulate',
options: {
pre: '{\{-trans-}\}\n{\{trans-top\|1.}\}\n',
peri: '',
post: '{\{trans-mid}\}\n{\{trans-bottom}\}\n'
}
}
},
"Ro-editknopje25": {
label: 'TRANS: taalregel',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/bc/Button_guillemet.png',
action: {
type: 'encapsulate',
options: {
pre: '\*{\{eng}\}: {\{trad\|en\|',
peri: '',
post: '}\}\n'
}
}
},
"Ro-editknopje26": {
label: 'ZN: zelfstandig naamwoord',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/19/Knop_zelfstandig_naamwoord.png',
action: {
type: 'encapsulate',
options: {
pre: '{\{subst:Gebruiker:Romaine/Sjabloon/Zelfstandig_naamwoord\n\| taalcode = nld\n\| lettergrepen = '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n\| etym = \n\| naamwoord ev = \{\{pn}\}\n\| naamwoord mv = \\]\n\| verkleinwoord ev = \\]\n\| verkleinwoord mv = \\]\n\| zelfstandignaamwoord = \'\'\'\{\{pn\}\}\'\'\' \{\{m/f/n/p\}\}\n\| betekenissen =\n#\n\{\{bijv-1\|... \'\'\'\{\{pn\}\}\'\'\'.\}\}\n\}\}\n'
}
}
},
"Ro-editknopje27": {
label: 'BN: bijvoeglijk naamwoord',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/2c/Knop_bijvoeglijk_naamwoord.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{subst:Gebruiker:Romaine/Sjabloon/Bijvoeglijk_naamwoord\n\| taalcode = nld\n\| lettergrepen = '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n\| etym = \n\| stellend = \{\{pn\}\}\n\| vergrotend = \\]\n\| overtreffend = meest \{\{pn\}\}\n\| stellend verbogen = \\]\n\| vergrotend verbogen = \\]\n\| overtreffend verbogen = meest \{\{pn\}\}e\n\| betekenissen = \n#\n\{\{bijv-1\|... \'\'\'\{\{pn\}\}e\'\'\'.\}\}\n\}\}\n'
}
}
},
"Ro-editknopje28": {
label: 'WW: werkwoord',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/12/Knop_werkwoord.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{subst:Gebruiker:Romaine/Sjabloon/Werkwoord\n\| taalcode = nld\n\| lettergrepen = '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n\| etym = \n\| onbepaalde wijs = \{\{pn\}\}\n\| verleden tijd = \\]\n\| voltooid deelwoord = \\]\n\| betekenissen =\n#\n\{\{bijv-1\|... \'\'\'\{\{pn\}\}\'\'\'.\}\}\n\}\}\n'
}
}
},
"Ro-editknopje29": {
label: 'BW: bijwoord',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/ba/Knop_bijwoord.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{subst:Gebruiker:Romaine/Sjabloon/Bijwoord\n\| taalcode = nld\n\| lettergrepen = '+ mw.config.get( 'wgTitle' ),
peri: '',
post: '\n\| etym = \n\| betekenissen =\n#\n\{\{bijv-1\|... \'\'\'\{\{pn\}\}\'\'\'.\}\}\n\}\}\n'
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'extrabarforme',
group: 'rorow1',
tools: {
"Ro-nowiki": {
label: 'Nowiki',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/56/BoutonsDefaut09.png',
action: {
type: 'encapsulate',
options: {
pre: '<nowiki>',
peri: '',
post: '<\/nowiki>'
}
}
},
"Ro-tussenkopje3": {
label: 'Tussenkopje (tweede niveau)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/e9/Button_headline2.png',
action: {
type: 'encapsulate',
options: {
pre: '=== ',
peri: 'Kop van de tweede niveau',
post: ' ==='
}
}
},
"Ro-enter": {
label: 'Regel afbreken',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/13/Button_enter.png',
action: {
type: 'encapsulate',
options: {
pre: '<br \/>',
peri: '',
post: ''
}
}
},
"Ro-center": {
label: 'Centreren',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png',
action: {
type: 'encapsulate',
options: {
pre: '<center>',
peri: 'Tekst die gecentreerd wordt',
post: '<\/center>'
}
}
},
"Ro-gecentreerd": {
label: 'Centreren',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png',
action: {
type: 'encapsulate',
options: {
pre: '<div style=\"text-align: center;\">\n',
peri: 'Tekst die gecentreerd wordt',
post: '\n<\/div>'
}
}
},
"Ro-links": {
label: 'Links uitlijnen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/ea/Button_align_left.png',
action: {
type: 'encapsulate',
options: {
pre: '<div style=\"text-align: left; direction: ltr; margin-left: 1em;\">\n',
peri: 'Tekst die links wordt uitgelijnd',
post: '\n<\/div>'
}
}
},
"Ro-rechts": {
label: 'Rechts uitlijnen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/a/a5/Button_align_right.png',
action: {
type: 'encapsulate',
options: {
pre: '<div style=\"text-align: right; direction: ltr; margin-left: 1em;\">\n',
peri: 'Tekst die rechts wordt uitgelijnd',
post: '\n<\/div>'
}
}
},
"Ro-spancolor": {
label: 'Gekleurde tekst invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/1e/Button_font_color.png',
action: {
type: 'encapsulate',
options: {
pre: '<span style=\"color:',
peri: 'ColourName',
post: '\">Gekleurde tekst<\/span>'
}
}
},
"Ro-gallery": {
label: 'Afbeeldingengalerij',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png',
action: {
type: 'encapsulate',
options: {
pre: '<gallery\>\nBestand:',
peri: '',
post: '\nBestand:\nBestand:\n<\/gallery>'
}
}
},
"Ro-bestandinv": {
label: 'Afbeelding invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/12/Button_gallery.png',
action: {
type: 'encapsulate',
options: {
pre: '\[\[Bestand:',
peri: '',
post: '\|thumb\|\]\]\n'
}
}
},
"Ro-verborgen": {
label: 'Verborgen commentaar',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/7/74/Button_comment.png',
action: {
type: 'encapsulate',
options: {
pre: '<!--',
peri: 'Verborgen commentaar. Gebruik de overlegpagina voor opmerkingen en discussie.',
post: '-->'
}
}
},
"Ro-sup": {
label: 'Superscript',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/6/6a/Button_sup_letter.png',
action: {
type: 'encapsulate',
options: {
pre: '<sup>',
peri: 'Tekst',
post: '<\/sup>'
}
}
},
"Ro-sub": {
label: 'Subscript',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/a/aa/Button_sub_letter.png',
action: {
type: 'encapsulate',
options: {
pre: '<sub>',
peri: 'Tekst',
post: '<\/sub>'
}
}
},
"Ro-small": {
label: 'Kleiner (small)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/58/Button_small.png',
action: {
type: 'encapsulate',
options: {
pre: '<small>',
peri: 'Tekst die kleiner wordt weergegeven',
post: '<\/small>'
}
}
},
"Ro-big": {
label: 'Groter (big)',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/5/56/Button_big.png',
action: {
type: 'encapsulate',
options: {
pre: '<big>',
peri: 'Tekst die groter wordt weergegeven',
post: '<\/big>'
}
}
},
"Ro-nbsp": {
label: 'Niet-afbrekende spatie',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/4/4b/Button_nbsp.png',
action: {
type: 'encapsulate',
options: {
pre: ' ',
peri: '',
post: ''
}
}
},
"Ro-code": {
label: 'Voeg broncode in',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png',
action: {
type: 'encapsulate',
options: {
pre: '<code>',
peri: '',
post: '<\/code>'
}
}
},
"Ro-pre": {
label: 'Voorgeformateerde tekst',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/3/3c/Button_pre.png',
action: {
type: 'encapsulate',
options: {
pre: '<pre>',
peri: '',
post: '<\/pre>'
}
}
},
"Ro-ref": {
label: 'Voeg een referentie, bron of voetnoot toe',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png',
action: {
type: 'encapsulate',
options: {
pre: '<ref>',
peri: '',
post: '<\/ref>'
}
}
},
"Ro-refname": {
label: 'Voeg een referentie, bron of voetnoot toe met naam',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png',
action: {
type: 'encapsulate',
options: {
pre: '<ref name=\"\">',
peri: '',
post: '<\/ref>'
}
}
},
"Ro-appendix": {
label: 'Overzicht referenties e.d.: los met tussenkopje',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/9a/Button_references.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Appendix\}\}\n',
peri: '',
post: ''
}
}
},
"Ro-appendixreferences": {
label: 'Overzicht referenties e.d.: met nieuw bronnensjabloon',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/9a/Button_references.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Appendix\|2=\n\{\{References\}\}\n\}\}\n',
peri: '',
post: ''
}
}
},
"Ro-references": {
label: 'Overzicht referenties e.d.: in al bestaand bronnensjabloon',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/9a/Button_references.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{References\}\}\n',
peri: '',
post: ''
}
}
},
"Ro-bronvermeldingwiki": {
label: 'Bronvermelding anderstalige Wikipedia invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/6/67/Button_BY.png',
action: {
type: 'encapsulate',
options: {
pre: '\* \{\{Bronvermelding anderstalige Wikipedia\|taal=',
peri: 'en',
post: '\|titel=\|oldid=\|datum={\{subst:LOCALYEAR}}{\{subst:LOCALMONTH2}}{\{subst:LOCALDAY2}}}}'
}
}
},
"Ro-doorgehaald": {
label: 'Doorstrepen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/c/c9/Button_strike.png',
action: {
type: 'encapsulate',
options: {
pre: '<s>',
peri: '',
post: '<\/s>'
}
}
},
"Ro-underline": {
label: 'Onderstrepen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/fd/Button_underline.png',
action: {
type: 'encapsulate',
options: {
pre: '<u>',
peri: '',
post: '<\/u>'
}
}
},
"Ro-tt": {
label: 'Tekst in teletype',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/3/30/Tt_icon.png',
action: {
type: 'encapsulate',
options: {
pre: '<tt>',
peri: '',
post: '<\/tt>'
}
}
},
"Ro-redirect": {
label: 'Redirect',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/c/c8/Button_redirect.png',
action: {
type: 'encapsulate',
options: {
pre: '#REDIRECT\[\[',
peri: '',
post: '\]\]'
}
}
},
"Ro-noinclude": {
label: 'Sjabloon: noinclude',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/c/ce/Button_no_include.png',
action: {
type: 'encapsulate',
options: {
pre: '<noinclude>',
peri: '',
post: '<\/noinclude>'
}
}
},
"Ro-includeonly": {
label: 'Sjabloon: includeonly',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/7/79/Button_include.png',
action: {
type: 'encapsulate',
options: {
pre: '<includeonly>',
peri: '',
post: '<\/includeonly>'
}
}
},
"Ro-welkom": {
label: 'Welkom gebruiker',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f2/Button_prononciation.png',
action: {
type: 'encapsulate',
options: {
pre: '{\{Welkom}\}\nWelkom\! - \~\~\~\~',
peri: '',
post: ''
}
}
},
"Ro-welcome": {
label: 'Welcome user',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f2/Button_prononciation.png',
action: {
type: 'encapsulate',
options: {
pre: '{\{Welcome}\}\nWelcome\! - \~\~\~\~',
peri: '',
post: ''
}
}
},
"Ro-navigatie": {
label: '\{\{Navigatie\}\}',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/a/ab/Button_100%25.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Navigatie\n\| titel = \n\| afb_groot = \]\n| inhoud =\n',
peri: '',
post: '\n\}\}<noinclude>\n\n'
}
}
},
"Ro-navtable": {
label: '\{\{Navigatie\/Tabel}}',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/0/04/Button_multicol.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Navigatie/Tabel\n\| R1C1 \= ',
peri: '',
post: '\n\| R1C2 \= \n\| R2C1 \= \n\| R2C2 \= \n\| R3C1 \= \n\| R3C2 \= \n\| R4C1 \= \n\| R4C2 \= \n\| R5C1 \= \n\| R5C2 \= \n}\}'
}
}
},
"Ro-sjabcat": {
label: 'Sjabloon categorie uitgebreid',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/11/Button_category.png',
action: {
type: 'encapsulate',
options: {
pre: '<noinclude>\n\[\[Categorie:Wikipedia:Sjablonen ',
peri: '',
post: '\|\]\]\n</noinclude>'
}
}
},
"Ro-wikitable": {
label: 'Wikitable invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/6/65/Button_wikificare.png',
action: {
type: 'encapsulate',
options: {
pre: 'class=\"wikitable\"',
peri: '',
post: ''
}
}
},
"Ro-stylecenter": {
label: 'Wikitable invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/6/65/Button_wikificare.png',
action: {
type: 'encapsulate',
options: {
pre: ' style=\"text-align:center;\"',
peri: '',
post: ''
}
}
},
"Ro-toccolours": {
label: 'toccolours invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/4/45/Button_TC.png',
action: {
type: 'encapsulate',
options: {
pre: 'class=\"toccolours\"',
peri: '',
post: ''
}
}
},
"Ro-commonscat": {
label: 'Commonscat invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f8/Button_Tool_commons.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Commonscat\|',
peri: '',
post: '\}\}\n'
}
}
},
"Ro-wikisourcecat": {
label: 'Wikisourcecat invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/eb/Button_wikisource.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Wikisourcecat\|',
peri: '',
post: '\}\}\n'
}
}
},
"Ro-nuwegsjabred": {
label: 'Nuweg sjabloonweesredirect',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/1/1d/Bouton_Vandale1.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{nuweg\|opruiming sjabloonweesredirect\}\}',
peri: '',
post: ''
}
}
},
"Ro-nuwegred": {
label: 'Nuweg onnodige sjabloonredirect',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f0/Bouton_Vandale0.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{nuweg\|opruiming onzinnige en onnodige sjabloonredirect\}\}',
peri: '',
post: ''
}
}
},
"Ro-nowrap": {
label: 'Nowrap invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/f/f3/Button_brrm.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Nowrap|',
peri: '',
post: '\}\}'
}
}
},
"Ro-if": {
label: 'If-functie invoegen',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/3/3e/Sharp_button.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{#if:',
peri: '',
post: ''
}
}
},
"Ro-uitgevoerdafbeelding": {
label: 'Uitgevoerd',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/e9/Button_done.png',
action: {
type: 'encapsulate',
options: {
pre: '\\] \'\'\'',
peri: 'Uitgevoerd',
post: '\'\'\''
}
}
},
"Ro-hashhaakjesd": {
label: 'Toevoegen aan lijst',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/ef/Button_asterix.png',
action: {
type: 'encapsulate',
options: {
pre: '# \[\[',
peri: '',
post: '\]\], - \\]\n'
}
}
},
"Ro-coords-leeg": {
label: 'Coor title dms',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/b8/Button_Globe.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Coor title dms\|',
peri: '',
post: '\}\}\n'
}
}
},
"Ro-coords-landmark": {
label: 'Coor title dms: landmark',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/b8/Button_Globe.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Coor title dms\|',
peri: '',
post: '\|type:landmark\}\}\n'
}
}
},
"Ro-coords-city": {
label: 'Coor title dms: city',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/b8/Button_Globe.png',
action: {
type: 'encapsulate',
options: {
pre: '\{\{Coor title dms\|',
peri: '',
post: '\|type:city\}\}\n'
}
}
},
"Ro-coords-pluslandmark": {
label: '+type:landmark_',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/bc/Button_guillemet.png',
action: {
type: 'encapsulate',
options: {
pre: 'type:',
peri: 'landmark',
post: '_'
}
}
},
"Ro-coords-pluslandmark2": {
label: '+|type:landmark',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/b/bc/Button_guillemet.png',
action: {
type: 'encapsulate',
options: {
pre: '\|type:',
peri: 'landmark',
post: ''
}
}
}
}
});
};
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */
if ( $.inArray( mw.config.get( 'wgAction' ), ) !== -1 ) {
mw.loader.using( 'user.options' ).then( function () {
// This can be the string "0" if the user disabled the preference (])
if ( mw.user.options.get( 'usebetatoolbar' ) == 1 ) {
$.when(
mw.loader.using( 'ext.wikiEditor' ), $.ready
).then( customizeToolbar );
}
} );
}