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

m
sin resumen de edición
m (making this booklet section similar to the dropdowns I am using as examples)
m
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'snippetsuseful-stuff': {
'type': 'booklet',
'label': 'Useful Stuff',
'pages': {
//pagePage of commonly used infoboxesreference templates
'section-infoboxesrefs': {
'label': 'InfoboxesReferences',
'layout': 'characters',
'characters': [
]
},
//pagePage ofto commonlyquickly usedbuild infoboxcharacter parametersinfoboxes
'section-paramsBuild-a-Box': {
'label': 'Infobox ParametersBuild-a-Box',
'layout': 'characters',
'characters': [
'\n{' + '|image={character',
'==\n' Notes+ ='|image=',
'\n' + '|residence=',
'\n' + '|profession=',
'\n' + '|died=',
'\n' + '|nationality=',
'\n' + '|image=',
'\n' + '|residence=',
'\n' + '|world=Scadrial',
'\n' + '|books=[[The Stormlight Archive]]',
'\n' + '|books=[[Warbreaker]]',
//alcatrazAlcatraz is very long so Iit hadhas to dobe itdone differently
{
'action': {
]
},
//pagePage of stuff commonlyto usedfinish ata thepage endafter ofmaking anthe articleinfobox
'section-bottom': {
'label': 'Bottom of Page',
'layout': 'characters',
'characters': [
'\n' + '\'\'\'{' + '{SUBST:PAGENAME}}\'\'\''
'== Notes ==',
'\n\n' + '== Notes ==',
'\n' + '<' + 'references/>',
'\n' + '{' + '{stub}}',
8718

ediciones