Template:Code Module: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
This is a template for displaying the details of a Module. Use it as follows:
This is a template for displaying the details of a Module. Use it as follows:


  <nowiki>{{MO</nowiki>
  <nowiki>{{Module</nowiki>
  |name=name_of_module
  |name=name_of_module
  |description=Textual description, going on as long as you want.
  |description=Textual description, going on as long as you want.
Line 13: Line 13:


E.g.
E.g.
  <nowiki>{{MO</nowiki>
  <nowiki>{{Module</nowiki>
  |name=accessibility
  |name=accessibility
  |description=Support for platform accessibility APIs.
  |description=Support for platform accessibility APIs.
Line 25: Line 25:
Which comes out like this:
Which comes out like this:


  {{MO
  {{Module
  |name=accessibility
  |name=accessibility
  |description=Support for platform accessibility APIs.
  |description=Support for platform accessibility APIs.
Line 37: Line 37:
<hr>
<hr>


</noinclude>
</noinclude><table style="width:100%" border="1" cellpadding="3" cellspacing="0">
<table style="width:100%" 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">Name:</th>

Revision as of 17:30, 28 April 2010

This is a template for displaying the details of a Module. Use it as follows:

{{Module
|name=name_of_module
|description=Textual description, going on as long as you want.
|owners=Some Name
|peers=[mailto:markup@isaccepted.com Mark Up], Some Guy
|group=discussion-group-name-without-leading-'mozilla.'
|source_dir=source/directory/from/top/of/tree
|url=http://www.example.com/and/url/which/is/relevant
}}

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_dir=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
URL(s): http://www.mozilla.org/access/
Discussion Group: dev.accessibility

Name: {{{name}}}
Description: {{{description}}}
Owner(s): none
Peer(s): none
Source Dir: {{{source_dir}}}
URL:
Discussion Group: mozilla.{{{group}}}