Type {{MainContent/Thumb|<text>}}; the text must correspond to link, visible under thumbnail, and thus thumbnail's file name.
In case of using title different from page's title, type {{MainContent/Thumb|<text>|<actual page>}} (won't work with categories, so redirect will be needed)