User:Frank Ralf/Subpage transclusion

From MoodleDocs

This is only for testing purposes.

MediaWiki documentation

"One can cut and paste the text to be transcluded into a subpage, then use the name of the subpage in the transclusion template. This approach can only be used with subpages from User, Talk or Wikipedia pages; currently, subpages cannot be created from main article pages.

Example: you want to discuss the deletion and redirecting of Pussycat to Cat. First, create the subpage Talk:Pussycat/Let's delete Pussycat!, write your comment into it, then transclude it in Talk:Pussycat and Talk:Cat using the template Talk:Pussycat/Let's delete Pussycat!. Comments posted in either talk page will be shown in both."

General information

Instead of just linking to a subpage like so:

[[/general information]] 

you can use MediaWiki's transclusion mechanismen to directly integrate the content of the subpage at any other place in the wiki.

The following template is used to pull the content from a subpage of this page:

{{/general information}} 

Below the following line comes the external (transcluded) content.

Transcluded subpage

This information lives on a subpage which is transcluded in the main article. Clicking the edit link will lead directly to the subpage. --Frank Ralf 07:42, 22 February 2011 (UTC)

Even more sub content

... --Frank Ralf 18:09, 22 February 2011 (UTC)

Moodle 1.9

Template:Moodle 1.9

This is information only relevant for Moodle 1.9. This information is written directly on this page.

Moodle 2.0

Template:Moodle 2.0

This is information only relevant for Moodle 2.0. This information is written directly on this page.

See also: