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

מ תרגום פרמטרים; הכנה לקראת הטמעה
מ גרסה אחת של הדף wikipedia:he:יחידה:Navbox יובאה
 
(6 גרסאות ביניים של 2 משתמשים אינן מוצגות)
שורה 20: שורה 20:
-- by parent navboxes. The result is that the category shows all pages
-- by parent navboxes. The result is that the category shows all pages
-- where a child navbox is not contained in a parent navbox.
-- where a child navbox is not contained in a parent navbox.
local orphanCat = '[[Category:Navbox orphans]]'
local orphanCat = '[[קטגוריה:תבניות ניווט יתומות]]'
if border == 'subgroup' and args.orphan ~= 'yes' then
if border == 'subgroup' and args.orphan ~= 'yes' then
-- No change; striping occurs in outermost navbox.
-- No change; striping occurs in outermost navbox.
שורה 81: שורה 81:
local function renderNavBar(titleCell)
local function renderNavBar(titleCell)


if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox') then
if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/ארגז חול$', '') == 'תבנית:ניווט') then
titleCell:wikitext(navbar{
titleCell:wikitext(navbar{
args.name,
args.name,
שורה 440: שורה 440:
enKey = mw.ustring.gsub( enKey, 'קישורים', 'navbar' )
enKey = mw.ustring.gsub( enKey, 'קישורים', 'navbar' )
enKey = mw.ustring.gsub( enKey, 'גבול', 'border' )
enKey = mw.ustring.gsub( enKey, 'גבול', 'border' )
enKey = mw.ustring.gsub( enKey, 'סגנון גוף', 'bodystyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון תוכן', 'bodystyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון בסיסי', 'basestyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון בסיסי', 'basestyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון כותרת', 'titlestyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון כותרת', 'titlestyle' )
שורה 454: שורה 454:
enKey = mw.ustring.gsub( enKey, 'סגנון למעלה', 'abovestyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון למעלה', 'abovestyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון למטה', 'belowstyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון למטה', 'belowstyle' )
enKey = mw.ustring.gsub( enKey, 'מחלקה תבנית', 'navboxclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה תוכן', 'bodyclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה תוכן', 'bodyclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה כותרת', 'titleclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה קבוצה', 'groupclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה קבוצה', 'groupclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה רשימה', 'listclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה רשימה', 'listclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה למעלה', 'aboveclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה למעלה', 'aboveclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה למטה', 'belowclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה למטה', 'belowclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה כותרת קבוצה', 'titlegroupstyle' )
enKey = mw.ustring.gsub( enKey, 'מחלקה תמונה', 'imageclass' )
enKey = mw.ustring.gsub( enKey, 'מחלקה כותרת', 'titlegroup' )
enKey = mw.ustring.gsub( enKey, 'סגנון קבוצה בכותרת', 'titlegroupstyle' )
enKey = mw.ustring.gsub( enKey, 'מחלקה קבוצה בכותרת', 'titlegroupclass' )
enKey = mw.ustring.gsub( enKey, 'קבוצה בכותרת', 'titlegroup' )
enKey = mw.ustring.gsub( enKey, 'סגנון פנימי', 'innerstyle' )
enKey = mw.ustring.gsub( enKey, 'סגנון פנימי', 'innerstyle' )
enKey = mw.ustring.gsub( enKey, 'לא לעטוף', 'nowrapitems' )
enKey = mw.ustring.gsub( enKey, 'לא לעטוף', 'nowrapitems' )
שורה 492: שורה 496:
},
},
["border"] = {
["border"] = {
["צאצא"] = "child",
["תת קבוצה"] = "subgroup",
["ללא"] = "none"
["ללא"] = "none"
},
},