# TypoScript is the configuration language of Typo3, a webbased
# content management framework released under GPL (http://typo3.org/).
# It is rumored that TypoScript isn't a programming language.
page = PAGE
page.1 = TEXT
page.1 {
stdWrap.prefixComment = 24 |
split {
token.char = 9
cObjNum = 1 |*||*| 2 || 3
1.cObject = COA
1.cObject.10 = LOAD_REGISTER
1.cObject.10.counter {
cObject = TEXT
cObject.data = register:counter
cObject.wrap = |+1
prioriCalc = intval
}
1.cObject.20 = LOAD_REGISTER
1.cObject.20.current {
cObject = TEXT
cObject.data = register:counter
cObject.wrap = 99-|
prioriCalc = intval
}
1.cObject.30 = TEXT
1.cObject.30.data = register:current
1.cObject.30.noTrimWrap (
|Take one down, pass it around
| bottles of beer on the wall
|
)
1.cObject.40 = TEXT
1.cObject.40.data = register:current
1.cObject.40.noTrimWrap = |
| bottles of beer on the wall
|
1.cObject.50 = TEXT
1.cObject.50.data = register:current
1.cObject.50.noTrimWrap = || bottles of beer
|
2.cObject = TEXT
2.cObject.value (
Take one down, pass it around
One bottle of beer on the wall
)
3.cObject = TEXT
3.cObject.value (
One bottle of beer on the wall
One bottle of beer
Take one down, pass it around
No more bottles of beer on the wall
)
}
wrap (
99 bottles of beer on the wall) }
99 bottles of beer
|