No categories assigned

BlueSpiceCountThings

      • No status information
Revision as of 10:24, 6 December 2016 by Schnaks (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Count things with CountThings.
Use the extension Count Things to count defined metadata. The output is an infobox that can be integrated into an article.

Where do I find CountThings?

You only see the function when you or another author integrated the special tag into an article. Everbody with writing permissions can use the tag, everyone with reading permissions ca see the infobox as a result.

Functions of CountThings

These metadata can be counted:

Number of all pages in a system

This number is based on the database table page. Attention, this number is different to the one you will get with Special:Statistics because there additional criteria are used.

<bs:countarticles />

Number of characters, words and pages (2000 characters = 1 Seite) of an article

If you want to show all information (characters, words and pages) of an article, please use this code:

<bs:countcharacters>ARTIKELNAME</bs:countcharacters>

If you just want to show part of the information, please choose between these different modes:

  • chars: Only number of characters.
  • words: Only number of words.
  • pages: Only number of pages.
  • all (Standard): All information.
The mode is defined with "mode":
<bs:countcharacters mode="chars">Name of the article</bs:countcharacters>

Number of users in a system (users who are signed-in)

<bs:countusers />

The code has to be integrated directly into the article.

Example: text metadata for this article

The tag <bs:countcharacters mode="all">Count_Things</bs:countcharacters> gives you the following output:

Count Things
Characters0
Words1
Pages0


If you want to display the content meta data of the article "BlueSpice_free_Extensions", use this tag:
<bs:countcharacters mode="all">BlueSpice_free_Extensions</bs:countcharacters>

BlueSpice free Extensions
Characters0
Words1
Pages0


Attachments

Discussions