Modul:Autotaxobox: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Hidayatsrf (bicara | kontrib) Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
(10 revisi perantara oleh 4 pengguna tidak ditampilkan) | |||
Baris 9:
*****************************************************************************]]
require('
local TaxonItalics = require('Module:TaxonItalics') -- use a function from Module:TaxonItalics to italicize a taxon name
local TableRow = '|-\n'
Baris 213:
end
-- add information message
local res = '<p style="float:right">
-- start table
res = res .. '{| class="infobox biota" style="text-align: left; font-size:100%"\n' .. TableRow .. '! colspan=4 style="text-align: center; background-color: '
.. taxoColour .. '"|
-- deal first with the top level taxon; if there are no errors, it should be Life/Veterovata/Ichnos, which are
-- not displayed
local taxon = taxonTable[taxonTable.n]
if not l.topLevelTaxon(taxon) then
local msg = '
if mw.title.new('Taxonomy/'..taxon, 'Template').exists then
msg = '
end
res = res .. TableRow .. l.tableCell('colspan=2', frame:expandTemplate{title = 'Template:Create taxonomy', args = {taxon, msg = msg}})
Baris 261:
local errCat1 = ''
if not orderOk then
errCat1 = '[[
end
-- if the last row has a taxon name in the page name that does not match the link text,
Baris 269:
local errCat2 = ''
if not match then
errCat2 = '[[Category:
end
if errCat1..errCat2 ~= '' then
Baris 791:
divisio = 1500,
domain = 1700,
epifamilia = 802,
familia = 800,
forma = 100,
Baris 842 ⟶ 843:
superphylum = 1503,
superregnum = 1603,
supersectio = 503,
supertribus = 703,
tribus = 700,
Baris 860 ⟶ 862:
local rankVal = rankValTable[rank]
if not rankVal then
-- may be an "ichno" or "oo"
if
-- if an "ichno" or "oo" rank, lower rank value slightly so it is ok below the base rank
rankVal = rankValTable[
if rankVal then
rankVal = rankVal - 0.1
end
end
return rankVal
|