แม่แบบ:กล่องนำทางแม่แบบจัดการสายอักขระ

จากวิกิพีเดีย สารานุกรมเสรี
(เปลี่ยนทางจาก แม่แบบ:Navbox string handling templates)
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

เพิ่ม {{String-handling templates}} ที่ด้านล่างของหน้าเอกสารประกอบแม่แบบของแม่แบบที่แสดงอยู่ในกล่องนำทางนี้

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • trim
    • IRL
    • anlys/tech

การมองเห็นเริ่มต้นของแม่แบบนี้ ปัจจุบันมีค่าเริ่มต้นเป็น expanded หมายความว่า แม่แบบนี้จะอยู่ในสภาพขยาย เห็นได้ทั้งหมด

ในการตั้งค่าการมองเห็นเริ่มต้นของแม่แบบนี้ ให้ใช้พารามิเตอร์ |state= ดังนี้

  • {{กล่องนำทางแม่แบบจัดการสายอักขระ|state=collapsed}} จะแสดงแม่แบบนี้ในสภาพยุบ กล่าวคือ ถูกซ่อนให้เหลือแต่แถบชื่อเรื่อง
  • {{กล่องนำทางแม่แบบจัดการสายอักขระ|state=autocollapse}} จะแสดงแม่แบบนี้ในสภาพยุบอัตโนมัติ กล่าวคือ หากมีวัตถุที่มีคุณลักษณะยุบได้วางอยู่ติดกับแม่แบบนี้ (navbox, sidebar หรือตารางที่ยุบได้) แม่แบบนี้จะถูกซ่อนให้เหลือแต่แถบชื่อเรื่อง หากไม่มี ก็จะสามารถเห็นได้ทั้งหมด

ดูเพิ่ม[แก้]