Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: Dataform field type.

Template:Dataform field type: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
{{Dataform field type
=={{{type}}}==
| type = Checkbox
{| style="margin: 0 0 1em 1em; border-collapse: collapse; " border="1"
| patterns =  
|-
*fieldname
! style="text-align: center; padding: 0.2em; background-color: #ccc; font-size: 120%;" colspan="2" |
*fieldname:link
|-
*fieldname:image
| style="padding: 0.2em; width: 100px;" | Description
*fieldname:imageflex
| style="padding: 0.2em; width: 500px;" | {{{description}}}
*fieldname:media
|-
}}
| style="padding: 0.2em; width: 100px;" | Settings
| style="padding: 0.2em; width: 500px;" | {{{settings}}}
|-
| style="padding: 0.2em; width: 100px;" | Patterns
| style="padding: 0.2em; width: 500px;" | {{{patterns}}}
|-
|}
<noinclude>This template will also categorize articles that include it as [[:Category:Dataform module]].</noinclude>
<includeonly>[[Category:Dataform module]]</includeonly>

Revision as of 00:22, 5 October 2012

{{{type}}}

Description {{{description}}}
Settings {{{settings}}}
Patterns {{{patterns}}}

This template will also categorize articles that include it as Category:Dataform module.