Template:TaxoBox

From The Ultimate Programming Reference

(Difference between revisions)
m (Fixed Broken Link)
 
(16 intermediate revisions not shown)
Line 2: Line 2:
|- style="text-align:center;"
|- style="text-align:center;"
! style="background: {{{color}}};" |'''{{{name}}}'''
! style="background: {{{color}}};" |'''{{{name}}}'''
-
{{#if:{{{status|}}}|<br><div style="text-align:center"><!-- -->
 
|- style="text-align:center;"  
|- style="text-align:center;"  
-
| {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{image_caption|}}}</div></small>}} <!-- -->
+
| [[image:{{{image}}}|{{{image_width|200px}}}]]<br>
-
{{#if:{{{image2|}}}|[[image:{{{image2}}}|{{{image2_width|200px}}}|{{{image2_caption|}}}]]<br><small><div style="text-align:center">{{{image2_caption|}}}</div></small>}}
+
|- 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 11: 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:{{{familia|}}}|<tr><td valign=top>Family:</td><td>{{{familia|}}}<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}}}
-
-->{{#if:{{{synonyms|}}}|<tr style="text-align:center; background:{{{color}}};"><th>[[Synonymy|Synonyms]]</th></tr><tr><td style="text-align:center;">{{{synonyms}}}</td></tr>}}
+
|-
 +
|'''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. See this template's [[Talk:Template:TaxoBox|talk page]] on how to use it. Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out.
+
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:
 +
<pre>
 +
{{TaxoBox
 +
| color =
 +
| name =
 +
| image =
 +
| regnum =
 +
| phylum =
 +
| class =
 +
| order =
 +
| family =
 +
| genus =
 +
| codenum =
 +
| developer =
 +
| os =
 +
| genre =
 +
| license =
 +
| website =
 +
| relate =
 +
}}
 +
</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