Extension:Bootstrap/fr

L'extension Bootstrap fournit le framework web front-end Bootstrap 4 (version 4.6.1) à MediaWiki. Il peut être activé directement ou utilisé à partir de skins ou d'extensions.

Installation
See the installation instructions for information on how to install this extension.

Utilisation
Use  to get the singleton managing the Bootstrap framework.

With the returned object,


 * add Bootstrap modules using,  , and
 * set SCSS variables using  and
 * add style files using
 * add cache trigger files using

Finally to add the Bootstrap styles and javascript to the page use  for styles and   for scripts.

To simply enable Bootstrap styles on all pages add the following code to your "LocalSettings.php" file:

For an example on how to include Bootstrap styles in a skin have a look at the Chameleon skin.

Voir aussi

 * the Bootstrap framework homepage
 * the SASS/SCSS homepage
 * the Chameleon skin that uses this extension
 * the BootstrapComponents extension that uses this extension and lets editors utilize its potential inside wiki markup