History: module reading_time
Source of version: 1 (current)
Copy to clipboard
! Module Reading Time This ((Module)) displays the estimated reading time for the words on a Wiki page (inner modules are excluded). To avoid displaying empty module on non wiki page object, set the module Visibility Section to wiki. !! Usage To use module __Reading Time__ in a wiki page: {CODE()} {module module="reading_time" wordsPerMinutes="200" minTimeThreshold="1" minTimeThresholdText="Reading time: Less than a minute" maxTimeThreshold="30" maxTimeThresholdText="Reading time: Less than a minute" timePrefixText="Approximate reading time:" timePostfixText="min." timeMinutesOnly="n"} {CODE} Where: {PLUGINMANAGER(module=reading_time) /} !! Example In the example below we pass in a wiki page the module Reading Time through the plugin module. So, this code: {CODE()} {module module="reading_time" wordsPerMinutes="200" minTimeThreshold="1" minTimeThresholdText="Reading time: Less than a minute" maxTimeThreshold="30" maxTimeThresholdText="Reading time: Less than a minute" timePrefixText="Approximate reading time:" timePostfixText="minutes" timeMinutesOnly="y"} {CODE} Produces on this site: {module module="reading_time" wordsPerMinutes="200" minTimeThreshold="1" minTimeThresholdText="Reading time: Less than a minute" maxTimeThreshold="30" maxTimeThresholdText="Reading time: Less than a minute" timePrefixText="Approximate reading time:" timePostfixText="minutes" timeMinutesOnly="y"} !! Related Pages {include page="Module and Plugin Includes" start="startinclude1a" stop="stopinclude1a"}