Difference between revisions of "Template:Component"

(Tweak component layout -- try to make it less wide in general.)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" cellspacing="5" style="width: 31em; font-size: 90%; text-align: left; float: right; border: 1px solid #a0a0a0;"
+
<includeonly>{| class="infobox" cellspacing="5" style="max-width: 30em; font-size: 80%; text-align: left; float: right; border: 1px solid #a0a0a0;"
 
! colspan="2" style="text-align: center; font-size: 130%;" | <div style="float: left">{{{logo|}}}</div>{{{name|{{PAGENAME}}}}}<div style="clear: left;"></div>
 
! colspan="2" style="text-align: center; font-size: 130%;" | <div style="float: left">{{{logo|}}}</div>{{{name|{{PAGENAME}}}}}<div style="clear: left;"></div>
 
|-
 
|-
{{#if:{{{updateSite|}}}|
+
{{#if:{{{project|}}}|
! [[Update site]]
+
! Project
{{!}} {{{updateSite|}}}
+
{{!}} {{{project|}}}
 
{{!}}-
 
{{!}}-
 
}}  
 
}}  
Line 42: Line 42:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
! colspan=2 style="background: gray; font-variant: small-caps" | [[Team]]
+
! colspan=2 style="background: lightgray; font-variant: small-caps; text-align: center" | [[Team]]
 
|-
 
|-
! [[Founders]]
+
! [[Team|Founders]]
 
| {{{founders|-}}}
 
| {{{founders|-}}}
 
|-
 
|-
! [[Leads]]
+
! [[Team|Leads]]
 
| {{{leads|-}}}
 
| {{{leads|-}}}
 
|-
 
|-
! [[Developers]]
+
! [[Team|Developers]]
 
| {{{developers|-}}}
 
| {{{developers|-}}}
 
|-
 
|-
! [[Debuggers]]
+
! [[Team|Debuggers]]
 
| {{{debuggers|-}}}
 
| {{{debuggers|-}}}
 
|-
 
|-
! [[Reviewers]]
+
! [[Team|Reviewers]]
 
| {{{reviewers|-}}}
 
| {{{reviewers|-}}}
 
|-
 
|-
! [[Support]]
+
! [[Team|Support]]
 
| {{{support|-}}}
 
| {{{support|-}}}
 
|-
 
|-
! [[Maintainers]]
+
! [[Team|Maintainers]]
 
| {{{maintainers|-}}}
 
| {{{maintainers|-}}}
 
|-
 
|-
 +
{{#if:{{{otherDevs|}}}|
 +
! [[Team|Other developers]]
 +
{{!}} {{{otherDevs}}}
 +
{{!}}-
 +
}}
 
{{#if:{{{contributors|}}}|
 
{{#if:{{{contributors|}}}|
! [[Contributors]]
+
! [[Team|Contributors]]
 
{{!}} {{{contributors}}}
 
{{!}} {{{contributors}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if:{{{otherDevs|}}}|
+
|}{{#if:{{{project|}}}|{{Project|{{{project}}}}}|}}</includeonly>
! [[Other developers]]
+
<noinclude>This template is a sidebar for displaying key statistics about a software [[component]].
{{!}} {{{otherDevs}}}
 
{{!}}-
 
}}
 
|}</includeonly>
 
 
 
<noinclude>This template is a sidebar for displaying key statistics about a plugin.
 
 
 
 
==Usage==
 
==Usage==
 
 
<pre>
 
<pre>
 
{{Component
 
{{Component
| updateSite =  
+
| project =  
 
| name =  
 
| name =  
 
| url =  
 
| url =  
Line 106: Line 103:
 
==Example==
 
==Example==
 
{{Component
 
{{Component
| updateSite = ImageJ
+
| project = ImageJ
 
| name = ImageJ 1.x
 
| name = ImageJ 1.x
 
| url = http://imagej.net/index.html
 
| url = http://imagej.net/index.html
Line 124: Line 121:
 
| contributors = [http://loci.wisc.edu/people/barry-dezonia Barry DeZonia]
 
| contributors = [http://loci.wisc.edu/people/barry-dezonia Barry DeZonia]
 
| otherDevs = Wayne Rasband (architect)
 
| otherDevs = Wayne Rasband (architect)
}}
+
}}<pre style="overflow:auto">
<pre style="overflow:auto">
+
{{Component
{{SoftwareBox
+
| project = ImageJ
| updateSite = ImageJ
 
 
| name = ImageJ 1.x
 
| name = ImageJ 1.x
 
| url = http://imagej.net/index.html
 
| url = http://imagej.net/index.html

Latest revision as of 15:07, 2 June 2017

This template is a sidebar for displaying key statistics about a software component.

Usage

{{Component
| project = 
| name = 
| url = 
| source = 
| license = 
| release = 
| date = 
| devStatus = 
| supportStatus = 
| founders = 
| leads = 
| developers = 
| debuggers = 
| reviewers = 
| support = 
| maintainers = 
| contributors = 
| otherDevs = 
}}

Example

ImageJ 1.x
Project ImageJ
URL http://imagej.net/index.html
Source on GitHub
License Public Domain
Release 1.50d
Date Tue Oct 27 14:25:43 CDT 2015
Development status Active
Support status Active
Team
Founders Wayne Rasband
Leads Wayne Rasband
Developers Wayne Rasband
Debuggers Wayne Rasband
Reviewers Wayne Rasband
Support Wayne Rasband
Maintainers Wayne Rasband
Other developers Wayne Rasband (architect)
Contributors Barry DeZonia
{{Component
| project = ImageJ
| name = ImageJ 1.x
| url = http://imagej.net/index.html
| source = {{GitHub | org=imagej | repo=ImageJA | tag=v1.50d}}
| license = [[Public Domain]]
| release = {{Maven | g=net.imagej | a=ij | v=1.50d | label=1.50d}}
| date = Tue Oct 27 14:25:43 CDT 2015
| devStatus = {{DevStatus | developer=yes | incubating=no | obsolete=no}}
| supportStatus = {{SupportStatus | debugger=yes | reviewer=yes | support=yes}}
| founders = {{Person|Rasband}}
| leads = {{Person|Rasband}}
| developers = {{Person|Rasband}}
| debuggers = {{Person|Rasband}}
| reviewers = {{Person|Rasband}}
| support = {{Person|Rasband}}
| maintainers = {{Person|Rasband}}
| contributors = [http://loci.wisc.edu/people/barry-dezonia Barry DeZonia]
| otherDevs = Wayne Rasband (architect)
}}