Modul:Routemap: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
RaFaDa20631 (bicara | kontrib)
update
RaFaDa20631 (bicara | kontrib)
Membalikkan revisi 26340061 oleh RaFaDa20631 (bicara)
Tag: Pembatalan
 
(6 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1:
local i18n = {
errors = {
["parameter-missing"] = "MissingKehilangan parameter!",
["collapsible-block-not-closed"] = "CollapsibleBagian sectionyang notdapat closeddiciutkan properlytidak ditutup dengan benar!",
["collapsible-block-not-open"] = "MissingTidak ada markah start-Collapsible markup!",
["collapsible-block-empty"] = "CollapsibleBagian sectionyang mustdapat notdiciutkan betidak emptyboleh kosong!",
["collapsible-block-no-first-row"] = "InvalidBaris firstpertama rowbagian ofyang collapsibledapat section!diciutkan tidak valid",
["collapsible-block-no-replacement"] = "InvalidBaris collapsiblepengganti replacementyang rowdapat diciutkan tidak valid!",
["colspan-less-rows-than-set"] = "InvalidSet colspan settidak valid!",
},
["error-categories"] = {
default = '[[Category:PagesHalaman withyang errorsmenggunakan ofRoutemap Moduledengan Routemapgalat]]',
["text-images"] = '[[Category:PagesHalaman usingyang menggunakan Routemap withdengan textgambar imagesteks]]',
["separate-navbar"] = '[[Category:PagesHalaman usingyang Routemapmenggunakan withRoutemap adengan separatetemplat navbar templateterpisah]]',
["missing-text-values"] = '[[CategoryKategori:PagesHalaman usingyang menggunakan BSto oratau BSsrws with missingtanpa textnilai valuesteks]]',
["br-tags"] = '[[Category:PagesHalaman usingyang menggunakan BSto, BSsplit, BSsrws, oratau BScvt withdengan brtag tagsbr]]',
["srws"] = '[[Category:PagesHalaman usingyang BSsplitmenggunakan insteadBSsplit ofalih-alih BSsrws]]',
["rmr-error"] = '[[Category:PagesHalaman withdengan badnilai valueburuk foruntuk RoutemapRoutetemplat templateRoutemapRoute]]'
},
text = {
navbar_mini = false, -- for navbar pos 2 only
navbar_text = 'Diagram ini:', -- for navbar pos 2 only
legend_text = 'Legenda',
legend = {
default = '[[Template:Legenda jalur rel',
track = '[[Template:Legenda jalurtata relletak stasiun',
bus = '[[Template:Legenda rute bus',
canal = '[[Template:Legenda transportasi air',
Baris 863:
end
style = style or ''
local result = '&#32;<table cellspacing="0" cellpadding="0" class="RMsplit" style="font-weight:inherit;color:inherit;background:transparent;margin-top:-2px;margin-bottom:-2px;display:inline-table;vertical-align:middle;text-align:'..align
if italic or it == 'all' then result = result..';font-style:italic' end
if bold then result = result..';font-weight:bold' end
Baris 890:
if bs == 'srws' then
if stn then
link = t1stn..' '..t2t1..' '..stnt2
else
link = t1..'Stasiun '..t2t1..' railway station'..t2
end
elseif bs == 'cvt' then
Baris 1.287:
res = string.gsub(res, '{{[Bb][Ss]%-?map', '{{Routemap') -- "%-" is an escape for hyphen which is used as "between" in pattern.
res = string.gsub(res, '{|%s?{{[Rr]ailway line header}}', '{{Routemap')
res = string.gsub(res, '{{[Bb][Ss]%-header%d?|', '{{safesubst:BS-header/safesubst|') -- "%d?" means optional digit in case use of variant template like BS-header3.
res = string.gsub(res, '{{[Bb][Ss]%-table%d?}}', '|map =')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)|', '{{safesubst:BS%1%2/safesubst|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%-replace|', '!replace{{safesubst:BS%1%2/safesubst|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%-startCollapsible|', '-startCollapsible-collapsed\n{{safesubst:BS%1%2/safesubst|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%-sc|', '-startCollapsible-collapsed\n{{safesubst:BS%1%2/safesubst|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%text|', '{{safesubst:BS%1%2text/safesubst|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%-2|', '{{safesubst:BS%1%2-2/safesubst|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%-2replace|', '!replace{{safesubst:BS%1%2-2|')
res = string.gsub(res, '{{[Bb][Ss](%d?)(%d?)%-2sc|', '-startCollapsible-collapsed\n{{safesubst:BS%1%2-2|')