Templat:Speciesbox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
Tidak ada ringkasan suntingan
Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan
 
(77 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 1:
<noinclude>{{collapsible list
<noinclude>{{notice|Untuk templat taksonomi otomatis berbasis Wikidata, lihat {{[[Templat:Infobox spesies|infobox spesies]]}}.}}{{notice|Templat ini seharusnya digunakan pada tingkat spesies saja. Untuk tingkat di atas spesies, diharuskan menggunakan {{[[Templat:Kotak info taksonomi otomatis|kotak info taksonomi otomatis]]}}.}}<!--
|title=Informasi pokok
-====================================================================
|{{high-use}}
- Template:Speciesbox - Generate a taxobox infobox for species
|{{notice|Untuk templat taksonomi otomatis berbasis Wikidata, lihat {{[[Templat:Infobox spesies|infobox spesies]]}}.}}
|{{notice|Templat ini seharusnya digunakan pada tingkat spesies saja. Untuk tingkat di atas spesies, diharuskan menggunakan {{[[Templat:Kotak info taksonomi otomatis|automatic taxobox]]}}.}}
|{{Tracks Wikidata}}
}}<!--
LOG PERUBAHAN
- 08 Sep 2024 Perubahan besar pada mekanisme parameter "wikidata" dan fungsi parser IF.
- 15 Sep 2024 Dukungan untuk mengambil butir otoritas takson dari Wikidata.
----------------------------------
CATATAN TRANSKLUSI
- 16 Sep 2024 250
- 28 Sep 2024 2500+
====================================================================
- Templat:Kotak info taksonomi spesies (Templat:Speciesbox) - Membuat infobox taksonomi untuk tingkat spesies
-====================================================================
--
Baris 27 ⟶ 40:
--
-------------------------------- Invoke {Taxobox/core}
The nowiki that follows is needed because of parser bug T18700--></noinclude>{{#if:{{{fill|}}}|<nowiki/>{{Taxobox/core<includeonly>
| edit link = {{{edit link|{{{edit_link|edit}}} }}}</includeonly><noinclude><!--
--
-- fossil_range: If the specified fossil range is a period supported
-- by templates {period_start} and {next_period}, then it incorporates
-- the specified range in template {geological range}, but checking
-- to display properly. Otherwise, just passes parameter.
--></noinclude>
| temporal_range = {{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}<noinclude><!--
PARENT: this is the taxon whose taxonomy template is used to find the taxonomic hierarchy; if
not supplied as a parameter value, it defaults to the genus name.
Template:Taxonomy/PARENT must exist. --></noinclude>
| parent = <includeonly>{{{parent|{{Speciesbox/getGenus|{{{taxon|}}}|{{{genus|}}}}}}}}</includeonly><noinclude>Acacia<!--
DISPLAY PARENTS:
Number of immediate parents to display. Defaults to 1 above species, normally the genus (which is displayed as
a major rank, anyway).
--></noinclude>
| display_taxa = {{#expr:{{{display parents|{{{display_parents|1}}} }}}-1}}<noinclude><!--
AUTHORITY (etc):
In the format "author, year".
Species-authority is redundant to binomial_authority; we'll just list it the once. (This avoids reference-duplication errors, too.
| species_authority = {{{authority|{{{binomial authority|{{{binomial_authority|}}} }}} }}}--></noinclude>
| authority = {{{authority|}}}
| parent_authority = {{{parent_authority|{{{parent authority|}}}}}}
| grandparent_authority = {{{grandparent_authority|{{{grandparent authority|}}}}}}
| greatgrandparent_authority = {{{greatgrandparent_authority|{{{greatgrandparent authority|}}}}}}
| greatgreatgrandparent_authority = {{{greatgreatgrandparent_authority|{{{greatgreatgrandparent authority|}}}}}}
| greatgreatgreatgrandparent_authority = {{{greatgreatgreatgrandparent_authority|{{{greatgreatgreatgrandparent authority|}}}}}}
| offset = 1
<noinclude><!--
NAME:
{{Speciesbox/name}} both determines the taxobox name and whether the page title should be italicized by
adding the {{italic title}} template.
--></noinclude>
| name = {{Speciesbox/name|{{{name|<noinclude>''Acacia aemula''</noinclude>}}}|{{{taxon|}}}|{{{genus|}}}|{{{species|}}}|{{PAGENAMEBASE}}|{{{italic_title|{{{italic title|yes}}}}}}}}<noinclude><!--
-- colour: (Note UK spelling here) There are two cases:
1) the parameter color_as has a value – the colour is found directly using {{Taxobox colour|color_as}}
2) otherwise – Module:Autotaxobox|taxoboxColour searches up the taxonomic hierarchy to try to find a taxon that
determines the taxobox colour
--></noinclude>
| colour = {{#if:{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}|{{Taxobox colour|{{{color_as|{{{colour_as|{{{color as|{{{colour as|}}}}}}}}}}}}}}|{{#invoke:Autotaxobox|taxoboxColour|<includeonly>{{{parent|{{Speciesbox/getGenus|{{{taxon|}}}|{{{genus|}}}}}}}}</includeonly><noinclude>Acacia</noinclude> }} }}
| status = {{if empty|{{{status|}}}|{{#if:{{#Property:P141|from={{{item|}}} }}|{{Automatic taxobox/status|
{{{wikidata status system|{{{wikidata_status_system|{{#if:{{#invoke:Wikidata | claim | property=P141 | formatting=raw|item={{{item|}}}}}|IUCN3.1}}}}} }}}|{{{wikidata_status|{{#switch:{{#invoke:Wikidata|claim|property=P141|formatting=raw|item={{{item|}}} }}
|<!--least concern -->Q211005= LC
|<!--near threatened -->Q719675= NT
|<!--vulnerable-->Q278113= VU
|<!--endangered species-->Q11394= EN
|<!--critically endangered -->|Q219127= CR
|<!--extinct in the Wild -->Q239509= EW
|<!--extinct -->Q237350= EX
|<!--data deficient -->Q3245245= DD
}}
}}}
| {{{wikidata status ref|{{{wikidata_status_ref|{{#if:{{#invoke:Wikidata | claim | property=P141 | formatting=raw|item={{{item|}}}}}}}}}}}}}|extinct={{{wikidata_extinct|}}} }} }}
}}<noinclude><!--==================================
Untuk parameter "status" di atas, apabila parameternya tidak diisi akan memanggil butir Wikidata.
DIWAJIBKAN untuk menggunakan parameter wikidata_status, wikidata_status_system, wikidata_status_ref sebagai pengganti status, status_system, status_ref apabila parameter wikidata tidak diisi/kosong.
==================================
--></noinclude>
| status_system = {{{status system|{{{status_system|}}} }}}
| status_ref = {{{status ref|{{{status_ref|}}} }}}
| status2 = {{{status2|}}}
| status2_system = {{{status2 system|{{{status2_system|}}} }}}
| status2_ref = {{{status2 ref|{{{status2_ref|}}} }}}
| trend = {{{trend|}}}
| image = {{if empty|{{{image|}}}|{{#invoke:Wikidata | claim | property=P2716 OR P18 |qualifier= P2096 OR P180
| formatting = table | list = false|editicon=false
| rowformat= [[Berkas:$0|{{{image_width|220px}}}|upright={{{image_upright|1}}}|<!--link=$1-->]]<!--<br /><SPAN STYLE="font-size:88%">$1</span>-->[[Kategori:Pemeliharaan speciesbox – Gambar]]}}<noinclude><!--
==================================
Untuk parameter "image" di atas, apabila parameternya tidak diisi akan memanggil butir Wikidata.
==================================
--></noinclude>}}
| image_width = {{{image_width|{{{image width|}}} }}}
| upright = {{{image_upright|{{{image upright|}}}}}}
| image_alt = {{{image alt|{{{image_alt|}}} }}}
| image_caption = {{{image caption|{{{image_caption|}}} }}}
| image_caption_align = {{{image caption align|{{{image_caption_align|center}}}}}}
| image2 = {{{image2|}}}
| image2_width = {{{image2 width|{{{image2_width|}}} }}}
| upright2 = {{{image2_upright|{{{image2 upright|}}}}}}
| image2_alt = {{{image2 alt|{{{image2_alt|}}}}}}
| image2_caption = {{{image2 caption|{{{image2_caption|}}}}}}
| classification_status = {{{classification status|{{{classification_status|}}} }}}
| diversity = {{{diversity|}}}
| diversity_ref = {{{diversity ref|{{{diversity_ref|}}} }}}
| diversity_link = {{{diversity link|{{{diversity_link|}}} }}}
| extinct = {{{extinct|}}}
| species = {{#if:{{{extinct|}}}|&dagger;|{{#ifeq:{{{status|}}}|EX|&dagger;|{{Taxon info|<includeonly>{{Speciesbox/getGenus|{{{taxon|}}}|{{{genus|}}}}}</includeonly><noinclude>Acacia</noinclude>|dagger}}}}}}<!--
-->'''{{taxon italics|abbreviated=yes|<includeonly>{{Speciesbox/trim|{{Speciesbox/getGenus|{{{taxon|}}}|{{{genus|}}}}}}} {{Speciesbox/getSpecies|{{{taxon|}}}|{{{species|}}}}}</includeonly><noinclude>Acacia aemula</noinclude>}}'''
| binomial = <span style="font-weight:normal;">{{#if:{{{extinct|}}}|&dagger;|{{#ifeq:{{{status|}}}|EX|&dagger;|{{Taxon info|<includeonly>{{Speciesbox/getGenus|{{{taxon|}}}|{{{genus|}}}}}</includeonly><noinclude>Acacia</noinclude>|dagger}}}}}}</span><!--
-->{{taxon italics|<includeonly>{{Speciesbox/trim|{{Speciesbox/getGenus|{{{taxon|}}}|{{{genus|}}}}}}} {{Speciesbox/getSpecies|{{{taxon|}}}|{{{species|}}}}}</includeonly><noinclude>Acacia aemula</noinclude>}}
| binomial_authority = {{if empty|{{{authority|{{{binomial authority|{{{binomial_authority|}}} }}} }}}|{{Automatic taxobox/Otoritas}}[[Kategori: Pemeliharaan speciesbox – Otoritas]]}}
| subdivision = {{{subdivision|}}}
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|Subspecies}}} }}}
| subdivision_ref = {{{subdivision_ref|{{{subdivision ref|}}} }}}
| type_strain = {{{type strain|{{{type_strain|}}} }}}
| type_strain_ref = {{{type_strain_ref|{{{type strain ref|}}} }}}
| range_map = {{if empty|{{{range map|{{{range_map|}}} }}}|{{#invoke:Wikidata |claim |property=P181 |qualifier=P2096 | formatting = table
| list = false|editicon=false| rowformat= <center>[[Berkas:$0|220x220px<!--|thumb|center|<center>Penyangkalan: Peta persebaran ini didapat dari butir Wikidata.</center>-->]]<!--<br /><SPAN STYLE="font-size:60%"> $1 Penyangkalan: Peta persebaran ini didapatkan dari butir Wikidata.</span>--></center>[[Kategori:Pemeliharaan speciesbox – Distribusi]]}}
}}<noinclude><!--
==================================
Untuk parameter "range_map" di atas, apabila parameternya tidak diisi akan memanggil butir Wikidata.
==================================
--></noinclude>
| range_map_upright = {{{range map upright|{{{range_map_upright|}}} }}}
| range_map_alt = {{{range map alt|{{{range_map_alt|}}} }}}
| range_map_caption = {{{range map caption|{{{range_map_caption|}}} }}}
| range_map2 = {{{range map2|{{{range_map2|}}} }}}
| range_map2_upright = {{{range_map2_upright|{{{range map2 upright|}}}}}}
| range_map2_alt = {{{range map2 alt|{{{range_map2_alt|}}} }}}
| range_map2_caption = {{{range map2 caption|{{{range_map2_caption|}}} }}}
| range_map3 = {{{range map3|{{{range_map3|}}} }}}
| range_map3_upright = {{{range_map3_upright|{{{range map3 upright|}}}}}}
| range_map3_alt = {{{range map3 alt|{{{range_map3_alt|}}} }}}
| range_map3_caption = {{{range map3 caption|{{{range_map3_caption|}}} }}}
| range_map4 = {{{range map4|{{{range_map4|}}} }}}
| range_map4_upright = {{{range_map4_upright|{{{range map4 upright|}}}}}}
| range_map4_alt = {{{range map4 alt|{{{range_map4_alt|}}} }}}
| range_map4_caption = {{{range map4 caption|{{{range_map4_caption|}}} }}}
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
| synonyms = {{{synonyms|}}}
}}{{Speciesbox/parameterCheck|{{{taxon|}}}|{{{genus|}}}|{{{species|}}}}}|<nowiki/>{{Taxobox/core<includeonly>
| edit link = {{{edit link|{{{edit_link|edit}}} }}}</includeonly><noinclude><!--
--
Baris 86 ⟶ 220:
| image2_alt = {{{image2 alt|{{{image2_alt|}}}}}}
| image2_caption = {{{image2 caption|{{{image2_caption|}}}}}}
| classif_statusclassification_status = {{{classification status|{{{classification_status|}}} }}}
| diversity = {{{diversity|}}}
| diversity_ref = {{{diversity ref|{{{diversity_ref|}}} }}}
Baris 102 ⟶ 236:
| type_strain_ref = {{{type_strain_ref|{{{type strain ref|}}} }}}
| range_map = {{{range map|{{{range_map|}}} }}}
| range_map_upright = {{{range_map_upright|{{{range map upright|{{{range_map_upright|}}} }}}
| range_map_alt = {{{range map alt|{{{range_map_alt|}}} }}}
| range_map_caption = {{{range map caption|{{{range_map_caption|}}} }}}
Baris 119 ⟶ 253:
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
| synonyms = {{{synonyms|}}}
}}{{Speciesbox/parameterCheck|{{{taxon|}}}|{{{genus|}}}|{{{species|}}}}}[[Kategori:Halaman dengan speciesbox yang tidak memanggil butir Wikidata]]}}<noinclude><!-- Sementara tidak dipakai dulu
 
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pemeliharaan speciesbox|_VALUE_{{PAGENAME}}]]}}|preview = unknown parameter "_VALUE_"|ignoreblank=y|authority|binomial authority||binomial_authority|classification_status|classification_status|color as|color_as|colour as|colour_as|display parents|display_parents|diversity|diversity link|diversity ref|diversity_link|diversity_ref|edit link|edit_link|extinct|fossil range|fossil_range|genus|grandparent authority|grandparent_authority|greatgrandparent authority|greatgrandparent_authority|greatgreatgrandparent authority|greatgreatgrandparent_authority|greatgreatgreatgrandparent authority|greatgreatgreatgrandparent_authority|image|image alt|image caption|image upright|image2|image2 alt|image2 caption|image2 upright|image2_alt|image2_caption|image2_upright|image_alt|image_caption|image_upright|italic title|italic_title|name|parent|parent authority|parent_authority|range map|range map alt|range map caption|range map upright|range map2|range map2 alt|range map2 caption|range map2 upright|range map3|range map3 alt|range map3 caption|range map3 upright|range map4|range map4 alt|range map4 caption|range map4 upright|range_map|range_map2|range_map2_alt|range_map2_caption|range_map2_upright|range_map3|range_map3_alt|range_map3_caption|range_map3_caption|range_map3_upright|range_map4|range_map4_alt|range_map4_caption|range_map4_upright|range_map4_upright|range_map_alt|range_map_caption|range_map_upright|species|status|status ref|status system|status2|status2 ref|status2 system|status2_ref|status2_system|status_ref|status_system|subdivision|subdivision ranks|subdivision ref|subdivision_ranks|subdivision_ref|synonyms|synonyms ref|synonyms_ref|taxon|temporal range|temporal_range|trend|type strain|type_strain|type strain ref|type_strain_ref}}-->{{documentation}}[[Kategori:Templat taksonomi otomatis]]</noinclude>
{{documentation}}</noinclude>