แม่แบบ:Tnavbar

จากวิกิพีเดีย สารานุกรมเสรี
จัดการ: [[แม่แบบ:{{{1}}}|แม่แบบ]]  [[คุยเรื่องแม่แบบ:{{{1}}}|พูดคุย]]  [{{fullurl:แม่แบบ:{{{1}}}|action=edit}} แก้ไข]
[ดู] [แก้ไข] [ประวัติ] [ล้างแคช] Documentation icon คู่มือการใช้งานแม่แบบ


เนื้อหา

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[แก้]