Last modified: 2014-02-12 23:35:35 UTC
Currently there are * __FORCETOC__ that enforces displaying of the TOC even if it has less than specified number of items on its usual position. * __TOC__ that enforces displaying of the TOC even if it has less than specified number of items on given position. There is no way, how to place the TOC on given position _AND_ have it displayed only when it's larger than specified number of items. Suggesting the __SOFTTOC__, __CONDTOC__, __VARTOC__ or __FLOWTOC__ magic word for that. Also mind bug 17587 when solving this.
Errm, so {|align=right |__TOC__ |} style does not work? (I might completely fail to understand the problem here?)
Yes you do... ;-) Try to read it once more. The 3rd paragraph completely and precisely describes the issue.
__AUTOTOC__ ?
(In reply to Description) > Currently there are > > * __FORCETOC__ that enforces displaying of the TOC even if it has less than > specified number of items on its usual position. > * __TOC__ that enforces displaying of the TOC even if it has less than > specified number of items on given position. > > There is no way, how to place the TOC on given position _AND_ have it > displayed > only when it's larger than specified number of items. > > Suggesting the __SOFTTOC__, __CONDTOC__, __VARTOC__ or __FLOWTOC__ magic word > for that. > > Also mind bug 17587 when solving this. Ummm. I can confirm that __TOC__ will place a Table of Contents at it's location EVEN if there are less than the specified number of items in it.
Can this be closed now? _TOC_ does what the original request asked for. Thinking INVALID.
(In reply to comment #5) > Can this be closed now? _TOC_ does what the original request asked for. > Thinking INVALID. No, please read carefully the description and try to play on sandbox if necessary.