Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Parameters

แก้
Parameter Description
show-hide Set to "left" (without speechmarks) to move [show/hide] button to titlebar's lefthand side.
title Text shown in titlebar.
titlestyle CSS styles to apply to title, e.g. "border:1px solid lightgrey;" to produce a border around the titlebar, "background:color;" to change the titlebar's background color from transparent to color, "text-align:[center/right];" to change the titlebar text's alignment from left to center or right, etc.
bodystyle CSS styles to apply to the hidden material, e.g. background and text-align per titlestyle.

ตัวอย่าง

แก้
Code Result
{{เริ่มซ่อน
|title = abc
|titlestyle = background:pink; text-align:center;
}}
*def
*ghi
{{จบซ่อน}}
abc
  • def
  • ghi
{{เริ่มซ่อน
|show-hide  = left
|title      = abc
|titlestyle = background:palegreen;
}}
*def
*ghi
{{จบซ่อน}}
abc
  • def
  • ghi

ดูเพิ่ม

แก้