/* generated javascript */
var skin = 'monobook';
var stylepath = '/skins';

/* MediaWiki:Common.js */
/* Javascript i denne fila vil gjelde for alle drakter. */

/* Adding buttons to the toolbar */

//Template button
var button_tmp = {
        "imageFile": "images/2/26/Button_latinas.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
        "speedTip": "Inkluder en mal",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "{{",        //the text to use to mark the beginning of the block
        "tagClose": "}}",      //the text to use to mark the end of the block (if any)
        "sampleText": "Malnavn"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button_tmp);

//Gallery button
var button_gly = {
        "imageFile": "images/1/12/Button_gallery.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
        "speedTip": "Lag et galleri",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<gallery>",        
        "tagClose": "</gallery>",      //the text to use to mark the end of the block (if any)
        "sampleText": "\nBilde:Eksempel.jpg|Bildetekst 1\nBilde:Eksempel.jpg|Bildetekst 2\n"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button_gly);

//Gjennomstreking
var button_s = {
        "imageFile": "images/c/c9/Button_strike.png",  //image to be shown on the button (may be a full URL too), 22x22 pixels
        "speedTip": "Overstreket tekst",    //text shown in a tooltip when hovering the mouse over the button
        "tagOpen": "<s>",        
        "tagClose": "</s>",      //the text to use to mark the end of the block (if any)
        "sampleText": "Overstreket tekst"   //the sample text to place inside the block
};
mwCustomEditButtons.push(button_s);

// Sitere personer
var button_quote = {
        "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
        "speedTip": "Siter tekst",
        "tagOpen": "{{Sitat|",
        "tagClose": "|kilde}}",
        "sampleText": "Legg inn sitatet her"};
mwCustomEditButtons.push(button_quote); 

// Omdirigering
var button_redirect = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",
     "speedTip": "Omdirigering",
     "tagOpen": "#REDIRECT [[",
     "tagClose": "]]",
     "sampleText": "Målside"
};
mwCustomEditButtons.push(button_redirect);

// Wiki-tabell
var button_table = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/6/60/Button_insert_table.png",
     "speedTip": "Sett inn tabell",
     "tagOpen": '{| class="wikitable"\n|-\n',
     "tagClose": "\n|}",
     "sampleText": "! overskrift 1\n! overskrift 2\n! overskrift 3\n|-\n| rad 1, celle 1\n| rad 1, celle 2\n| rad 1, celle 3\n|-\n| rad 2, celle 1\n| rad 2, celle 2\n| rad 2, celle 3"};
mwCustomEditButtons.push(button_table);

/* MediaWiki:Monobook.js */
/* Javascript i denne fila vil gjelde for brukere av drakta Monobook */