Is there an easy way to implement relative headers?
E.g. when you have a generic article which uses headers, those headers may be right for some articles in which you want to transclude the generic article, but totally wrong for other articles.
I suspect the mantra will be "avoid headers in transcluded pages", but if anyone has a workaround, it'd be welcome.
Kind regards,
Herta
E.g. when you have a generic article which uses headers, those headers may be right for some articles in which you want to transclude the generic article, but totally wrong for other articles.
If I understand your question correctly, you want to use wiki headings in a transcluded page.
My recommendation would be to come up with a convention for the depth of first headings in content pages which are meant to be transcluded. So say you chose 3 - then all headers in a transcludable page would have highest level headings === like this ===
There's no easy way to just "turn off" header processing for portions of articles (transcluded or otherwise), to my knowledge.
-- Jim R. Wilson (jimbojw)
On Jan 24, 2008 10:05 AM, Herta Van den Eynde herta.vandeneynde@gmail.com wrote:
Is there an easy way to implement relative headers?
E.g. when you have a generic article which uses headers, those headers may be right for some articles in which you want to transclude the generic article, but totally wrong for other articles.
I suspect the mantra will be "avoid headers in transcluded pages", but if anyone has a workaround, it'd be welcome.
Kind regards,
Herta
-- Herta Van den Eynde
"Life on Earth may be expensive, but it comes with a free ride around the Sun."
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org