יחידה:תבנית מידע: הבדלים בין גרסאות בדף
יצירת דף עם התוכן "local propertyLink = require('Module:PropertyLink') local root local args={} local origArgs local templateStructure = {} local function renderTitle() -- rende..." |
מאין תקציר עריכה |
||
| שורה 2: | שורה 2: | ||
local root | local root | ||
local args={} | local args={} | ||
local templateStructure = {} | local templateStructure = {} | ||
| שורה 141: | שורה 141: | ||
local templateParams = frame.args | local templateParams = frame.args | ||
local templateArgs = frame:getParent().args | local templateArgs = frame:getParent().args | ||
args.title = frame.args['כותרת תבנית'] | args.title = frame.args['כותרת תבנית'] | ||
| שורה 189: | שורה 188: | ||
for k,v in pairs(templateStructure) do | for k,v in pairs(templateStructure) do | ||
if v.data then | if v.data then | ||
local m = mw.ustring.match(v.data, '\{\{\{(. | local m = mw.ustring.match(v.data, '\{\{\{(.-)\}\}\}') | ||
if m then | if m then | ||
if templateParams[m..'-ויקינתונים'] then | if templateParams[m..'-ויקינתונים'] then | ||