Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Frank Ralf/Subpage transclusion.

User:Frank Ralf/Subpage transclusion: Difference between revisions

From MoodleDocs
Line 2: Line 2:


== General information ==
== General information ==
Instead of just linking to a subpage like so:
<nowiki>[[/general information]]</nowiki>
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:  
The following template is used to pull the content from a subpage of this page:  
  <nowiki>{{/general information}}</nowiki>  
  <nowiki>{{/general information}}</nowiki>  
Below the following line comes the external (transcluded) content.
Below the following line comes the external (transcluded) content.
----
----

Revision as of 18:05, 22 February 2011

This is only for testing purposes.

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.