Modul:Portal bar: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
-require('Module:No globals') |
||
(2 revisi perantara oleh satu pengguna lainnya tidak ditampilkan) | |||
Baris 1:
-- This module implements {{portal bar}}.
require('
local p = {}
Baris 28:
nav
:addClass( 'navbox' )
:css( 'padding', '0.4em
end
Baris 42:
if (args.redlinks == 'yes') or (args.redlinks == 'y') or (args.redlinks == 'true') or (args.redlinks == 'include') then
-- if redlinks as been set to yes (or similar), add the cleanup category and then break the loop before the portal is removed from the list
nav:wikitext('[[
break
end
Baris 53:
if not (portallen == #portals) then
if #portals == 0 then
return '[[
end
nav:wikitext('[[
end
|