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

Database templates: Difference between revisions

From MoodleDocs
(→‎Wiki or MoodleDoc: added 1.5 example template)
Line 12: Line 12:
<nowiki>They are are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page. You add them by putting the template's name in {{double braces}}.</nowiki>  From [http://meta.wikimedia.org/wiki/Help:Editing#Templates wikimedia.org Edit Templates]
<nowiki>They are are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page. You add them by putting the template's name in {{double braces}}.</nowiki>  From [http://meta.wikimedia.org/wiki/Help:Editing#Templates wikimedia.org Edit Templates]


<nowiki>{{Moodle 1.5}}</nowiki>
*First Example 
{{Moodle 1.5}}
<nowiki>{{Moodle 1.5}}</nowiki>


The above looks like Moodle 1.5 you see on the right.
The above code looks like the Moodle 1.5 box you see on the right.  


{{Moodle 1.5}}
 
*Second example:
Near the bottom of this page is another template that says something like
"This article is a stub. You can help Moodle Docs by expanding it."


== See also ==
== See also ==

Revision as of 18:20, 5 May 2006

Template:Databases The term Templates has different meanings based upon its context.

Databases

The term Templates has a special meaning in databases.


Wiki or MoodleDoc

The term Templates is also used in editing MoodleDocs. They are are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page. You add them by putting the template's name in {{double braces}}. From wikimedia.org Edit Templates

  • First Example

Template:Moodle 1.5 {{Moodle 1.5}}

The above code looks like the Moodle 1.5 box you see on the right.


  • Second example:

Near the bottom of this page is another template that says something like "This article is a stub. You can help Moodle Docs by expanding it."

See also

Themes - Sometimes Themes are refered to as templates.