יחידה:משתמש במאפיינים: הבדלים בין גרסאות בדף
אין תקציר עריכה |
מ 8 גרסאות של הדף wikipedia:he:יחידה:משתמש_במאפיינים יובאו |
||
| (5 גרסאות ביניים של 4 משתמשים אינן מוצגות) | |||
| שורה 4: | שורה 4: | ||
local parent = frame.getParent(frame) | local parent = frame.getParent(frame) | ||
local result = '' | local result = '' | ||
for k,v in pairs(parent.args) do | |||
local p_num = v or '' | |||
local p_num = | |||
if p_num ~= '' then | if p_num ~= '' then | ||
local label = mw.wikibase.label(p_num) or "NO LABEL" | local label = mw.wikibase.label(p_num) or "NO LABEL" | ||
result = result .. "<li><b>[[d:Property:" .. p_num .. "|" .. label .. " <small>(" .. string.upper(p_num) .. ")</small>]]</b></li>" | result = result .. "<li><b>[[d:Property:" .. p_num .. "|" .. label .. | ||
frame:expandTemplate{title = "כ", args = {}} .. " <small>(" .. string.upper(p_num) .. ")</small>]]</b></li>" | |||
end | end | ||
end | end | ||