Template:Module: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
  |description=A paragraph of textual description.
  |description=A paragraph of textual description.
  |owner=Some Name
  |owner=Some Name
|contentowner=Some Other Name (used for some websites where content owner is different from technical owner)
  |peers=<nowiki>[mailto:markup@isaccepted.com Mark Up]</nowiki>, Other Guy
  |peers=<nowiki>[mailto:markup@isaccepted.com Mark Up]</nowiki>, Other Guy
  |advisors=<nowiki>[mailto:markup@isaccepted.com Smart Girl]</nowiki>, Smart Guy
  |advisors=<nowiki>[mailto:markup@isaccepted.com Smart Girl]</nowiki>, Smart Guy
Line 40: Line 41:
  |url=http://www.mozilla.org/access/
  |url=http://www.mozilla.org/access/
  }}
  }}
Contact Gerv if you have questions. Ignore the below.


<hr>
<hr>
Line 58: Line 61:
   <td>{{{owner|''none''}}}</td>
   <td>{{{owner|''none''}}}</td>
</tr>
</tr>
{{#if:{{{contentowner|}}}
|
<tr>
  <th style="text-align: right; vertical-align: top; width: 150px">Content Owner:</th>
  <td>{{{contentowner}}}</td>
</tr>
}}


{{#if:{{{peers|}}}
{{#if:{{{peers|}}}

Revision as of 12:53, 9 August 2013

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.
|owner=Some Name
|contentowner=Some Other Name (used for some websites where content owner is different from technical owner)
|peers=[mailto:markup@isaccepted.com Mark Up], Other Guy
|advisors=[mailto:markup@isaccepted.com Smart Girl], Smart Guy
|content=[mailto:markup@isaccepted.com Other Smart Girl], Other Smart Guy
|group=discussion-group-name-without-leading-'mozilla.'
|forum=[http://example.com/link/to/forum Our Discussion Forum] (for modules without a newsgroup)
|source_dirs=source/directory/from/top/of/tree, another/directory
|components=BugzillaProduct::Component Name, Another Product::Another Component
|url=http://www.example.com/relevant/url
}}

E.g.

{{Module
|name=accessibility
|description=Support for platform accessibility APIs.
|owner=Alexander Surkov
|peers=[mailto:marco.zehe@googlemail.com Marco Zehe], Ginn Chen, David Bolter
|group=dev-accessibility
|source_dirs=accessible/
|components=Core::Disability Access APIs
|url=http://www.mozilla.org/access/
}}

Which comes out like this:

Name: accessibility (#)
Description: Support for platform accessibility APIs.
Owner: Alexander Surkov
Peer(s): Marco Zehe, Ginn Chen, David Bolter
Source Dir(s): accessible/
Bugzilla Component(s): Core::Disability Access APIs
URL: http://www.mozilla.org/access/
Discussion Group: dev-accessibility

Contact Gerv if you have questions. Ignore the below.


Name: {{{name}}} ([[#{{{name}}} |#]])
Description: {{{description}}}
Owner: none