fbpx
วิกิพีเดีย

มอดูล:Hatnote inline

คู่มือการใช้งานมอดูล[สร้าง]
-------------------------------------------------------------------------------- -- Module:Hatnote-inline -- -- -- -- This module produces hatnote-style links and links to related articles, -- -- but inside a <span>, instead of the <div> used by Module:Hatnote. It -- -- implements the {{hatnote-inline}} meta-template. -- --------------------------------------------------------------------------------  local mHatnote = require('Module:Hatnote') local mArguments = require('Module:Arguments') local yesno = require('Module:Yesno') local p = {}  function p.hatnoteInline (frame)  local args = mArguments.getArgs(frame)  local hatnote = mHatnote.hatnote(frame)  if args.inline == nil or yesno(args.inline, true) then  local subs = {  ['^<div'] = '<span',  ['</div>$'] = '</span>'  }  for k, v in pairs(subs) do hatnote = string.gsub(hatnote, k, v) end  end  return hatnote end  p.hatnote = p.hatnoteInline --alias  return p 

มอด, hatnote, inline, อการใช, งานมอด, สร, าง, ณอาจจะต, องการสร, างค, อการใช, งานของมอด, ลน, เข, ยนสามารถทำการทดลองได, กระบะทราย, สร, าง, ดลอก, และช, ดทดสอบ, สร, าง, ของมอด, ลน, โปรดเพ, มหมวดหม, ไปท, หน, าย, อย, หน, าย, อยของมอด, ลน, module, hatnote, inline, th. khumuxkarichnganmxdul srang khunxaccatxngkarsrangkhumuxkarichngankhxngmxdulniphuekhiynsamarththakarthdlxngidthikrabathray srang khdlxk aelachudthdsxb srang khxngmxdulnioprdephimhmwdhmuipthihnayxy doc hnayxykhxngmxdulni Module Hatnote inline This module produces hatnote style links and links to related articles but inside a lt span gt instead of the lt div gt used by Module Hatnote It implements the hatnote inline meta template local mHatnote require Module Hatnote local mArguments require Module Arguments local yesno require Module Yesno local p function p hatnoteInline frame local args mArguments getArgs frame local hatnote mHatnote hatnote frame if args inline nil or yesno args inline true then local subs lt div lt span lt div gt lt span gt for k v in pairs subs do hatnote string gsub hatnote k v end end return hatnote end p hatnote p hatnoteInline alias return p ekhathungcak https th wikipedia org w index php title mxdul Hatnote inline amp oldid 7557117, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

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