Diferencia entre revisiones de «Usuario:King of Herdaz/common.js»

Ir a la navegación Ir a la búsqueda
m (don't need this anymore)
'\n' + '|image=',
'\n' + '|bonded=',
]
},
//page of stuff commonly used at the end of a page
'section-bottom': {
'label': 'Bottom of Page',
'layout': 'characters',
'characters': [
'== Notes ==',
'\n' + '<' + 'references/>',
'\n' + '{' + '{stub}}',
'\n' + '{' + '{partial}}',
'\n' + '{' + '{complete}}',
'\n' + '{' + '{Alcatraz}}',
'\n' + '{' + '{Elantris}}',
'\n' + '{' + '{Mistborn|Era 1}}',
'\n' + '{' + '{Mistborn|Era 2}}',
'\n' + '{' + '{Reckoners}}',
'\n' + '{' + '{Skyward}}',
'\n' + '{' + '{Stormlight}}',
'\n' + '{' + '{Warbreaker}}',
'\n' + '{' + '{White Sand}}',
]
}
} );
 
//Add new broadsheet citations dropdown to the "advanced" section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
groups: {
list: {
tools: {
broadsheets: {
label: 'broadsheets',
type: 'select',
list: {
'elendel-button': {
label: 'Elendel',
action: {
type: 'encapsulate',
options: {
pre: '{' + '{file ref|Elendel_Daily_broadsheet.png|\'\'The Elendel Daily\'\' Broadsheet}}',
}
}
},
'house-button': {
label: 'House',
action: {
type: 'encapsulate',
options: {
pre: '{' + '{file ref|House_Record_broadsheet.jpg|\'\'The House Record\'\' Broadsheet}}',
}
}
},
'ascendency-button': {
label: 'Ascendency',
action: {
type: 'encapsulate',
options: {
pre: '{' + '{file ref|New_Ascendancy_broadsheet.jpg|\'\'The New Ascendency\'\' Broadsheet}}',
}
}
}
}
}
}
}
}
} );
//Add new page ends dropdown to the "advanced" section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
options: {
pre: '\n' + '{' + '{White Sand}}',
}
}
}
}
}
}
}
}
} );
 
//Add new broadsheet citations dropdown to the "advanced" section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'advanced',
groups: {
list: {
tools: {
broadsheets: {
label: 'broadsheets',
type: 'select',
list: {
'elendel-button': {
label: 'Elendel',
action: {
type: 'encapsulate',
options: {
pre: '{' + '{file ref|Elendel_Daily_broadsheet.png|\'\'The Elendel Daily\'\' Broadsheet}}',
}
}
},
'house-button': {
label: 'House',
action: {
type: 'encapsulate',
options: {
pre: '{' + '{file ref|House_Record_broadsheet.jpg|\'\'The House Record\'\' Broadsheet}}',
}
}
},
'ascendency-button': {
label: 'Ascendency',
action: {
type: 'encapsulate',
options: {
pre: '{' + '{file ref|New_Ascendancy_broadsheet.jpg|\'\'The New Ascendency\'\' Broadsheet}}',
}
}