DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:howhard

HowHard 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

plugin Add difficulty level to article

Last updated on
2023-03-05
Provides
Syntax
Repository
Source

Similar to stars, stars2

Tagged with difficulty, rating, toolbar

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Examples/Usage

Add a difficulty level on an article like this one:

There are four kind of level indicators1) (see configuration manager) and two styles, standard (default) and compact.

Standard style:

Compact style:

You can set the type of indicator through Configuration manager

You can add difficulty level by inserting code:

{{howhard>3}}

or by using the editor toolbar:

ToDo/Wish List

  • Plugin in French, English2) and German, so other translations are welcome! ;-)

Change Log

  • 2023-03-05
    • German translation update (Thanks to Hella :-) )
  • 2016-05-15
    • Image in settings were not displayed if Wiki was not in domain root.
    • Toolbar resized.
  • 2016-02-05
    • Spelling mistake in French translation (thanks to Arnaud G. ;-) )
  • 2016-01-30
    • PHP 7 compatibility update
  • 2015-07-25
  • 2014-05-16
    • Compatibility check
    • New translations: nl, ru, tr (Thanks to translators ;-) )
  • 2013-03-20
    • DOKU_BASE added to syntax.php
  • 2012-03-04
    • German translation (Thanks to taggic)
  • 2012-02-04
    • Initial release

Discussion

Images in wiki pages aren't working

You must change in syntax.php, line 83 the img src to DOKU_BASE.'/lib/plugins/howhard/images/style'.$style.'/'.$data.'.png

Done in last version. Thanks ;-)
1)
Thanks to geekitude for the last two and compact mode ;-)
2)
Report any mistake ;-)
plugin/howhard.txt · Last modified: by chtiland

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki