Loading...
 
Skip to main content

History: PluginCountup

Preview of version: 20

Plugin Countup

Introduced in Tiki25, use this plugin to make a counter on a wiki page. You can add one or multiple counters on the same page and each counter starts to count when it becomes visible in the viewport. Each counter has its own custom settings (Title, ending number, custom counting (animation) speed, custom CSS (color, font size, font family, background, ...), etc.).

See also PluginCountdown

1. Parameters

Plugin Manager error: countup plugin not found
ParametersAccepted valuesDescriptionDefaultSince
titlestringCounter title 25.0
titleFontFamilystringCounter title font family 25.0
titleFontWeighttextCounter title font weightnormal25.0
titleFontStyletextCounter title font stylenormal25.0
titleFontSizefloatCounter title font size in pixels.For instance, use 16 for 16 pixels3225.0
titleFontColoralphaCounter title font color. For instance, use blue for blue color.You can also use the hexadecimal rgb code or the rgba syntax to specify the colorblack25.0
iconintNumeric ID of an icon in a file gallery. This will be set as the counter icon025.0
iconWidthintIcon width size6425.0
iconHeightintIcon height size6425.0
descriptionstringShort description of the counter 25.0
descriptionFonFamilystringCounter description font family 25.0
descriptionFontWeighttextCounter description font weightnormal25.0
descriptionFontStyletextCounter description font stylenormal25.0
descriptionFontSizefloatDescription font size in pixels. For instance use 16 fir 16 pixels1225.0
descriptionFontColoralphaDecription font colorblack25.0
startingNumberintThe number from which the counter will start to count025.0
endingNumberintThe number to which the counter will stop to count 25.0
numberFontFamilystringThis is the font family of the displayed number in the counter at a certain time 25.0
numberFontWeighttextDisplayed number font weightnormal25.0
numberFontSizefloatThis is the size of the displayed number in pixels. For instance , use 16 for 16 pixels3225.0
numberFontColoralphaDispalyed number font color. For instance, use blue for blue color. You can also use the hexadecimal rgb code or the rgba syntax to specify the colorblack25.0
speedfloatThe counting(animation) speed of the counter in seconds0.225.0
delayfloatThe delay time in seconds after which the counter will start to count when it becomes visible in the viewport1.025.0
prefixtextLetter, number or symbol to use as prefix of the number counter 25.0
suffixtextLetter, number or symbol to use as suffix of the number counter 25.0
widthintCounter width in pixels. For instance, use 200 for 200 pixels40025.0
heightintCounter height in pixels. For instance, use 200 for 200 pixels30025.0
backgroundImageintNumeric ID of an icon in a file gallery. This will be set as the counter background image025.0
backgroundColoralphaCounter background color. You can use the color name, the hexadecimal rgb code or the rgba syntax to specify the color. 25.0
shadowstringThis property adds shadows to the counter via a comma separated list of shadows. A shadow is defined with horizontal and vertical offsets from the element (in our case, the counter), with blur and spread radius and with a color. For instance, use inset 2000px 0px 0px 0px #24a2c09c for 2000px horizontal offset, 0px vertical offset, 0px blur radius, 0px spread radius and with a light blue color. The inset keyword reverses the shadow inside. For the color value, you can use the color name, the hexadecimal rgb code or the rgba syntax. For more details See here. Please be sure to respect the syntax given in the documentation to see the effect. 25.0

2. Examples of use

Example 1 :

In this example, we have one counter on the page and we are counting the number of registered students with a counting speed of 1 second.

The following code:

Copy to clipboard
{countup title="Students" titleFontWeight="bold" titleFontStyle="italic" titleFontColor="white" icon="61" description="Registered Students" descriptionFontStyle="italic" descriptionFontColor="white" endingNumber="10" numberFontWeight="800" numberFontSize="70" numberFontColor="white" speed="1" delay="1" suffix="+" backgroundImage="62" shadow="inset 2000px 0px 0px 0px #24a2c09c"}

Produces this:

Click to expand
Click to expand

Example 2 :

In this example we have two counters on the same page and each counter has its own custom settings (counting speed, font style, font color,etc) and starts to count when it becomes visible in the viewport.

The following code:

Copy to clipboard
!~~#09F:Plugin Countup~~ {countup title="Students" titleFontWeight="bold" titleFontStyle="italic" titleFontColor="white" icon="61" description="Registered Students" descriptionFontStyle="italic" descriptionFontColor="white" endingNumber="15" numberFontWeight="800" numberFontSize="70" numberFontColor="white" speed="1" delay="1" suffix="+" backgroundImage="62" shadow="inset 2000px 0px 0px 0px #24a2c09c"} {countup title="Countries" titleFontWeight="bold" titleFontColor="white" icon="60" endingNumber="195" numberFontWeight="bold" numberFontSize="70" numberFontColor="white" speed="0.02" shadow="inset 2000px 0px 0px 0px #24a2c09c"}

Produces this:

Click to expand
Click to expand

Note:

This plugin will be available for use when Tiki 25.0 will be released in October 2022. Since the plugin is already included in Tiki 25, anyone who has this version today can use the PluginCountup immediately.

History

Advanced
Information Version
Rodriguez Nyiringabo 26
Rodriguez Nyiringabo 25
Rodriguez Nyiringabo 24
Rodriguez Nyiringabo 23
Rodriguez Nyiringabo 22
Rodriguez Nyiringabo Use the plugin plugin manager to document the plugin parameters instead of the table. 21
Rodriguez Nyiringabo 20
Rodriguez Nyiringabo 19
Marc Laporte 18
Rodriguez Nyiringabo 17
Rodriguez Nyiringabo 16
Rodriguez Nyiringabo 15
Rodriguez Nyiringabo 14
Rodriguez Nyiringabo 13
Rodriguez Nyiringabo 12
Rodriguez Nyiringabo 11
Rodriguez Nyiringabo 10
Rodriguez Nyiringabo 9
Rodriguez Nyiringabo 8
Rodriguez Nyiringabo 7
Rodriguez Nyiringabo 6
Rodriguez Nyiringabo 5
Rodriguez Nyiringabo 4
Rodriguez Nyiringabo 3
Rodriguez Nyiringabo 2
Rodriguez Nyiringabo 1

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 50😎
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki