24,504 ARTICLES
ON THIS WIKI

User:Celestial Oblivion/common.js

< User:Celestial Oblivion


Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
	// Thermal Expansion
	$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
		'section': 'grids',
		'groups': {
			'TE3': {
				'label': 'Thermal Expansion' // or use labelMsg for a localized label, see above
			}
		}
	} );
 
	// Pulverizer
	$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
		'section': 'grids',
		'group': 'TE3',
		'tools': {
			'pulverizer': {
				label: 'Pulverizer', // or use labelMsg for a localized label, see above
				type: 'button',
				icon: '/images/b/b3/Grid_Pulverizer.png',
				action: {
					type: 'encapsulate',
					options: {
						'pre': "{{Grid/Pulverizer\n|Top=|Bottom=\n|Energy=|EnergyType=\n|Output=|OA=\n|Output2=|OA2=|Output2 Chance=",
						'post': "}}"
					}
				}
			}
		}
	} );
 
	// Induction Smelter
	$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
		'section': 'grids',
		'group': 'TE3',
		'tools': {
			'inductionsmelter': {
				label: 'Induction Smelter', // or use labelMsg for a localized label, see above
				type: 'button',
				icon: '/images/c/c2/Grid_InductionSmelter.png',
				action: {
					type: 'encapsulate',
					options: {
						'pre': "{{Grid/Induction Smelter\n|Input1 =|Input1-OA =\n|Input2 =|Input2-OA =\n|Output1 = |Output1-OA =\n|Output2 = |Output2-OA = |Output2-chance =",
						'post': "}}"
					}
				}
			}
		}
	} );
 
	// Magma Crucible
	$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
		'section': 'grids',
		'group': 'TE3',
		'tools': {
			'magmacrucible': {
				label: 'Magma Crucible', // or use labelMsg for a localized label, see above
				type: 'button',
				icon: '/images/7/74/Grid_MagmaCrucible.png',
				action: {
					type: 'encapsulate',
					options: {
						'pre': "{{Grid/Magma Crucible |Input= |Output= |Amount= " ,
						'post': "}}"
					}
				}
			}
		}
	} );
	
	// Liquid/Fluid Transposer
	$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
		'section': 'grids',
		'group': 'TE3',
		'tools': {
			'fluidtransposer': {
				label: 'Fluid Transposer', // or use labelMsg for a localized label, see above
				type: 'button',
				icon: '/images/9/99/Grid_Fluid_Transposer.png',
				action: {
					type: 'encapsulate',
					options: {
						'pre': "{{Grid/Fluid Transposer|Input =|Output = |Fuel = |FuelAmount = " ,
						'post': "}}"
					}
				}
			}
		}
	} );