Template:Transclusion/doc

Syntax
If you want to only include a section of a page, you need to edit it (the original page) and wrap the section with   tags.

Likewise, you can specify sections to not be included with   tags.

You can also specify a section of a page that won't normally be displayed but will be when transcluded with the   tags.

You can use all three tags multiple times in the same page.

There would be a much more powerful way of specifying portions to include or not, using #lst and #section macros, but they don't seem to be working

Example
Results in...