Difference between revisions of "MediaWiki:Gadget-calculator-patients-patientInput.js"
From WikiAnesthesia
Chris Rishel (talk | contribs) |
Chris Rishel (talk | contribs) m (Chris.Rishel moved page MediaWiki:Gadget-calculator-patientInput.js to MediaWiki:Gadget-calculator-patients-patientInput.js without leaving a redirect) |
(No difference)
|
Revision as of 20:50, 19 September 2021
/** * @author Chris Rishel */ ( function() { var containerId = 'calculator-patientInput'; if( !$( '#' + containerId ).length ) { var $container = $( '<div>', { id: containerId } ); $container.addClass( 'container border-bottom px-0 py-1' ); $container.append( mw.calculators.createInputGroup( [ 'weight', 'height', 'age', 'gender' ], true ) ); $container.appendTo( $( '#contentHeader' ) ); } }() );