แม่แบบ:ประวัติศาสตร์ญี่ปุ่น
บทความนี้เป็นส่วนหนึ่งของ |
ประวัติศาสตร์ญี่ปุ่น |
---|
การใช้งาน[แก้]
This template includes collapsible lists.
- • To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{ประวัติศาสตร์ญี่ปุ่น |expanded=all}}
or, if enabled,{{ประวัติศาสตร์ญี่ปุ่น |all}}
(i.e. omitting "expanded=
").
- • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{ประวัติศาสตร์ญี่ปุ่น |expanded=listname}}
or, if enabled,{{ประวัติศาสตร์ญี่ปุ่น |listname}}
- …where listname is one of the following (do not include any quotemarks):
- periods, topics
โค้ดเต็ม[แก้]
{{ประวัติศาสตร์ญี่ปุ่น |listname |image= |imagesize= |caption=}}
- listname เป็นตัวระบุว่ารายการใดของแม่แบบที่จะขยาย (ดูด้านบน)
- ใช้
image=
เมื่อต้องการเปลี่ยนรูปภาพ - ใช้
imagesize=
เมื่อต้องการเปลี่ยนขนาดรูปภาพ (ค่าเริ่มต้นคือ 185px) - ใช้
caption=
เมื่อต้องการเพิ่มคำอธิบายใต้รูปภาพ
ตัวอย่าง[แก้]
{{ประวัติศาสตร์ญี่ปุ่น}}
- หรือ
{{ประวัติศาสตร์ญี่ปุ่น |periods}}
- หรือ
{{ประวัติศาสตร์ญี่ปุ่น |image=Satsuma-samurai-during-boshin-war-period.jpg |caption=[[ซามูไร]]แห่ง[[ตระกูลซัตสึมะ]]}}
- หรือ
{{ประวัติศาสตร์ญี่ปุ่น |topics |image=Satsuma-samurai-during-boshin-war-period.jpg |imagesize=280px |caption=[[ซามูไร]]แห่ง[[ตระกูลซัตสึมะ]]}}
- ฯลฯ
ดูเพิ่ม[แก้]
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:ประวัติศาสตร์ญี่ปุ่น/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |