Revision as of 17:12, 4 September 2006 view sourceMarknew (talk | contribs)2,640 editsm revert vandalism← Previous edit | Revision as of 17:15, 4 September 2006 view source Wylson89 (talk | contribs)2 editsNo edit summaryNext edit → | ||
Line 1: | Line 1: | ||
<includeonly>{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:200px;" border="1" cellpadding="0" | <includeonly>]{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:200px;" border="1" cellpadding="0" | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
! style="background: {{{color}}}; position:relative; display:block;" |<span style="position:absolute; right:0.2em; top:0.1em; font-size:70%;">]</span>'''{{{name}}}'''{{#if:{{{status|}}}|<br><span style="text-align:center">{{#switch:{{{status}}} | ! style="background: {{{color}}}; position:relative; display:block;" |<span style="position:absolute; right:0.2em; top:0.1em; font-size:70%;">]</span>'''{{{name}}}'''{{#if:{{{status|}}}|<br><span style="text-align:center">{{#switch:{{{status}}} | ||
|SE|se|SECURE|Secure|secure=<small>'''] Secure'''</small> | |SE|se|SECURE|Secure|secure=<small>'''] Secure'''</small> | ||
|DOM|dom|DOMESTICATED|Domesticated|domesticated=<small>'''] Domesticated'''</small>{{{category|]}}} | |DOM|dom|DOMESTICATED|Domesticated|domesticated=<small>'''] Domesticated'''</small>{{{category|]}}} | ||
|DD|dd=<small>'''] Data deficient'''</small> | |DD|dd=<small>'''] Data deficient'''cunt</small> | ||
|LR|lr=<small>'''] Lower risk'''</small> {{{category|]}}} | |LR|lr=<small>'''] Lower cunt risk'''</small> {{{category|]}}} | ||
|LC|lc=<small>'''] Least concern'''</small> | |LC|lc=<small>'''] Least cunt concern'''</small> | ||
|LR/lc|lr/lc|LR/LC=<small>'''] Least concern (LR/lc)'''</small> | |LR/lc|lr/lc|LR/LC=<small>'''] Least cunt concern (LR/lc)'''</small> | ||
|NT|nt=<small>'''] Near threatened'''</small> | |NT|nt=<small>'''] Near threatened'''</small> | ||
|LR/nt|lr/nt=<small>'''] Near threatened (LR/nt)'''</small> | |LR/nt|lr/nt=<small>'''] Near threatened (LR/nt)'''</small> | ||
Line 54: | Line 54: | ||
|-valign=top | |-valign=top | ||
{{#if:{{{regnum|}}}| | {{#if:{{{regnum|}}}| | ||
{{!}} |
{{!}} cunt: | ||
{{!}} {{{regnum}}}<br><small>{{{regnum_authority|}}}</small>}} | {{!}} {{{regnum}}}<br><small>{{{regnum_authority|}}}</small>}} | ||
|-valign=top | |-valign=top | ||
Line 70: | Line 70: | ||
|-valign=top | |-valign=top | ||
{{#if:{{{superphylum|}}}| | {{#if:{{{superphylum|}}}| | ||
{{!}} |
{{!}} Supercunt: | ||
{{!}} {{{superphylum}}}<br><small>{{{superphylum_authority|}}}</small>}} | {{!}} {{{superphylum}}}<br><small>{{{superphylum_authority|}}}</small>}} | ||
|-valign=top | |-valign=top |
Revision as of 17:15, 4 September 2006
About this template
This template sets up a taxobox. Although the implementation is complicated, it is relatively simple to use. See taxobox usage for an explanation. For an example in practice, look at the edit page of Orca - . Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out.
Making changes
Before making any non-minor changes to this template, please make a copy of the whole template to your userspace and do tests there. This will avoid unnecessary load on the servers and prevent a large number of pages being screwed up. To edit and test the taxobox template in your userspace:
- Copy the text in the large edit box of Template:Taxobox to ]. Copy the whole text so that you don't leave anything out.
- Test the template with various taxonomies by copying the text of a plant/animal species or group to ].
- Replace the {{Taxobox|...}} template used by ] with {{User:YOUR USERNAME|...}}
- If unsure, please check a few different animals and plants and groups
- Check the Template:Taxobox history, in case changes have been made while you've been editing
- Copy the whole text of ] back to {{Template:Taxobox}}
- Check that plant and animal pages still work.
- Request your userspace taxobox and taxoboxtest pages are deleted using {{db-userreq}}
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |