Other than the hide-if or toggle-cloak macros, is there a way to hide part of a wiki page based on a condition. In this case I want to display one link if the page has a child page and a different link if there is no child page.
The hide-if macro can be set based on a page label value, so if there were a way to toggle the page label that might work.