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

Template:Infobox Project: Difference between revisions

From MoodleDocs
mNo edit summary
m (Fixed the param name in usage instructions)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
{| style="margin: 0 0 1em 1em; border-collapse: collapse; float: right; width: 350px; font-size: 90%;" border="1"
{| style="margin: 0 0 1em 1em; border-collapse: collapse; float: right; width: 350px; font-size: 90%;" border="1"
|-
|-
! style="text-align: center; padding: 0.2em; background-color: #ccc; font-size: 120%;" colspan="2" | '''{{{name}}}'''
! style="text-align: center; padding: 0.2em; background-color: #ccc; font-size: 120%;" colspan="2" | '''{{{name}}}'''
|-
|-
{{#if: {{{state|}}} |
| style="padding: 0.2em;" | Project state
{{!}} style="padding: 0.2em;" {{!}} Project state
| style="padding: 0.2em;" | {{{state}}}
{{!}} style="padding: 0.2em;" {{!}} {{{state}}}
|-
}}
| style="padding: 0.2em;" | Tracker issue
| style="padding: 0.2em;" | {{{tracker}}}
|-
| style="padding: 0.2em;" | Discussion
| style="padding: 0.2em;" | {{{discussion}}}
|-
| style="padding: 0.2em;" | Assignee
| style="padding: 0.2em;" | {{{assignee}}}
|-
|-
{{#if: {{{tracker|}}} |
{{!}} style="padding: 0.2em;" {{!}} Tracker issue
{{!}} style="padding: 0.2em;" {{!}} {{{tracker}}}
}}
|}
|}
</includeonly>
<noinclude>
<noinclude>
 
Usage:
<pre style="width:35em">
{{Infobox Project
|name = Enter the project name
|state = Enter the project status
|tracker = Enter the MDL issue number
|discussion = Enter the link to the discussion
|assignee = [[User:Your name|Your name]]
}}
</pre>
</noinclude>
</noinclude>

Latest revision as of 17:15, 23 November 2009

{{{name}}}
Project state {{{state}}}
Tracker issue {{{tracker}}}
Discussion {{{discussion}}}
Assignee {{{assignee}}}

Usage:

{{Infobox Project
|name = Enter the project name
|state = Enter the project status
|tracker = Enter the MDL issue number
|discussion = Enter the link to the discussion
|assignee = [[User:Your name|Your name]]
}}