Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Transclusion.

MoodleDocs talk:Transclusion: Difference between revisions

From MoodleDocs
(onlyinclude, includeonly hides text (interesting))
Line 2: Line 2:
Lets see if the following texts can be inserted into other pages via transclusion.
Lets see if the following texts can be inserted into other pages via transclusion.


Humm. <includeonly> This text is only part of the text that is located on MoodleDocs talk:Transclusion page.  Only this text should appear when [[:MoodleDocs_talk:Transclusion]] is inserted into another page.</includeonly>
Humm. <onlyinclude> This text is only part of the text that is located on MoodleDocs talk:Transclusion page.  Only this text should appear when <nowiki>[[:MoodleDocs_talk:Transclusion]</nowiki>] is inserted into another page.</onlyinclude>


That is the theory, does it work? --[[User:chris collman|chris collman]] 06:57, 5 December 2008 (CST)
That is the theory, does it work? --[[User:chris collman|chris collman]] 06:57, 5 December 2008 (CST)

Revision as of 13:00, 5 December 2008

Partial transclusion example

Lets see if the following texts can be inserted into other pages via transclusion.

Humm. This text is only part of the text that is located on MoodleDocs talk:Transclusion page. Only this text should appear when [[:MoodleDocs_talk:Transclusion]] is inserted into another page.

That is the theory, does it work? --Chris collman 06:57, 5 December 2008 (CST)