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

Usunięta treść Dodana treść
Nie podano opisu zmian
Nie podano opisu zmian
Linia 580:
local parametry_modul=require("Module:Parametry");
local PobierzParametr=parametry_modul.PobierzParametr(frame);
local parametry_strony,_=PobierzParametr("parametry strony jednostki") or PobierzParametr(1);
if(parametry_modul.CzyTak(parametry_strony))then
local nazwa_strony_linku;
if(mw.ustring.match(parametry_strony,"^title=[^&]*"))then
nazwa_strony_linku=mw.ustring.match(parametry_strony,"^title=([^&]+)&?.*$");
Linia 590 ⟶ 591:
parametry_strony,_=mw.ustring.gsub(parametry_strony,"&title=([^&]+).*$","");
end;
return nazwa_strony_jednostkinazwa_strony_linku,parametry_strony;
else
return nil;