This page is an attempt at documenting TaviTransclusion's. This documentation is a modified version of a mail from ScottMoonen on the subject. Note that change from %%PageName%% to [[Transclude PageName]] which is the new style, as of version 0.22.


That being said, there already is a solution to too-big pages. It's called transclusion. Say, for example, we wanted to write a wiki book. Here's how I'd do it. I'd create these pages:

  WikiBook/ChapterOne
  WikiBook/ChapterTwo
  WikiBook/ChapterThree
  ...

Then, I'd create one page that *transcluded* the chapters. In other words, it contained references to the chapters that include them as part of it when the page is displayed. This would look like:

  == My Wiki Book ==

  [[Transclude WikiBook/ChapterOne]]
  ----
  [[Transclude WikiBook/ChapterTwo]]
  ----
  [[Transclude TWikiBook/ChapterThree]]

And that's all! The magical [[Transclude PageName]] syntax says to include the contents of the given page when you render the current page. (Special logic prevents infinite recursion. ;-)

For more on transclusion, see:

MeatBall:TransClusion? and MeatBall:InternalTransclusion? and

I'm leery of actually creating page subsections, since I'm not sure that adds much value compared to how cumbersome it might be through a web interface. Especially because I haven't seen a problem up through 50k+ size pages.

---

TaviTransclusion/Suggestions | TaviSuggestions