Difference between revisions of "Template:Component"

(Fix syntax)
(Fix syntax some more)
Line 1: Line 1:
<includeonly>{{#if:{{{project|}}}|{{Project|{{{project}}}}}|}}{| class="infobox" cellspacing="5" style="width: 31em; font-size: 90%; text-align: left; float: right; border: 1px solid #a0a0a0;"
+
<includeonly>{{#if:{{{project|}}}|{{Project{{!}}{{{project}}}}}|}}{| class="infobox" cellspacing="5" style="width: 31em; font-size: 90%; 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>
 
|-
 
|-

Revision as of 09:23, 16 December 2016

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)
}}