יחידה:פרמטרים: הבדלים בין גרסאות בדף

מ שוחזר מעריכות של 5.22.131.35 (שיחה) לעריכה האחרונה של Hayden Von Feldheim
חירום
שורה 25: שורה 25:
local subpageName = 'יחידה:פרמטרים/' .. templatename
local subpageName = 'יחידה:פרמטרים/' .. templatename
local tdReader = require( 'Module:ReadTd' )
local tdReader = require( 'Module:ReadTd' )
data = tdReader.compat( template )
data = tdReader.compat( { template, template .. '/תיעוד' } )
if not data and mw.title.makeTitle( 0, subpageName ).exists then
if not data and mw.title.makeTitle( 0, subpageName ).exists then
data = mw.loadData(subpageName) -- read template variables data
data = mw.loadData(subpageName) -- read template variables data