घर
बेतरतीब
लॉग-इन करें
सेटिंग्स
वर्ल्डपीडिया के बारे में
अस्वीकरण
खोजें
मॉड्यूल:About other people
सम्पादन
सावधान:
आपने लॉग-इन नहीं किया है। अगर आप सम्पादन करते हैं तो इस पृष्ठ के संपादन इतिहास में आपका IP पता दृश्य होगा। अगर आप
लॉग-इन
करते हैं या
खाता बनाते हैं
तो दूसरे सुविधाओं के साथ-साथ आपके संपादनों का श्रेय आपके सदस्यनाम पर दिया जाएगा।
ऐन्टी-स्पैम जाँच। इसे
नहीं
भरें!
local mAbout = require('Module:About') local mHatnote = require('Module:Hatnote') local mArguments = require('Module:Arguments') local p = {} local s = { --strings emptySubject = 'no page subject specified', templateName = 'Template:About other people', andKeyword = 'and', otherPeopleNamedForm = 'other people %s %s', named = 'named', otherPeopleSame = 'other people with the same name', } function p.aboutOtherPeople (frame) local args = mArguments.getArgs(frame) --if not args[1], a different template would be better! if not args[1] then return mHatnote.makeWikitextError( s.emptySubject, s.templateName, args.category ) end --get pages from arguments if applicable, with attempted default to args[2] local pages = {} for k, v in pairs(args) do if type(k) == 'number' and k > 2 then if pages[1] then table.insert(pages, s.andKeyword) end table.insert(pages, v) end end if #pages == 0 then pages = {args[2] and mHatnote.disambiguate(args[2])} end --translate args into args for _about(). [2] is nil to force otherText. local returnArgs = {text = args.text, args[1], nil, unpack(pages)} local options = { otherText = (args[2] and string.format( s.otherPeopleNamedForm, args.named or s.named, args[2] ) ) or s.otherPeopleSame } return mAbout._about(returnArgs, options) end return p
सारांश:
कृपया ध्यान दें कि वर्ल्डपीडिया को किये गये सभी योगदान क्रिएटिव कॉमन्स एट्रिब्यूशन-शेयरअलाइक ४.० लाइसेंस की शर्तों के तहत होंगे (अधिक जानकारी के लिये
वर्ल्डपीडिया:कॉपीराइट
देखें)। यदि आप अपने योगदान को लगातार बदलते और पुनः वितरित होते नहीं देख सकते हैं तो यहाँ योगदान न करें।
आप यह भी प्रमाणित कर रहे हैं कि यह आपने स्वयं लिखा है अथवा सार्वजनिक क्षेत्र या किसी समान मुक्त स्रोत से प्रतिलिपित किया है।
कॉपीराइट सुरक्षित कार्यों को बिना अनुमति के यहाँ न डालें!
रद्द करें
सम्पादन सहायता
(नई विंडो में खुलता है)
इस पृष्ठ पर प्रयुक्त साँचा:
मॉड्यूल:About other people/doc
(
सम्पादन
)