DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Markers in the HTML-template

  • You can use very much markers in the HTML-template. Here is a list of some of them.

Marker

Marker:

Usage for

Usage for:

Marker

TEMPLATE_QUESTION_PAGE

Usage for

Questions page

Marker

REF_ERRORS

Usage for

Empty or reference to TEMPLATE_CAPTCHA_NOT_OK

Marker

REF_QUIZ_LIMIT

Usage for

Reference to TEMPLATE_QUIZ_TIME_LIMIT. REF_QUIZ_LIMIT will be empty if "quizTimeMinutes = 0"

Marker

REF_PAGE_LIMIT

Usage for

Reference to TEMPLATE_PAGE_TIME_LIMIT. REF_PAGE_LIMIT will be empty if "pageTimeSeconds = 0"

Marker

FORM_URL

Usage for

URL to the next page

Marker

REF_QUESTIONS

Usage for

Multiple reference to TEMPLATE_QUESTION

Marker

REF_JOKERS

Usage for

Reference to TEMPLATE_JOKERS. REF_JOKERS will be empty if "useJokers = 0"

Marker

REF_SUBMIT_FIELDS

Usage for

Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT (userData.askAtQuestion = 1 or userData.askAtStart = 1), to TEMPLATE_SUBMIT (userData.askAtQuestion = 0) or to TEMPLATE_NO_SUBMIT (if no rights)

Marker

HIDDENFIELDS

Usage for

Hidden fields. Don´t remove!

Marker

REF_HIGHSCORE_URL

Usage for

Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if is poll or dontShowHighscoreLink = 1 !!!

Marker

REF_POLLRESULT_URL

Usage for

Reference to TEMPLATE_POLLRESULT_URL. REF_POLLRESULT_URL will be empty if isPoll = 0 !!!

Marker

QUESTION

Usage for

Text

Marker

MISSING_ANSWER

Usage for

Text

Marker

FE_USER_UID

Usage for

fe_users uid

Marker

QUIZ_NAME

Usage for

Value of TS-variable quizName

Marker

PAGE

Usage for

Current page no.

Marker

MAX_PAGES

Usage for

No. of total pages

Marker

###SUBMIT_JSC###

Usage for

JavsScript. Don´t remove!

Marker

Usage for

Marker

TEMPLATE_RESULT_PAGE

Usage for

Results page

Marker

REF_RES_ERRORS

Usage for

Empty or reference to TEMPLATE_CHEATING

Marker

REF_INTRODUCTION

Usage for

Reference to TEMPLATE_POLL_SUBMITED (poll) or to TEMPLATE_QUIZ_USER_SUBMITED (quiz; if "userData.showAtAnswer = 1", else empty)

Marker

REF_QRESULT

Usage for

Multiple reference to TEMPLATE_QRESULT (empty if is poll or "dontShowCorrectAnswers=1")

Marker

REF_QPOINTS

Usage for

Reference to TEMPLATE_RESULT_POINTS or TEMPLATE_RESULT_POINTS_TOTAL (if is quiz and "dontShowPoints=0", else empty)

Marker

REF_SKIPPED

Usage for

Reference to TEMPLATE_SKIPPED (if "allowSkipping=1" and is quiz, else empty)

Marker

REF_NEXT

Usage for

Reference to TEMPLATE_NEXT (if "showAnswersSeparate=1" and is quiz, else empty)

Marker

REF_POLLRESULT

Usage for

Reference to TEMPLATE_POLLRESULT (if is poll and "dontShowPollResult=0", else empty)

Marker

REF_POLLRESULT_URL

Usage for

Reference to TEMPLATE_POLLRESULT_URL. REF_POLLRESULT_URL will be empty if isPoll = 0

Marker

REF_HIGHSCORE_URL

Usage for

Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if is poll or dontShowHighscoreLink = 1

Marker

REF_QUIZ_LIMIT

Usage for

Reference to TEMPLATE_QUIZ_TIME_LIMIT. REF_QUIZ_LIMIT will be empty if "quizTimeMinutes = 0"

Marker

Usage for

Marker

TEMPLATE_QUIZ_FINAL_PAGE

