Templat:Taxobox colour: Perbedaan antara revisi
Tidak ada ringkasan suntingan |
k Melindungi "Templat:Taxobox colour": 7. Templat atau modul yang banyak digunakan ([Sunting=Hanya untuk pengurus] (selamanya) [Pindahkan=Hanya untuk pengurus] (selamanya)) |
||
(22 revisi perantara oleh 11 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
<includeonly>{{#switch:{{lc:{{{1}}}}} |
<includeonly>{{#switch:{{Delink|{{lc:{{{1|}}} }} }} |
||
|eukaryota|eukarya|excavata|excavates|protista|protists|amoebozoa|opisthokonta|choanozoa = rgb(245,215,255) |
|||
|[[hewan]]|[[Animal]]ia|[[animalia]] = D3D3A4 |
|||
|animalia|animal|hewan = rgb(235,235,210) |
|||
|[[archaeplastida]]|[[plant]]ae|[[plantae]] = 90EE90 <!--lightgreen--> |
|||
|archaeplastida|plantae|plant|tumbuhan|viridiplantae = rgb(180,250,180) |
|||
|[[jamur]]|[[fungi]] = ADD8E6 <!--lightblue--> |
|||
|fungi = rgb(145,250,250) |
|||
|[[chromalveolata]] = ADFF2F <!--greenyellow--> |
|||
|sar|chromalveolata = rgb(200,250,80) |
|||
|[[rhizaria]] = E6E6FA <!--lavender--> |
|||
|bacteria|firmicutes|eubacteria = rgb(220,235,245) |
|||
|[[excavata]]|[[excavates]]|[[excavate|excavata]]|[[excavates|excavata]] = F0E68C <!-- Khaki--> |
|||
|archaea|nanoarchaeota|nanarchaeota|euryarchaeota|crenarchaeota|thaumarchaeota|korarchaeota = rgb(195,245,250) |
|||
|[[amoeba]]|[[amoebozoa]] = FFC8A0 |
|||
⚫ | |||
|[[bakteri]]|[[bacteria]] = D3D3D3 |
|||
⚫ | |||
|[[archaea]] = F3E0E0 |
|||
|=transparent |
|||
⚫ | |||
|#default = {{Taxobox/Error colour}}<!-- |
|||
⚫ | |||
-->}}</includeonly><noinclude> |
|||
|#default = FF69B4 |
|||
}}</ |
{{template doc}}</noinclude> |
||
mengecek parameter "regnum"/"virus_group"/"unranked_phylum"/"phylum" dan mengembalikan warna tertentu. |
|||
{| class="wikitable" |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Animalia]]}}" | [[Hewan]] / [[Animalia]] || #{{Taxobox colour|[[Animalia]]}} |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Archaeplastida]]}}" | [[Plantae]] / [[Archaeplastida]] || #{{Taxobox colour|[[Archaeplastida]]}} (lightgreen) |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Fungi]]}}" | [[Jamur]] / [[Fungi]] || #{{Taxobox colour|[[Fungi]]}} (lightblue) |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Chromalveolata]]}}" | [[Chromalveolata]] || #{{Taxobox colour|[[Chromalveolata]]}} (greenyellow) |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Rhizaria]]}}" | [[Rhizaria]] || #{{Taxobox colour|[[Rhizaria]]}} (lavender) |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Excavata]]}}" | [[Excavata]] || #{{Taxobox colour|[[Excavata]]}} (khaki) |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Amoebozoa]]}}" | [[Amoeba]] / [[Amoebozoa]] || #{{Taxobox colour|[[Amoebozoa]]}} |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Bacteria]]}}" | [[Bakteri]] / [[Bacteria]] || #{{Taxobox colour|[[Bacteria]]}} |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Archaea]]}}" | [[Archaea]] || #{{Taxobox colour|[[Archaea]]}} |
|||
|- |
|||
! style="background:#{{Taxobox colour|[[Virus]]}}" | [[Virus]] || #{{Taxobox colour|[[Virus]]}} |
|||
|- |
|||
! style="background:#{{Taxobox colour|''[[incertae sedis]]''}}" | ''[[incertae sedis]]'' || #{{Taxobox colour|''[[incertae sedis]]''}} |
|||
|- |
|||
|} |
|||
[[Istimewa:Pranala_balik/Templat:Taxobox_colour|Contoh penggunaan]] |
|||
[[Kategori:Templat taksonomi]]</noinclude> |
Revisi terkini sejak 3 Juli 2019 19.16
Templat ini digunakan pada 534.000+ halaman, atau sekira 14% dari keseluruhan halaman halaman. Untuk mencegah suntingan mengganggu skala besar dan beban peladen, setiap perubahan perlu diuji di subhalaman /bak pasir atau /kasus uji templat, atau subhalaman pengguna Anda. Perubahan yang diuji dapat ditambahkan ke halaman ini dalam satu suntingan. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya. |
Note to template editors: Edits to the taxonomic terms (taxa) in this template depend for their effect in manual taxoboxes on the colour-determining taxon being at a rank allowed to change the taxobox colour by {{Taxobox}}, so this may need altering. Colours must be defined using the rgb(..,..,..) format to enable {{Sets taxobox colour}} to work correctly.
Fungsi
This template generates the appropriate colour for a taxobox.
It should only be used by other taxobox templates.
Use by taxonomy templates
Manual taxoboxes call this template from {{Taxobox}}, which looks at the values of ranks given in the taxobox from phylum upwards and uses the taxobox colour for the first colour-setting taxon found (or the error colour if none is found). {{Sets taxobox colour}} is used to decide whether a taxon is colour-setting, which it does by using this template.
Automated taxoboxes use a function in Module:Autotaxobox, which finds a colour-setting taxon by searching up the taxonomic hierarchy coded in taxonomy templates (i.e. templates with names of the form "Taxonomy/taxon-name").
Setting colour within a taxobox
Both manual and automatic taxoboxes usually generate their colours automatically. If this fails, or if for some reason the automatically generated colour should be over-ridden, |color_as=
can be used to set the colour based on a supplied taxon. Thus:
| color_as = Animalia
within a taxobox forces its colour to be the one appropriate for animal taxoboxes. The taxon given as the value of |color_as=
must be in the switch statement in this template. Thus |color_as=Felis
fails and assigns the error colour.
Skema warna taxobox
Virus | rgb(250,250,190) | juga Viroid |
---|---|---|
Bacteria | rgb(220,235,245) | |
Archaea | rgb(195,245,250) | juga Nanoarchaeota (Nanarchaeota), Korarchaeota, Thaumarchaeota, Crenarchaeota dan Euryarchaeota |
Eukaryota | rgb(245,215,255) | Untuk eukariota dengan warna yang tidak didefinisikan, termasuk Excavata, Amoebozoa dan Opisthokonta |
Animalia | rgb(235,235,210) | |
Fungi | rgb(145,250,250) | |
Archaeplastida | rgb(180,250,180) | juga Plantae dan Viridiplantae |
SAR | rgb(200,250,80) | juga Chromalveolata |
incertae sedis | rgb(250,240,230) | |
Warna yang tidak dihasilkan oleh templat ini: | ||
Ichnotaxa | rgb(215,240,210) | |
Ootaxa | rgb(250,250,220) |