Difference between revisions of "Template:Module"

From Creative Commons
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
  |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
  |advisors=<nowiki>[mailto:markup@isaccepted.com Smart Girl]</nowiki>, Smart Guy
+
  |contentpeers=<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
+
  |list=<nowiki>[http://example.com/link/to/forum Our Mailing List/Forum]</nowiki>
  |group=discussion-group-name-without-leading-'mozilla.'
+
  |glist=forumname
|forum=<nowiki>[http://example.com/link/to/forum Our Discussion Forum]</nowiki> (for modules without a newsgroup)
 
|source_dirs=source/directory/from/top/of/tree, another/directory
 
  |components=BugzillaProduct::Component Name, Another Product::Another Component
 
 
  |url=<nowiki>http://www.example.com/relevant/url</nowiki>
 
  |url=<nowiki>http://www.example.com/relevant/url</nowiki>
 
  }}
 
  }}
Line 19: Line 16:
 
E.g.
 
E.g.
 
  <nowiki>{{Module</nowiki>
 
  <nowiki>{{Module</nowiki>
  |name=accessibility
+
  |name=governance
  |description=Support for platform accessibility APIs.
+
  |description=Governance module description.
  |owner=Alexander Surkov
+
  |owner=Dan Mills
  |peers=<nowiki>[mailto:marco.zehe@googlemail.com Marco Zehe]</nowiki>, Ginn Chen, David Bolter
+
  |peers=<nowiki>[mailto:some@guy.org Some Guy]</nowiki>, Other Person
|group=dev-accessibility
+
  |url=<nowiki>[[Governance]]</nowiki>
|source_dirs=accessible/
+
|glist=accessibility
|components=Core::Disability Access APIs
 
  |url=<nowiki>http://www.mozilla.org/access/</nowiki>
 
 
  }}
 
  }}
  
Line 32: Line 27:
  
 
  {{Module
 
  {{Module
  |name=accessibility
+
  |name=governance
  |description=Support for platform accessibility APIs.
+
  |description=Governance module description.
  |owner=Alexander Surkov
+
  |owner=Dan Mills
  |peers=[mailto:marco.zehe@googlemail.com Marco Zehe], Ginn Chen, David Bolter
+
  |peers=[mailto:some@guy.org Some Guy], Other Person
  |group=dev-accessibility
+
  |url=[[Governance]]
|source_dirs=accessible/
+
  |glist=governance
|components=Core::Disability Access APIs
 
  |url=http://www.mozilla.org/access/
 
 
  }}
 
  }}
  
Line 48: Line 41:
 
</noinclude>{| class="wikitable" id="{{{name}}}"
 
</noinclude>{| class="wikitable" id="{{{name}}}"
 
|-
 
|-
| Name || {{{name}}} <sup><small>([[#{{{name}}} |#]])</small></sup>
+
| Name || '''{{{name}}}''' <sup><small>([[#{{{name}}} |#]])</small></sup>
 
|-
 
|-
 
| Description || {{{description}}}
 
| Description || {{{description}}}
 
|-
 
|-
 
| {{#if:{{{contentowner|}}}|Technical&nbsp;}}Owner || {{{owner}}}
 
| {{#if:{{{contentowner|}}}|Technical&nbsp;}}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: {{{glist|}}} | | style="display: none;" }}
{{#if:{{{url|}}}
+
| Mailing List || [https://groups.google.com/a/creativecommons.org/forum/#!forum/{{{glist}}} {{{glist}}}]
|
+
|- {{#if: {{{url|}}} | | style="display: none;" }}
|-
 
 
| URL || {{{url}}}
 
| URL || {{{url}}}
}}
 
 
|}
 
|}

Latest revision as of 18:50, 3 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
|contentpeers=[mailto:markup@isaccepted.com Other Smart Girl], Other Smart Guy
|list=[http://example.com/link/to/forum Our Mailing List/Forum]
|glist=forumname
|url=http://www.example.com/relevant/url
}}

E.g.

{{Module
|name=governance
|description=Governance module description.
|owner=Dan Mills
|peers=[mailto:some@guy.org Some Guy], Other Person
|url=[[Governance]]
|glist=accessibility
}}

Which comes out like this:


Name governance (#)
Description Governance module description.
Technical }}Owner Dan Mills
Content Owner {{{contentowner}}}
Peers Some Guy, Other Person
Mailing List {{{list}}}
Mailing List governance
URL Governance

Ignore everything below.


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