Templat:Taxonomy: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
fix iw
gunakan fungsi replace dari Modul:String#L-374
 
(5 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 2:
Cell stating the rank:
-->
{{!}} {{ucfirst:{{lc:{{anglicise rank| {{{rank|}}} }} }} }}:<!--
Cell stating the taxon's name, italicized if necessary, with authority:
DO NOT USE named parameters in the call to replace as they will strip the trailing whitespace.
-->
{{!}} <spandiv style="display:inline" class="{{lc:{{anglicise rank|{{{rank}}} }} }}" style="white-space:nowrap;">{{#switchinvoke:string|replace|{{lc:{{{ranklink}}} }}|. |genus.&nbsp;|ichnogenus|oogenus|subgenus|ichnosubgenus|oosubgenus|sectio|subsectio|series|subseries|species|ichnospecies|oospecies|subspecies|ichnosubspecies|oosubspeciescount=''1}}</div>{{#if:{link{{auth|}}}''
|<br /><smalldiv style="font-size: 85%;">{{{auth}}}</smalldiv>}}
|{{{link}}} }}</span>{{#if:{{{auth|}}}
|<br /><small>{{{auth}}}</small>}}
{{!}}-
}}</includeonly><noinclude>{{documentation}}</noinclude>
 
[[en:Template:Taxonomy]]
</noinclude>