Difference between revisions of "Template:Module"

From Creative Commons
Jump to: navigation, search
Line 53: Line 53:
 
|-
 
|-
 
| {{#if:{{{contentowner|}}}|Technical }}Owner || {{{owner}}}
 
| {{#if:{{{contentowner|}}}|Technical }}Owner || {{{owner}}}
{{#if:{{{contentowner|}}}
+
|- {{#if: {{{contentowner|}}} | | style="display: none;" }}
|
 
|-
 
 
| Content Owner || {{{contentowner}}}
 
| Content Owner || {{{contentowner}}}
}}
+
|- {{#if: {{{peers|}}} | | style="display: none;" }}
{{#if:{{{peers|}}}
 
|
 
|-
 
 
| Peers || {{{peers}}}
 
| Peers || {{{peers}}}
}}
+
|- {{#if: {{{list|}}} | | style="display: none;" }}
{{#if:{{{list|}}}
 
|
 
|-
 
 
| Mailing List || {{{list}}}
 
| Mailing List || {{{list}}}
}}
+
|- {{#if: {{{url|}}} | | style="display: none;" }}
{{#if:{{{url|}}}
 
|
 
|-
 
 
| URL || {{{url}}}
 
| URL || {{{url}}}
}}
 
 
|}
 
|}

Revision as of 00:32, 2 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/

Ignore everything below.


Name {{{name}}} ([[#{{{name}}} |#]])
Description {{{description}}}
Technical }}Owner {{{owner}}}
Content Owner {{{contentowner}}}
Peers {{{peers}}}
Mailing List {{{list}}}
URL {{{url}}}