Moduł:Pudełko: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
Nie podano opisu zmian
Nie podano opisu zmian
Linia 553:
if(not nazwa_jednostki)then return;end;
nazwa_jednostki=mw.text.decode(nazwa_jednostki);
return mw.ustring.match(nazwa_jednostki,"^[^#]*#(.*)$");
end;
Linia 562 ⟶ 564:
if(not nazwa_jednostki)then return;end;
nazwa_jednostki=mw.text.decode(nazwa_jednostki);
local bez_naglowka,_=mw.ustring.gsub(nazwa_jednostki,"^([^#]*)#(.*)$","%1");
local parametry=mw.ustring.match(bez_naglowka,"^.-%?([^&]+=[^&]*.*)$");
Linia 573 ⟶ 576:
if(not nazwa_jednostki)then return;end;
nazwa_jednostki=mw.text.decode(nazwa_jednostki);
nazwa_jednostki,_=mw.ustring.gsub(nazwa_jednostki,"^([^#]*)#(.*)$","%1");
nazwa_jednostki,_=mw.ustring.gsub(nazwa_jednostki,"^(.-)%?[^&]+=[^&]*.*$","%1");