แม่แบบ:Navbar
![]() | นี่เป็นแม่แบบที่ถูกป้องกันถาวรเนื่องจากมีความเสี่ยงสูง กรุณาอภิปรายการเปลี่ยนแปลงใด ๆ ทางหน้าคุย คุณอาจส่งคำขอแก้ไขไปยังผู้ดูแลระบบเพื่อให้แก้ไขได้หากเป็นการแก้ไขที่ไม่มีการคัดค้านหรือมีความเห็นพ้องสนับสนุน คุณยังสามารถขอให้เลิกป้องกันหน้าได้ |
![]() | มีการใช้แม่แบบนี้ใน เพื่อหลีกเลี่ยงผลกระทบกว้างขวางและลดภาระของเซิร์ฟเวอร์ ก่อนแก้ไขแม่แบบนี้ จึงควรทดลองที่กระบะทราย, หน้าทดสอบ หรือพื้นที่ส่วนตัวของคุณ จนมั่นใจว่าไม่มีปัญหา อนึ่ง อภิปรายเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปราย |
Usage
General
Copyable examples when inside a given template adds navbar navigational functionality:
- {{tnavbar|{{subst:PAGENAME}}|mini=1}}
- {{tnavbar|{{subst:PAGENAME}}|plain=1}}
- {{tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}
- {{tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}
- {{tnavbar|{{subst:PAGENAME}}|fontstyle=color:green}}
- The
{{subst:PAGENAME}}
will be substituted with the template's name when parsed by the servers. - {{tnavbar|navbar/doc}} gives:
Deprecated parameters
The miniv=1, viewplain=1 and fontcolor= parameters have been deprecated. To use the view-only version, use the {{v}}
or {{view}}
templates instead.
Examples
Required parameters
{{tnavbar|Name of Template}}
the template name is required.
Optional parameters
Options | Parameters | Produces... |
---|---|---|
Normal | {{tnavbar|Template Name}} |
|
No "This box:" text. | {{tnavbar|Template Name|plain=1}} |
|
Short version. | {{tnavbar|Template Name|mini=1}} |
|
Good for "blending" into text. | {{tnavbar|Template Name|nodiv=1}} |
Lorem | Ipsum
Blended, no "This box:" text. | {{tnavbar|Template Name|plain=1|nodiv=1}} |
Lorem | Ipsum
Blended, short version. | {{tnavbar|Template Name|mini=1|nodiv=1}} |
Lorem | Ipsum
For a color option. | {{tnavbar|Template Name|fontstyle=color:green}} |
Prepackaged
- {{Tnavbar-header}}
- Positions ด • พ • ก on the right edge of the line, often used in non-collapsible navbox heading.
- {{Tnavbar-navframe}}
- For use in conjunction with Navframe divs, positions ด • พ • ก opposite of the [hide]/[show] feature.
- {{Tnavbar-collapsible}}
- For use in conjunction with Collapsible tables,floats ด • พ • ก opposite of the [hide]/[show] feature.
See also
- {{Codifiednavbar}}
- {{Edit templates}}
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Navbar/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |