[+maxigallery.managebutton:isnot=``:then=`
[+maxigallery.managebutton+]

`+] [+maxigallery.childgalleries:isnot=``:then=`
`+] [+maxigallery.pagenumbers:isnot=``:then=` [+maxigallery.pagecount:isnot=`1`:then=`
[+maxigallery.currentpage:is=`1`:then=` [+maxigallery.strings.previous+] | `:else=` [+maxigallery.strings.previous+] | `+] [+maxigallery.pagenumbers+] [+maxigallery.currentpage:is=`[+maxigallery.pagecount+]`:then=` [+maxigallery.strings.next+] `:else=` [+maxigallery.strings.next+] `+]
`+] `+] [+maxigallery.embedtype:is=`smoothgallery`:then=`
[+maxigallery.pictures+]
`+] [+maxigallery.embedtype:isnot=`smoothgallery`:then=` [+maxigallery.pictures:isnot=``:then=`
`+] `+]