Usage for

Final / last page

Marker

REF_ERRORS

Usage for

Empty or reference to TEMPLATE_CAPTCHA_NOT_OK

Marker

FORM_URL

Usage for

URL to the highscore page

Marker

REF_NO_MORE

Usage for

Reference to TEMPLATE_NO_MORE. REF_NO_MORE will be empty if pageQuestions = 0

Marker

REF_INTRODUCTION

Usage for

Reference to TEMPLATE_QUIZ_USER_SUBMITED if userdata.showAtFinal = 1, else empty

Marker

REF_QUIZ_ANALYSIS

Usage for

Reference to TEMPLATE_QUIZ_ANALYSIS_x or a page content. x depends on "showAnalysis". REF_QUIZ_ANALYSIS will be empty if showAnalysis = 0 and showEvaluation = 0

Marker

REF_SUBMIT_FIELDS

Usage for

Reference to TEMPLATE_QUIZ_USER_TO_SUBMIT if userdata.askAtFinal = 1, else empty

Marker

HIDDENFIELDS

Usage for

Don´t delete the marker HIDDENFIELDS

Marker

REF_HIGHSCORE

Usage for

Reference to TEMPLATE_HIGHSCORE. REF_HIGHSCORE will be empty if showHighscore = 0

Marker

REF_HIGHSCORE_URL

Usage for

Reference to TEMPLATE_HIGHSCORE_URL. REF_HIGHSCORE_URL will be empty if dontShowHighscoreLink = 1

Marker

RESTART_QUIZ

Usage for

Link to restart the quiz

Marker

RESET_COOKIE

Usage for

Link to delete the cookie

Marker

FE_USER_UID

Usage for

fe_users uids

Marker

Usage for

Marker

TEMPLATE_QUESTION

Usage for

Questions at the question-page

Marker

REF_QUESTION_IMAGE_BEGIN

Usage for

Reference to TEMPLATE_QUESTION_IMAGE_BEGIN

Marker

REF_QUESTION_IMAGE_END

Usage for

Reference to TEMPLATE_QUESTION_IMAGE_END

Marker

REF_DELIMITER

Usage for

Reference to TEMPLATE_DELIMITER

Marker

VAR_QUESTION_IMAGE

Usage for

Image of the question

Marker

VAR_QUESTION_TITLE

Usage for

Title of a question

Marker

VAR_QUESTION_NAME

Usage for

Name of a question

Marker

P1 and P2

Usage for

() if VAR_ANSWER_POINTS if defined

Marker

VAR_ANSWER_POINTS

Usage for

Points for every answer of this question

Marker

VAR_QUESTION_POINTS

Usage for

Points for this question

Marker

VAR_NEXT_POINTS

Usage for

Total points after this question

Marker

VAR_QUESTION

Usage for

Number of the question

Marker

VAR_QUESTIONS

Usage for

Number of total questions

Marker

VAR_QUESTION_NUMBER

Usage for

Number of the question on the current page

Marker

VAR_QUESTION_TYPE

Usage for

Question type (int)

Marker

VAR_QUESTION_ANSWERS

Usage for

Number of answers for the current question

Marker

VAR_CATEGORY

Usage for

Current category

Marker

VAR_NEXT_CATEGORY

Usage for

Next category

Marker

TEMPLATE_QUESTION_ANSWER

Usage for

Here comes the answers of the question

Marker

- VAR_QUESTION_ANSWER

Usage for

Answer of a question

Marker

- VAR_QA_CATEGORY

Usage for

Category of an answer

Marker

Usage for

Marker

TEMPLATE_QUESTION_IMAGE_BEGIN

Usage for

Image begin

Marker

VAR_QUESTION_IMAGE

Usage for

Image of a question

Marker

Usage for

Marker

TEMPLATE_QRESULT

Usage for

Questions of the results-page

Marker

REF_QUESTION_IMAGE_BEGIN

Usage for

Reference to TEMPLATE_QUESTION_IMAGE_BEGIN

Marker

REF_QUESTION_IMAGE_END

Usage for

Reference to TEMPLATE_QUESTION_IMAGE_END

Marker

