แม่แบบ:ศักราชของญี่ปุ่น

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ
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):
  • "จาก ค.ศ. 1264"

การมองเห็นเริ่มต้นของแม่แบบนี้ ปัจจุบันมีค่าเริ่มต้นเป็น autocollapse หมายความว่า หากมีวัตถุอื่นที่มีคุณลักษณะยุบได้วางอยู่ในหน้า (navbox, sidebar หรือตารางที่ยุบได้) แม่แบบนี้จะถูกซ่อนให้เหลือแต่แถบชื่อเรื่อง หากไม่มี ก็จะสามารถเห็นได้ทั้งหมด

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

  • {{ศักราชของญี่ปุ่น|state=collapsed}} จะแสดงแม่แบบนี้ในสภาพยุบ กล่าวคือ ถูกซ่อนให้เหลือแต่แถบชื่อเรื่อง
  • {{ศักราชของญี่ปุ่น|state=expanded}} จะแสดงแม่แบบนี้ในสภาพขยาย กล่าวคือ สามารถเห็นได้ทั้งหมด