fbpx
วิกิพีเดีย

มอดูล:Sports table/sub

คู่มือการใช้งานมอดูล[สร้าง]
-- Subfunctions for this module that are called from the style modules local ppp = {}  function ppp.colhead(ttt,width,text)  -- For individual column headers  local head_string  if width=='auto' then  head_string = '! scope="col" |'..text..'\n'  else  head_string = '! scope="col" width='..width..'|'..text..'\n'  end   ttt.count = ttt.count+1  table.insert(ttt.tab_text,head_string)   return ttt end  function ppp.hth(frame,Args,full_table,hth_id_list,hth_local,notes_exist,team_list,team_code_ii,ii_start,ii_end,rand_val)  -- For head-to-head notes  local hth_string,hth_local_num, hth_id   -- Check whether there is a head-to-head note or not, if so get text ready for it the same way as for the notes  if hth_local and full_table then  -- Set global check for notes to true  notes_exist = true  if not Args['hth_'..hth_local] then  -- Option 1  -- Now define the identifier for this  hth_id = '"table_hth_'..team_code_ii..rand_val..'"' -- Add random end for unique ID if more tables are present on article (which might otherwise share an ID)  hth_id_list[team_code_ii] = hth_id  -- Call refn template  hth_string = frame:expandTemplate{ title = 'efn', args = { group='Table_notes', name=hth_id, hth_local} }  else  -- Option 2  hth_local_num = team_list[hth_local]  if hth_id_list[hth_local] or ((hth_local_num >= ii_start) and (hth_local_num <= ii_end)) then  -- Option 2a  hth_id = '"table_hth_'..hth_local..rand_val..'"'  hth_string = frame:extensionTag{ name = 'ref', args = { group = 'lower-alpha', name = hth_id} }  else  -- Option 2b  hth_id = '"table_hth_'..hth_local..rand_val..'"' -- Add random end for unique ID  hth_id_list[hth_local] = hth_id  -- Call refn template  hth_string = frame:expandTemplate{ title = 'efn', args = { group='Table_notes', name=hth_id, Args['hth_'..hth_local]} }  end  end  else  hth_string = '';  end   return {str=hth_string, list=hth_id_list, notes_exist=notes_exist} end  return ppp 

มอด, sports, table, อการใช, งานมอด, สร, าง, ณอาจจะต, องการสร, างค, อการใช, งานของมอด, ลน, เข, ยนสามารถทำการทดลองได, กระบะทราย, สร, าง, ดลอก, และช, ดทดสอบ, สร, าง, ของมอด, ลน, โปรดเพ, มหมวดหม, ไปท, หน, าย, อย, หน, าย, อยของมอด, ลน, subfunctions, this, module, t. khumuxkarichnganmxdul srang khunxaccatxngkarsrangkhumuxkarichngankhxngmxdulniphuekhiynsamarththakarthdlxngidthikrabathray srang khdlxk aelachudthdsxb srang khxngmxdulnioprdephimhmwdhmuipthihnayxy doc hnayxykhxngmxdulni Subfunctions for this module that are called from the style modules local ppp function ppp colhead ttt width text For individual column headers local head string if width auto then head string scope col text n else head string scope col width width text n end ttt count ttt count 1 table insert ttt tab text head string return ttt end function ppp hth frame Args full table hth id list hth local notes exist team list team code ii ii start ii end rand val For head to head notes local hth string hth local num hth id Check whether there is a head to head note or not if so get text ready for it the same way as for the notes if hth local and full table then Set global check for notes to true notes exist true if not Args hth hth local then Option 1 Now define the identifier for this hth id table hth team code ii rand val Add random end for unique ID if more tables are present on article which might otherwise share an ID hth id list team code ii hth id Call refn template hth string frame expandTemplate title efn args group Table notes name hth id hth local else Option 2 hth local num team list hth local if hth id list hth local or hth local num gt ii start and hth local num lt ii end then Option 2a hth id table hth hth local rand val hth string frame extensionTag name ref args group lower alpha name hth id else Option 2b hth id table hth hth local rand val Add random end for unique ID hth id list hth local hth id Call refn template hth string frame expandTemplate title efn args group Table notes name hth id Args hth hth local end end else hth string end return str hth string list hth id list notes exist notes exist end return ppp ekhathungcak https th wikipedia org w index php title mxdul Sports table sub amp oldid 5815546, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

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