fbpx
วิกิพีเดีย

มอดูล:See also

คู่มือการใช้งานมอดูล[สร้าง]
--[[ -- This module produces a "See also: a, b and c" link. It implements the -- template {{see also}}. --]]  local mHatnote = require('Module:Hatnote') local mTableTools -- lazily initialise local mArguments -- lazily initialise  local p = {}  function p.seealso(frame)  mTableTools = require('Module:TableTools')  mArguments = require('Module:Arguments')  local args = mArguments.getArgs(frame, {parentOnly = true})  local pages = {}  for k, v in pairs(args) do  if type(k) == 'number' then  local numstring = tostring(k)  local display = args['label ' .. numstring]  or args['l' .. numstring]  local page = {v, display}  pages[k] = page  end  end  pages = mTableTools.compressSparseArray(pages)  if not pages[1] then  return mHatnote.makeWikitextError(  'no page names specified',  'แม่แบบ:ดูเพิ่มที่#Errors',  args.category  )  end  local options = {  altphrase = args.altphrase,  selfref = args.selfref  }  return p._seealso(options, unpack(pages)) end  function p._seealso(options, ...)  local altphrase = options and options.altphrase or 'ดูเพิ่มเติมที่'  local links = mHatnote.formatPageTables(...)  links = mw.text.listToText(links)  local text = altphrase .. ': ' .. links   -- Pass options through.  local hnOptions = {}  hnOptions.selfref = options.selfref  hnOptions.extraclasses = 'boilerplate seealso'   return mHatnote._hatnote(text, hnOptions) end  return p 

มอด, also, เป, นมอด, ลท, กป, องก, นถาวรเน, องจากม, ความเส, ยงส, งกร, ณาอภ, ปรายการเปล, ยนแปลงใด, ทางหน, าค, ณอาจส, งคำขอแก, ไข, ไปย, งผ, แลระบบเพ, อให, แก, ไขได, หากเป, นการแก, ไขท, ไม, การค, ดค, านหร, อม, ความเห, นพ, องสน, บสน, ณย, งสามารถขอให, เล, กป, องก, น. niepnmxdulthithukpxngknthawrenuxngcakmikhwamesiyngsungkrunaxphipraykarepliynaeplngid thanghnakhuy khunxacsngkhakhxaekikh ipyngphuduaelrabbephuxihaekikhidhakepnkaraekikhthiimmikarkhdkhanhruxmikhwamehnphxngsnbsnun khunyngsamarthkhxihelikpxngknhnaidkhumuxkarichnganmxdul srang khunxaccatxngkarsrangkhumuxkarichngankhxngmxdulniphuekhiynsamarththakarthdlxngidthikrabathray srang khdlxk aelachudthdsxb srang khxngmxdulnioprdephimhmwdhmuipthihnayxy doc hnayxykhxngmxdulni This module produces a See also a b and c link It implements the template see also local mHatnote require Module Hatnote local mTableTools lazily initialise local mArguments lazily initialise local p function p seealso frame mTableTools require Module TableTools mArguments require Module Arguments local args mArguments getArgs frame parentOnly true local pages for k v in pairs args do if type k number then local numstring tostring k local display args label numstring or args l numstring local page v display pages k page end end pages mTableTools compressSparseArray pages if not pages 1 then return mHatnote makeWikitextError no page names specified aemaebb duephimthi Errors args category end local options altphrase args altphrase selfref args selfref return p seealso options unpack pages end function p seealso options local altphrase options and options altphrase or duephimetimthi local links mHatnote formatPageTables links mw text listToText links local text altphrase links Pass options through local hnOptions hnOptions selfref options selfref hnOptions extraclasses boilerplate seealso return mHatnote hatnote text hnOptions end return p ekhathungcak https th wikipedia org w index php title mxdul See also amp oldid 5523369, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

, อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม