This is an old revision of the document!
Table of Contents
mikioplugin Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
Similar to bootswrapper, button, combo, quizlib, wrap
Installation
Search and install the plugin using the Extension Manager.
Alternatively, refer to Plugins on how to install plugins manually. Download the plugin package and unpack it to your plugin-directory (lib/plugins/). This will create a new folder called mikioplugin.
About
Mikio Plugin adds a heap of layout and Bootstrap 4 elements that can be used on your DokuWiki pages.
This plugin can be used by itself, however is designed to complement the Mikio theme.
The plugin currently adds support for:
- Accordion
- Alerts
- Anchor
- Badges
- Blockquote
- Box
- Button & Button Groups
- Cards
- Carousel / Slides
- Columns, Rows and Grid layouts
- Custom headings
- Icon Engine
- Listgroups
- Navigation Dropdowns
- Pagination
- Placeholders
- Progress Bars
- Quizes
- Statistics
- Steps
- Tabs
Syntax
The syntax for the plugin is available at the Mikio Plugin Wiki.
Styling
You can edit the /assets/variables.css
file to modify most of the colours used across the Mikio Plugin elements.
If you install the Mikio template, the /assets/variables.css
will be ignored and replaced by the colours used within the template. These can be edited directly using the Template Style Settings editor.
Disabling Tags
If a Mikio Plugin tag is conflicting with another plugins tag, or you want to simply disable a tag, you can do this in the disabled-tags.php
file.
Simply change the tag you want to disable to true
instead of false
. Pages that have already been generated while the tag was enabled will need to be regenerated.
Releases
2024-01-06
- Fix missing default options of height and width in nav element 29. Thanks armandostyl.
2023-12-10
- Fix a LESS compiliation error introduced in 26. Thanks WetenSchaap.
2023-12-04
- Multiple paginations on a single page is now supported.
- Pagination will try it best in resolving malformed URLs with missing content.
- Fixed parsing to ignore <> symbols in element options which used to break the element.
- Added ability to create group radio items in a multiple quiz item by surrounding options in []. Requested by Dylan.
- Renamed pagenation to pagination while keep backwards compatibility.
- Fixed pagination when using nice urls, rewrites and slashes 26. Thanks armandostyl.
- Updated pagination to use its own variables inside variables.css.
- Fixed up some border radius issues and dark mode theming on pagination element.
2023-11-19
- Fix quiz results not shown correctly when markdown formatting applied.
- Quiz placeholders can now be markdown formatted.
- Quiz result elements now have classes that can be manually styled through css.
- Fix button backgrounds being overridden by the DokuWiki theme when styled.
2023-11-18
- Better handling when a
quizitem
does not contain ascores
oranswer
attribute. - Added
full
attribute to `quiz` to show the entire quiz. - Quiz questions, text and options support basic markdown to bold and italic points.
- Quiz now supports style attribute for buttons.
- Custom styles now automatically builds the
outline-
style.
2023-11-17
- Added scoring and multiple options to the quiz elements. Requested by Dylan.
Older release notes can be found on GitHub.
Discussion
[APPLAUSE] This plugin rocks! Unlike Bootstrap Wrapper Plugin (which only support Bootstrap-based templates), this can work on non-Bootstrap-based templates including default DokuWiki Template and Writr Template (styles of elements may vary, but at least they are functional). God knows I have abandoned Bootstrap elements for 4 yrs because not all my wiki instances use Bootstrap3 Template, but now I may consider to get back to use them. — milchflasche aka GJRobert 2020-10-29 15:48