On 13/08/05, Heinz-Josef Lücking h-j.luecking@t-online.de wrote:
But when including a page that way, the page title does not get included. I have either to include the =title= whithin the inluded page again, which does'nt look nice there or to set the title manually on the page which include subpages.
Are there allready some working things to get a page included and the page title displayed too?
How about creating a template which adds a header with the title of the page, followed by its contents, e.g. if [[Template:include with title]] contains the following:
={{{1}}}= {{:{{{1}}}}}
Then typing "{{include with title|Page name}}" will create a top-level header labelled "Page name" followed by the contents of [[Page name]]. And obviously, it's entirely up to you how the title is formatted - just edit your template appropriately.
See http://meta.wikimedia.org/wiki/Help:Template for more...
wikitech-l@lists.wikimedia.org