Template:Code Module: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 39: | Line 39: | ||
</noinclude><table style="width:100%; margin-bottom: 1em" border="1" cellpadding="3" cellspacing="0"> | </noinclude><table style="width:100%; margin-bottom: 1em" border="1" cellpadding="3" cellspacing="0"> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">Name:</th> | <th style="text-align: right; vertical-align: top; width: 150px">Name:</th> | ||
<th style="text-align:left">{{{name}}}</th> | <th style="text-align:left">{{{name}}}</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">Description:</th> | <th style="text-align: right; vertical-align: top; width: 150px">Description:</th> | ||
<td>{{{description}}}</td> | <td>{{{description}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">Owner(s):</th> | <th style="text-align: right; vertical-align: top; width: 150px">Owner(s):</th> | ||
<td>{{{owners|''none''}}}</td> | <td>{{{owners|''none''}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">Peer(s):</th> | <th style="text-align: right; vertical-align: top; width: 150px">Peer(s):</th> | ||
<td>{{{peers|''none''}}}</td> | <td>{{{peers|''none''}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">Source Dir(s):</th> | <th style="text-align: right; vertical-align: top; width: 150px">Source Dir(s):</th> | ||
<td>{{{source_dirs|}}}</td> | <td>{{{source_dirs|}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">URL:</th> | <th style="text-align: right; vertical-align: top; width: 150px">URL:</th> | ||
<td>{{{url|}}}</td> | <td>{{{url|}}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="text-align: right; vertical-align: top">Discussion Group:</th> | <th style="text-align: right; vertical-align: top; width: 150px">Discussion Group:</th> | ||
<td>[http://www.mozilla.org/community/forums/#{{{group}}} mozilla.{{{group}}}]</td> | <td>[http://www.mozilla.org/community/forums/#{{{group}}} mozilla.{{{group}}}]</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Revision as of 10:34, 29 April 2010
This is a template for displaying the details of a Module. Use it as follows:
{{Module
|name=name_of_module
|description=A paragraph of textual description.
|owners=Some Name
|peers=[mailto:markup@isaccepted.com Mark Up], Other Guy
|group=discussion-group-name-without-leading-'mozilla.'
|source_dirs=source/directory/from/top/of/tree, another/directory
|url=http://www.example.com/relevant/url
}}
E.g.
{{Module
|name=accessibility
|description=Support for platform accessibility APIs.
|owners=Alexander Surkov
|peers=[mailto:marco.zehe@googlemail.com Marco Zehe], Ginn Chen, David Bolter
|group=dev.accessibility
|source_dirs=accessible/
|url=http://www.mozilla.org/access/
}}
Which comes out like this:
| Name: | accessibility (#) |
|---|---|
| Description: | Support for platform accessibility APIs. |
| Owner: | none |
| Peer(s): | Marco Zehe, Ginn Chen, David Bolter |
| Source Dir(s): | accessible/ |
| URL(s): | http://www.mozilla.org/access/ |
| Discussion Group: | dev.accessibility |
| Name: | {{{name}}} |
|---|---|
| Description: | {{{description}}} |
| Owner(s): | none |
| Peer(s): | none |
| Source Dir(s): | |
| URL: | |
| Discussion Group: | mozilla.{{{group}}} |