Template:Module: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(Add emeritus stuff)
Line 1: Line 1:
<noinclude>
<noinclude>
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. You use it in wiki markup as follows.
 
* Please try and include a mailto link or other contact details for all module owners and peers.
* You will probably not need all the lines.


  <nowiki>{{Module</nowiki>
  <nowiki>{{Module</nowiki>
Line 8: Line 11:
  |contentowner=Some Other Name (used for some websites where content owner is different from technical owner)
  |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
|emeritusowners=<nowiki>[mailto:markup@isaccepted.com Ex Owner]</nowiki>, Past Person
|emerituspeers=<nowiki>[mailto:markup@isaccepted.com Eric Meritus]</nowiki>, Peter Eer
  |advisors=<nowiki>[mailto:markup@isaccepted.com Smart Girl]</nowiki>, Smart Guy
  |advisors=<nowiki>[mailto:markup@isaccepted.com Smart Girl]</nowiki>, Smart Guy
  |content=<nowiki>[mailto:markup@isaccepted.com Other Smart Girl]</nowiki>, Other Smart Guy
  |content=<nowiki>[mailto:markup@isaccepted.com Other Smart Girl]</nowiki>, Other Smart Guy
Line 24: Line 29:
  |owner=Alexander Surkov
  |owner=Alexander Surkov
  |peers=<nowiki>[mailto:marco.zehe@googlemail.com Marco Zehe]</nowiki>, Ginn Chen, David Bolter
  |peers=<nowiki>[mailto:marco.zehe@googlemail.com Marco Zehe]</nowiki>, Ginn Chen, David Bolter
|emeritusowners=Aaron Leventhal
  |group=dev-accessibility
  |group=dev-accessibility
  |source_dirs=accessible/
  |source_dirs=accessible/
Line 37: Line 43:
  |owner=Alexander Surkov  
  |owner=Alexander Surkov  
  |peers=[mailto:marco.zehe@googlemail.com Marco Zehe], Ginn Chen, David Bolter
  |peers=[mailto:marco.zehe@googlemail.com Marco Zehe], Ginn Chen, David Bolter
|emeritusowners=Aaron Leventhal
  |group=dev-accessibility
  |group=dev-accessibility
  |source_dirs=accessible/
  |source_dirs=accessible/
Line 76: Line 83:
   <th style="text-align: right; vertical-align: top; width: 150px">Peer(s):</th>
   <th style="text-align: right; vertical-align: top; width: 150px">Peer(s):</th>
   <td>{{{peers}}}</td>
   <td>{{{peers}}}</td>
</tr>
}}
{{#if:{{{emeritusowners|}}}
|
<tr>
  <th style="text-align: right; vertical-align: top; width: 150px"><abbr title="Past owners of this module">Emeritus Owner(s)</abbr>:</th>
  <td>{{{emeritusowners}}}</td>
</tr>
}}
{{#if:{{{emerituspeers|}}}
|
<tr>
  <th style="text-align: right; vertical-align: top; width: 150px"><abbr title="Past peers of this module">Emeritus Peer(s)</abbr>:</th>
  <td>{{{emerituspeers}}}</td>
</tr>
</tr>
}}
}}

Revision as of 11:08, 23 December 2015

This is a template for displaying the details of a Module. You use it in wiki markup as follows.

  • Please try and include a mailto link or other contact details for all module owners and peers.
  • You will probably not need all the lines.
{{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
|emeritusowners=[mailto:markup@isaccepted.com Ex Owner], Past Person 
|emerituspeers=[mailto:markup@isaccepted.com Eric Meritus], Peter Eer
|advisors=[mailto:markup@isaccepted.com Smart Girl], Smart Guy
|content=[mailto:markup@isaccepted.com Other Smart Girl], Other Smart Guy
|design=[mailto:markup@isaccepted.com UX Master], Design Master
|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
|emeritusowners=Aaron Leventhal
|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
Emeritus Owner(s): Aaron Leventhal
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