[Moin-user] Add level with Include macro

Boris Callens boris.callens.osv at fedex.com
Tue Jul 31 03:57:57 EDT 2007


Hi list,

I am trying to make my pages more modular by splitting them all up in  
several subpages and using the [[Include(/SubPage)]] command on the  
orignal page to include the subpages.

Now I would like to make the inserted pages follow the header levels from  
the page where they are inserted.\
I googled this and found the syntax for that should be [[Include(/SubPage,  
level)]] but that just gives me a parsing error.

Example:
<main page:>


= MainPageTitle =
[[Insert(/SubPage)]]



<and Subpage:>

= SubPageTitle =
Here goes a random text


<Would give me:>

= MainPageTitle =
== SubPageTitle ==
Here goes a random text

-- 
Boris Callens
FedEx




More information about the Moin-user mailing list