Github mirror of mediawiki/extensions/TemplateStyles - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing) https://gerrit.wikimedia.org
5a421dfaf1
Change-Id: I314e368c78049d8039d897af6b806bd00b83f513 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
COPYING | ||
Gruntfile.js | ||
README.md | ||
composer.json | ||
extension.json | ||
package-lock.json | ||
package.json |
README.md
TemplateStyles
The TemplateStyles extension introduces a <templatestyles>
tag to specify that a stylesheet should be loaded from a wiki page. Placing this in a template allows the template to have custom styles without having to place them in MediaWiki:Common.css.
For installation and setup instructions, see https://www.mediawiki.org/wiki/Extension:TemplateStyles.
For instructions on how to use the extension as an editor on a wiki, see https://www.mediawiki.org/wiki/Help:TemplateStyles.