Mô tổ:Anchor
Vẻ ngoài
![文档图示](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
![]() | CóNgười máySử dụng bổn mô khối
Như dục di động, xóa bỏ hoặc sửa chữa này mô khối mà vô phápXuống phía dưới kiêm dung,Cũng sẽ ảnh hưởng người máy vận tác, thỉnh trước thông tri người máy người thao tác, cảm ơn ngài.Tương quan người máy:User:Cewbot/log/20201008/configuration |
Bổn mô tổ từ {{anchor}} sở chấp hành, tường thấy khuôn mẫu trang hồ sơ.
Thỉnh chú ý: Sở hữu sẽ sinh ra trang web miêu điểm khuôn mẫu hoặc mô tổ, cải biến khi toàn ứng thông triUser:cewbot,Dự phòng người máy lầm động tác.
Kể trênHồ sơKhảm nhậpTựModule:Anchor/doc.(Biên tập|Lịch sử) Người biên tập có thể ở bổn mô khối hộp cát(Sáng tạo|Cảnh trong gương)Cùng thí nghiệm dạng lệ(Sáng tạo)Giao diện tiến hành thực nghiệm. Bổn mô khối tử giao diện. |
-- mô khối khảm nhập {{anchor}}
localgetArgs=require('Module:Arguments').getArgs
localtableTools=require('Module:TableTools')
localp={}
functionp.main(frame)
-- Get the positional arguments from #invoke, remove any nil values,
-- and pass them to p._main.
localargs=getArgs(frame)
localargArray=tableTools.compressSparseArray(args)
returnp._main(unpack(argArray))
end
functionp._main(...)
-- Generate the list of anchors.
localanchors={...}
localret={}
for_,anchorinipairs(anchors)do
ret[#ret+1]='<span class= "anchor" id= "'..anchor..' "></span>'
end
returntable.concat(ret)
end
returnp