TSref/optionSplit

From TYPO3Wiki

Jump to: navigation, search
Translations info
An english page for every translation.
All pagenames in english.

  en       de   nl   fr   ja   zh  

Parts and subparts syntax, Cf. T3Doc/doc_core_tsref.

The main TypoScript-syntax is

...first part... |*| ...middle part... |*| ...last part...

with each part being

...subpart || subpart || ... || subpart...

Rule 1, the priority is 1-last part, 2-first part, 3-middle part

Rule 2, if the middle part is absent, the last subpart of the first part is repeated in order to fill values. To indicate that the middle part is absent, it's necessary to write with no spaces, as

|*||*|

Rule 3, if the first and the middle parts are absent, the first subpart of the last part is repeated.

Rule 4, if the last part is absent, the middle value is repeated

a a a a a
a || b || c a b c c c ...
a || b |*| c a b c c c ...
a || b |*| c |*| d || e a b c c ... c c d e Rule 1
a || b |*| c |*| d || e a b d e Rule 1
a || b |*| c |*| d || e a d e Rule 1
a || b |*||*| c || d a b b c d Rule 2
|*||*| a || b a a ... a b Rule 3
a |*| b || c |*| a b c b c b c ... b c Rule 4
Personal tools