Template:TaxoBox

From The Ultimate Programming Reference

(Difference between revisions)
m (Experimenting...)
m (Fixed Broken Link)
 
(11 intermediate revisions not shown)
Line 3: Line 3:
! style="background: {{{color}}};" |'''{{{name}}}'''
! style="background: {{{color}}};" |'''{{{name}}}'''
|- style="text-align:center;"  
|- style="text-align:center;"  
-
| {{#if:{{{image}}}|[[image:{{{image}}}|{{{image_width|200px}}}]]<br>}}
+
| [[image:{{{image}}}|{{{image_width|200px}}}]]<br>
|- style="text-align:center;"
|- style="text-align:center;"
! style="background: {{{color}}};" | '''[[Taxonomic System for Computer Languages|Taxonomic Classification]]'''
! style="background: {{{color}}};" | '''[[Taxonomic System for Computer Languages|Taxonomic Classification]]'''
Line 9: Line 9:
|
|
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
-
{{#if:{{{regnum|}}}|<tr><td valign=top>Kingdom:</td><td>{{{regnum|}}}<br><small>{{{regnum_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{phylum|}}}|<tr><td valign=top>Phylum:</td><td>{{{phylum|}}}<br><small>{{{phylum_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{class|}}}|<tr><td valign=top>Class:</td><td>{{{class|}}}<br><small>{{{class_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{order|}}}|<tr><td valign=top>Order:</td><td>{{{order|}}}<br><small>{{{order_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{family|}}}|<tr><td valign=top>Family:</td><td>{{{family|}}}<br><small>{{{familia_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{genus|}}}|<tr><td valign=top>Genus:</td><td>{{{genus|}}}<br><small>{{{genus_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{series|}}}|<tr><td valign=top>Series:</td><td>{{{series|}}}<br><small>{{{series_authority|}}}</small></td></tr-->{{#if:{{{species|}}}|<tr><td valign=top>Species:</td><td>{{{species|}}}<br><small>{{{species_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{subspecies|}}}|<tr><td valign=top>Subspecies:</td><td>{{{subspecies|}}}<br><small>{{{subspecies_authority|}}}</small></td></tr>}}<!--
 
-
-->{{#if:{{{codenum|}}}|<tr><td valign=top>ID Code:</td><td>{{{codenum|}}}<br><small>{{{codenum_authority|}}}</small></td></tr>}}
 
-
|}<!--
 
|-
|-
-
| style="text-align:center;" | <!-- -->{{section|if=|test={{{subdivision|}}}|color={{{color}}}|contents={{{subdivision_ranks}}}}}
+
|'''Kingdom:'''||{{{regnum}}}
 +
|-
 +
|'''Phylum:'''||{{{phylum}}}
 +
|-
 +
|'''Class:'''||{{{class}}}
 +
|-
 +
|'''Order:'''||{{{order}}}
 +
|-
 +
|'''Family:'''||{{{family}}}
 +
|-
 +
|'''Genus:'''||{{{genus}}}
 +
|-
 +
|'''ID Code:'''||{{{codenum}}}
 +
|}
 +
|- style="text-align:center;"
 +
! style="background: {{{color}}};" |'''Other Data:'''
|-
|-
| style="padding: 0 .5em;" |  
| style="padding: 0 .5em;" |  
{| cellspacing="0" cellpadding="0"
{| cellspacing="0" cellpadding="0"
-
{{{subdivision|}}}
+
|-
 +
|'''Developer:'''||{{{developer}}}
 +
|-
 +
|'''OS:'''||{{{os}}}
 +
|-
 +
|'''Genre:'''||{{{genre}}}
 +
|-
 +
|'''License:'''||{{{license}}}
|}
|}
 +
{{{website}}}
 +
|- style="text-align:center;"
 +
! style="background: {{{color}}};" |'''Related Languages:'''
 +
|- style="text-align:center;"
 +
|{{{relate}}}
|}</includeonly><noinclude>===About This Template===
|}</includeonly><noinclude>===About This Template===
This template sets up a taxobox.  Although the implementation is complicated, it is relatively simple to use.  
This template sets up a taxobox.  Although the implementation is complicated, it is relatively simple to use.  
-
See this template's [[Template_Talk:TaxoBox|talk page]] on how to use it.  
+
See an example at the article: [[:Category:AutoIt]].
-
Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out.
+
All parameters must be given. If not relevant, state n/a.
Line 46: Line 63:
| family =  
| family =  
| genus =  
| genus =  
-
| series =
 
-
| species =
 
-
| subspecies =
 
| codenum =  
| codenum =  
-
| subdivision_ranks =  
+
| developer =  
-
| subdivision =  
+
| os =
 +
| genre =
 +
| license =
 +
| website =
 +
| relate =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Current revision as of 12:10, 8 May 2006

About This Template

This template sets up a taxobox. Although the implementation is complicated, it is relatively simple to use.

See an example at the article: Category:AutoIt.

All parameters must be given. If not relevant, state n/a.


A general TaxoBox:

{{TaxoBox
| color = 
| name = 
| image = 
| regnum = 
| phylum = 
| class = 
| order = 
| family = 
| genus = 
| codenum = 
| developer = 
| os = 
| genre = 
| license = 
| website = 
| relate = 
}}
Personal tools