navbar

navbar मॉड्यूल बिबरनलेख
local p = {}  local getArgs local ul  function p.addItem (mini, full, link, descrip, args, url) local l if url then l = {'[', '', ']'} else l = {'[[', '|', ']]'} end ul:tag('li') :addClass('nv-'..full) :wikitext(l[1] .. link .. l[2]) :tag(args.mini and 'abbr' or 'span') :attr('title', descrip..'') :cssText(args.fontstyle) :wikitext(args.mini and mini or full) :done() :wikitext(l[3]) end  function p.brackets (position, c, args, div) if args.brackets then div :tag('span') :css('margin-'..position, '-0.125em') :cssText(args.fontstyle) :wikitext(c) end end  function p._navbar(args) local show = {true, true, true, false, false, false} local titleArg = 1  if args.collapsible then titleArg = 2 if not args.plain then args.mini = 1 end if args.fontcolor then args.fontstyle = 'color:' .. args.fontcolor .. ';' end args.style = 'float:left; text-align:left' end  if args.template then titleArg = 'template' show = {true, false, false, false, false, false} local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6} for k,v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do local num = index[v] if num then show[num] = true end end end  if args.noedit then show[3] = false end  local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle()) local title = mw.title.new(mw.text.trim(titleText), 'टेम्पलेट') if not title then error('Invalid title ' .. titleText) end local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or ''  local div = mw.html.create():tag('div') div :addClass('plainlinks') :addClass('hlist') :addClass('navbar') :cssText(args.style)  if args.mini then div:addClass('mini') end  if not (args.mini or args.plain) then div :tag('span') :css('word-spacing', 0) :cssText(args.fontstyle) :wikitext(args.text or 'ई बक्सा:') :wikitext(' ') end  p.brackets('right', '[ ', args, div)  ul = div:tag('ul') if show[1] then p.addItem('दे', 'देखीं', title.fullText, 'ई टेम्पलेट देखीं', args) end if show[2] then p.addItem('बा', 'वार्ता', talkpage, 'टेम्पलेट पर चर्चा करीं', args) end if show[3] then p.addItem('सं', 'संपादन', title:fullUrl('action=edit'), 'एह टेम्पलेट में संपादन करीं', args, true) end if show[4] then p.addItem('इ', 'इति', title:fullUrl('action=history'), 'एह टेम्पलेट के इतिहास देखीं', args, true) end if show[5] then local move = mw.title.new ('Special:Movepage') p.addItem('स्था', 'स्थानांतरण', move:fullUrl('target='..title.fullText), 'एह टेम्पलेट के स्थानांतरण करीं', args, true) end if show[6] then p.addItem('धि', 'धियान', title:fullUrl('action=watch'), 'टेम्पलेट के धियानसूची में जोड़ीं', args, true) end  p.brackets('left', ' ]', args, div)  if args.collapsible then div :done() :tag('div') :css('font-size', '114%') :css('margin', args.mini and '0 4em' or '0 7em') :cssText(args.fontstyle) :wikitext(args[1]) end  return tostring(div:done()) end  function p.navbar(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end return p._navbar(getArgs(frame)) end  return p 

🔥 Trending searches on Wiki भोजपुरी:

मुर्गी पालनअबू धाबीऋचा पल्लोदगुट-निरपेक्ष आंदोलनकन्हैया कुमारचिनाब नदी2024लाल किलाबस्ती मंडलकियारा आडवानीबिहारमैनाप्रियंका चोपड़ाग्लोबल वॉर्मिंगझरनाबीयागुवाहाटीअज्ञेयजापानहिंडन नदीसलमान खानस्पेनिश भाषाराष्ट्रीय गीतबनअलकनंदाकोल्ड ड्रिंकघुमंतू लोगभारविधौलागिरिमांसपेशीहरसिंगारटेम्स नदीटेनिसमेघासचिन तेंदुलकरबाघस्पून्स सेक्स पोजीशनआर्मीनियाआल्प्सअक्षांशझारखंडपेरियारलीबियाब्लॉगपरभणी जिलाहिन्दुस्तान (अखबार)यूरोप के संस्कृतिमहाराणा प्रतापकृषि भूगोलभोजपुरी साहित्यमोजाम्बिकअनुच्छेद 370बुलबुलमहावीरमनुस्मृतिमहावीर जयंतीप्रकृतिमैरवाबिहार में प्रशासनचंद्रयान-3अवधी भाषामहाराष्ट्र के जिला सभ के लिस्टइसरोबनमुर्गीफिनलैंडमहासागरमैंगीफेरा इंडिकाभोजपुरी खानापड़रौनाडॉगी स्टाइलमदर टेरेसाताप्ती🡆 More