Difference between revisions of "Template:Module"

From Creative Commons
Jump to: navigation, search
Line 61: 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; border-right: 2px solid lightgray; padding-right: 0.5em;">Content Owner:</th>
 
  <td>{{{contentowner}}}</td>
 
</tr>
 
}}
 
  
 
{{#if:{{{peers|}}}
 
{{#if:{{{peers|}}}
Line 75: Line 67:
 
   <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Peer(s):</th>
 
   <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Peer(s):</th>
 
   <td>{{{peers}}}</td>
 
   <td>{{{peers}}}</td>
</tr>
 
}}
 
 
{{#if:{{{advisors|}}}
 
|
 
<tr>
 
  <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Advisor(s):</th>
 
  <td>{{{advisors}}}</td>
 
</tr>
 
}}
 
 
{{#if:{{{content|}}}
 
|
 
<tr>
 
  <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Content Owner(s):</th>
 
  <td>{{{content}}}</td>
 
</tr>
 
}}
 
 
{{#if:{{{source_dirs|}}}
 
|
 
<tr>
 
  <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Source Dir(s):</th>
 
  <td>{{{source_dirs|}}}</td>
 
</tr>
 
}}
 
 
{{#if:{{{components|}}}
 
|
 
<tr>
 
  <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Bugzilla Component(s):</th>
 
  <td>{{{components|}}}</td>
 
 
</tr>
 
</tr>
 
}}
 
}}
Line 115: Line 75:
 
   <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">URL:</th>
 
   <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">URL:</th>
 
   <td>{{{url|}}}</td>
 
   <td>{{{url|}}}</td>
</tr>
 
}}
 
 
{{#if:{{{group|}}}
 
|
 
<tr>
 
  <th style="text-align: right; vertical-align: top; width: 150px; border-right: 2px solid lightgray; padding-right: 0.5em;">Discussion&nbsp;Group:</th>
 
  <td>[http://www.mozilla.org/community/forums/#{{{group}}} {{{group}}}]</td>
 
 
</tr>
 
</tr>
 
}}
 
}}

Revision as of 22:51, 1 September 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.
Technical }}Owner Alexander Surkov
Content Owner {{{contentowner}}}
Peers Marco Zehe, Ginn Chen, David Bolter
Mailing List {{{list}}}
Mailing List {{{glist}}}
URL http://www.mozilla.org/access/

Contact Gerv if you have questions. Ignore the below.


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

Name: {{{name}}} ([[#{{{name}}} |#]])
Description: {{{description}}}
{{#if:|Technical }}Owner: none
Peer(s): {{{peers}}}
URL:
Discussion Forum(s):