TypoScript Template Reference

Version:10.4
Language:en
Description:The TypoScript Template Reference (TSref) is a true reference describing the core Content Objects and functions available for Template building using the TypoScript template engine.
Keywords:forAdmins, forIntermediates
Copyright:since 2000
Author:Documentation Team & TYPO3 community (see Credits)
License:Open Publication License available from www.opencontent.org/openpub/

The content of this document is related to TYPO3, a GNU/GPL CMS/Framework available from https://typo3.org/.

About This Manual

This document is a complete reference to all objects types and properties of TypoScript as used in frontend TypoScript templates, and not in TSconfig.

参考

  • For explanations about the syntax of TypoScript itself, please refer to the TypoScript Syntax chapter in "TYPO3 Explained"
  • For an introduction to TypoScript Templates, see t3ts45:start

Version Numbers

This document always refers to the latest released TYPO3 version. For older versions, use the version selector.

For new features TypoScript Reference includes a note in which TYPO3 version the feature was added. If such a note is missing, the feature is part of TYPO3 since version 7.6 at least.

Case Sensitivity

All names and references in TypoScript are case sensitive! This is very important to notice. For example watch the words "TEXT" and "value" in this TypoScript code:

myObject = TEXT
myObject.value = <strong>Some HTML code</strong>

This is not the same as

myObject = text
myObject.Value = <strong>Some HTML code</strong>

While the first will be recognized as the content object "TEXT" and will produce the desired output, the latter will not be recognized and will not output anything. Even if you wrote "TEXT" in uppercase in the second example, it would still not work, because the property "value" is misspelled.

Always remember: In this manual the case of objects is important.

Official documentation

This document is included as part of the official TYPO3 documentation. It has been approved by the TYPO3 Documentation Team following a peer- review process. The reader should expect the information in this document to be accurate - please report discrepancies to the Documentation Team (documentation@typo3.org). Official documents are kept up-to-date to the best of the Documentation Team's abilities.

Core Manual

This document is a Core Manual. Core Manuals address the built in functionality of TYPO3 and are designed to provide the reader with in- depth information. Each Core Manual addresses a particular process or function and how it is implemented within the TYPO3 source code. These may include information on available APIs, specific configuration options, etc.

Core Manuals are written as reference manuals. The reader should rely on the Table of Contents to identify what particular section will best address the task at hand.

Table of Contents