tollwerk / tw-exercise
Configurable exercises like multiple choice questions or cloze texts
Package info
github.com/tollwerk/TYPO3-ext-tw_exercise
Type:typo3-cms-extension
pkg:composer/tollwerk/tw-exercise
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-28 13:49:06 UTC
README
TYPO3 extension that adds content elements for different kind of exercises like clozes, multiple choice tests etc.
Installation
- Install the extension with composer.
composer require tollwerk/tw-exercise
Available exercises
Cloze
A fill-in-the-blanks exercise. You enter the text using a simple format to mark gaps and related context.
There are many stars in the sky. {{The star closest to us is our own Sun. Next is [[Alpha Centauri]].
It is one of the most famous stars in pop culture.}}
Format
A gap is indicated by a pair of square brackets, [[ and ]]. The word that is the correct answer for that blank must
be placed inside them.
Each gap requires additional context that is crucial for answering the gap. This context is enclosed in double curly
braces {{ and }}. This ensures that all text before and/or after the square brackets is used as an additional
description for the actual gap.
Please note: For each cloze, the actual content within a blank (between the square brackets) must be unique! The same word cannot appear in multiple gaps. The content of the gaps is case-sensitive, so “abc” and “ABC” are not the same. Leading or trailing spaces around the content of a gap are ignored.
Gap configurations
For each gap within your text you have to add a configuration below your text field. Required information about the gap like the available answers must be set. Gaps without a corresponding configuration will be ignored.