REF_QR_ANSWER_CORR

Usage for

Reference to TEMPLATE_QR_CORR

Marker

REF_QR_ANSWER_ALL

Usage for

Reference to the next 4 templates in original order. Use it for polls or if you want to keep the original order.

Marker

REF_QR_ANSWER_CORR_ANSW

Usage for

Reference to TEMPLATE_QR_CORR_ANSW

Marker

REF_QR_ANSWER_CORR_NOTANSW

Usage for

Reference to TEMPLATE_QR_CORR_NOTANSW

Marker

REF_QR_ANSWER_NOTCORR_NOTANSW

Usage for

Reference to TEMPLATE_QR_NOTCORR_NOTANSW

Marker

REF_QR_ANSWER_NOTCORR_ANSW

Usage for

Reference to TEMPLATE_QR_NOTCORR_ANSW

Marker

REF_QR_EXPLANATION

Usage for

Reference to TEMPLATE_EXPLANATION

Marker

REF_QR_POINTS

Usage for

Reference to TEMPLATE_QR_POINTS

Marker

REF_DELIMITER

Usage for

Reference to TEMPLATE_DELIMITER

Marker

TITLE_HIDE

Usage for

-hide if the title is marked as hidden

Marker

VAR_QUESTION_TITLE

Usage for

Title of the question

Marker

VAR_QUESTION_NAME

Usage for

Name of the question

Marker

VAR_QUESTION

Usage for

Number of the question

Marker

VAR_QUESTIONS

Usage for

Number of total questions

Marker

VAR_QUESTION_NUMBER

Usage for

Number of the question on the current page

Marker

VAR_CATEGORY

Usage for

Current category

Marker

VAR_NEXT_CATEGORY

Usage for

Next category

Marker

Usage for

Marker

TEMPLATE_QR_CORR,

Usage for

A correct answer (answered and not answered

Marker

TEMPLATE_QR_CORR_ANSW,

Usage for

A correct answer which has been answered

Marker

TEMPLATE_QR_CORR_NOTANSW,

Usage for

A correct answer which has not been answered

Marker

TEMPLATE_QR_NOTCORR_ANSW,

Usage for

A not correct answer which has been answered

Marker

TEMPLATE_QR_NOTCORR_NOTANSW

Usage for

A not correct answer which has not been answered

Marker

VAR_QUESTION_ANSWER

Usage for

Answer of the question

Marker

VAR_QA_CATEGORY

Usage for

Category-name of this answer

Marker

VAR_QA_NR

Usage for

Category-number of this answer

Marker

P1, P2

Usage for

() if VAR_ANSWER_POINTS is defined

Marker

VAR_ANSWER_POINTS

Usage for

Points for this answer

Marker

Usage for

Marker

TEMPLATE_QR_POINTS

Usage for

Points result for a question

Marker

RES_QUESTION_POINTS

Usage for

Text

Marker

VAR_QUESTION_POINTS

Usage for

Reached points for that question

Marker

VAR_MAX_QUESTION_POINTS

Usage for

Maximum points for that question

Marker

Usage for

Marker

TEMPLATE_EXPLANATION

Usage for

Explanation for the question

Marker

EXPLANATION

Usage for

Text

Marker

VAR_EXPLANATION

Usage for

Explanation

Marker

Usage for

Marker

TEMPLATE_RESULT_POINTS,

Usage for

Reached points for the first page

Marker

TEMPLATE_RESULT_POINTS_TOTAL

Usage for

Reached points for following pages

Marker

RESULT_POINTS

Usage for

Text

Marker

VAR_RESULT_POINTS

Usage for

Reached points at that page

Marker

VAR_MAX_POINTS

Usage for

Maximum points for that page

Marker

TOTAL_POINTS

Usage for

Text

Marker

VAR_TOTAL_POINTS

Usage for

Reached points till now

Marker

VAR_TMAX_POINTS

Usage for

Possible points till now

Marker

VAR_OMAX_POINTS

Usage for

Possible reachable points at all

Marker

VAR_QUESTIONS_ANSWERED

Usage for

Number of answered questions till now

Marker

VAR_QUESTIONS_CORRECT

Usage for

Number of correct answered questions till now

Marker

VAR_QUESTIONS_FALSE

Usage for

Number of false answered questions till now

Marker

VAR_MISSING_POINTS

Usage for

Maximum – reached points for that page

Marker

VAR_TMISSING_POINTS

Usage for

Maximum – reached points till now

Marker

SO_FAR_REACHED1 and 2

Usage for

Text

Marker

VAR_OVERALL_PERCENT

Usage for

Percentage of correct answered questions, depending on the points

Marker

VAR_CATEGORY

Usage for

Last category

Marker

VAR_NEXT_CATEGORY

Usage for

Next category

Marker

Usage for

Marker

TEMPLATE_QUIZ_USER_TO_SUBMIT

Usage for

Submit fields with user data

Marker

NAME, EMAIL, HOMEPAGE

Usage for

Text

Marker

DEFAULT_NAME, DEFAULT_EMAIL, DEFAULT_HOMEPAGE

Usage for

Default values or submitted values

Marker

GO_ON, RESET, GO_BACK

Usage for

Text

Marker

BACK_STYLE

Usage for

style=”display:none;” if allowBack=0

Marker

SR_FREECAP_NOTICE,

SR_FREECAP_CANT_READ, SR_FREECAP_IMAGE, SR_FREECAP_ACCESSIBLE

Usage for

sr_freecap Captcha values in subpart CAPTCHA_INSERT

Marker

Usage for

Marker

TEMPLATE_QUIZ_USER_SUBMITED

Usage for

Submitted user values

Marker

RESULT_FOR, NAME, EMAIL, HOMEPAGE

Usage for

Text

Marker

REAL_NAME, REAL_EMAIL, REAL_HOMEPAGE

Usage for

Submitted user data

Marker

Usage for

Marker

TEMPLATE_SUBMIT

Usage for

Submit fields without user data

Marker

SUBMIT, RESET, GO_BACK

Usage for

Text

Marker

BACK_STYLE

Usage for

style=”display:none;” if allowBack=0

Marker

Usage for

Marker

TEMPLATE_NEXT

Usage for

Submit button to the next page

Marker

FORM_URL

Usage for

Next page

Marker

GO_ON, GO_BACK

Usage for

Text

Marker

BACK_STYLE

Usage for

style=”display:none;” if allowBack=0

Marker

QTUID

Usage for

Quiz taker ID

Marker

Usage for

Marker

TEMPLATE_NO_MORE

Usage for

No more questions left. Will be displayed at the end of the quiz

Marker

NO_MORE, CORRECT_ANSWERS, YOUR_EVALUATION, REACHED1, REACHED2, POINTS

Usage for

Text

Marker

RESTART_QUIZ

Usage for

Restart link

Marker

RESET_COOKIE

Usage for

Link to delete cookies

Marker

VAR_TOTAL_POINTS

Usage for

Reached points

Marker

VAR_TMAX_POINTS

Usage for

Possible (maximum) points

Marker

VAR_OVERALL_PERCENT

Usage for

Solved answers in percentage

Marker

In QUIZ_ANSWERS:

Usage for

Marker

VAR_QUESTION_TITLE

Usage for

Question title

Marker

VAR_QUESTION_NAME

Usage for

Question name

Marker

REF_QUESTION_IMAGE_BEGIN, REF_QUESTION_IMAGE_END

Usage for

Image begin and end

Marker

REF_QR_ANSWER_CORR

Usage for

Reference to TEMPLATE_QR_CORR

Marker

REF_QR_ANSWER_ALL

Usage for

See TEMPLATE_QRESULT

Marker

REF_QR_EXPLANATION

Usage for

Reference to TEMPLATE_EXPLANATION

Marker

REF_DELIMITER

Usage for

Reference to TEMPLATE_DELIMITER

Marker

VAR_QUESTION

Usage for

Current question number

Marker

VAR_QUESTIONS

Usage for

Number of questions

Marker

Usage for

Marker

TEMPLATE_ALLANSWERS

Usage for

Show all answers

Marker

Like above (in QUIZ_ANSWERS)

Usage for

See above