Misplaced Pages

Template:Taxobox: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
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>''']&nbsp;Secure'''</small> |SE|se|SECURE|Secure|secure=<small>''']&nbsp;Secure'''</small>
|DOM|dom|DOMESTICATED|Domesticated|domesticated=<small>''']&nbsp;Domesticated'''</small>{{{category|]}}} |DOM|dom|DOMESTICATED|Domesticated|domesticated=<small>''']&nbsp;Domesticated'''</small>{{{category|]}}}
|DD|dd=<small>'''] Data&nbsp;deficient'''</small> |DD|dd=<small>'''] Data&nbsp;deficient'''cunt</small>
|LR|lr=<small>'''] Lower&nbsp;risk'''</small> {{{category|]}}} |LR|lr=<small>'''] Lower cunt&nbsp;risk'''</small> {{{category|]}}}
|LC|lc=<small>'''] Least&nbsp;concern'''</small> |LC|lc=<small>'''] Least cunt&nbsp;concern'''</small>
|LR/lc|lr/lc|LR/LC=<small>'''] Least&nbsp;concern&nbsp;(LR/lc)'''</small> |LR/lc|lr/lc|LR/LC=<small>'''] Least cunt&nbsp;concern&nbsp;(LR/lc)'''</small>
|NT|nt=<small>'''] Near&nbsp;threatened'''</small> |NT|nt=<small>'''] Near&nbsp;threatened'''</small>
|LR/nt|lr/nt=<small>'''] Near&nbsp;threatened&nbsp;(LR/nt)'''</small> |LR/nt|lr/nt=<small>'''] Near&nbsp;threatened&nbsp;(LR/nt)'''</small>
Line 54: Line 54:
|-valign=top |-valign=top
{{#if:{{{regnum|}}}| {{#if:{{{regnum|}}}|
{{!}} Kingdom: {{!}} 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|}}}|
{{!}} 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:

  1. Copy the text in the large edit box of Template:Taxobox to ]. Copy the whole text so that you don't leave anything out.
  2. Test the template with various taxonomies by copying the text of a plant/animal species or group to ].
  3. Replace the {{Taxobox|...}} template used by ] with {{User:YOUR USERNAME|...}}
  4. If unsure, please check a few different animals and plants and groups
  5. Check the Template:Taxobox history, in case changes have been made while you've been editing
  6. Copy the whole text of ] back to {{Template:Taxobox}}
  7. Check that plant and animal pages still work.
  8. 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.
Categories: