Difference between revisions of "Test onlyinclude"
From FollowTheScore
| Line 26: | Line 26: | ||
|includepage=* | |includepage=* | ||
}} | }} | ||
| + | [[Category:Test]] | ||
Revision as of 21:02, 3 May 2007
This page transcludes part of another page that uses onlyinclude blocks.
Here's how normal transclusion looks:
This text is the onlyinclude section
You need to use DPL2 as a parser function, not as a parser extension, to take advantage of this:
Parser extension:
<DPL> category=Test onlyinclude includepage=* </DPL>
- Test onlyinclude - included page
Leading text This text is the onlyinclude sectionHeading 2
- Section 2
- And more stuff
Parser function:
{ {#dpl:
|category=Test onlyinclude
|includepage=*
}}
This text is the onlyinclude section