Daripada Wikipedia, ensiklopedia bebas.
Jump to navigation Jump to search
Templat ini telah dikenal pasti sebagai templat berisiko tinggi. Oleh itu, templat ini telah dilindungi daripada sebarang penyuntingan bagi tempoh masa yang tidak terbatas. Perubahan boleh dibincangkan di laman perbincangan, atau anda boleh meminta supaya perlindungan ditamatkan.
This template documentation is transcluded from Templat:Navigation/doc [edit]

{{Navigation}} is a generic navigational template. The KISS principle was observed.

Usage[sunting sumber]

To apply this template, you can start by copy-and-pasting the following code and then provide arguments:

Blank[sunting sumber]

| name  = {{subst:PAGENAME}}
| title = 
| body  = 

Parameters[sunting sumber]

Mandatory[sunting sumber]
(or "templateName") The name of the template, which is needed for the "view · talk · edit" links to work properly on all of the pages where the template is used on. You can enter {{subst:PAGENAME}} for this value as a shortcut.
(or "header") Text that appears centered in the titlebar (the top bar). Usually this is the template's topic, i.e. a succinct description of the body parameter's contents.
The material contained by the template, usually a list or list of links. Format is inline.
Optional[sunting sumber]
Background color of the titlebar. NB Care/consensus needed when using this parameter as multiple navigational templates on one page using different titlebar colors is likely to look unpleasant.
(or "category") The category or categories to which a page sporting the template will become a member.

Example[sunting sumber]

Code[sunting sumber]

| name  = {{subst:PAGENAME}}
| title = [[Countries of the world|Countries]] of [[Central Asia]]
| cat   = [[Category:Central Asian countries]]<noinclude>[[Category:Asian navigational boxes| {{PAGENAME}}]] [[Category:Continental navigation templates|{{PAGENAME}}]]</noinclude>
| body  = [[Afghanistan]]{{·}} [[Kazakhstan]]{{·}} [[Kyrgyzstan]]{{·}} [[Mongolia]]{{·}} [[Russia]]{{·}} [[Tajikistan]]{{·}} [[Turkmenistan]]{{·}} [[Uzbekistan]]

Result[sunting sumber]

See also[sunting sumber]

Templat:Navigation (sunting bincang pautan sejarah)
Navigationbox with v-d-e and hide/show; no image yet.
Templat:Navbox generic (sunting bincang pautan sejarah)
Navigationbox containing several lists; no v-d-e.
Templat:NavigationBox (sunting bincang pautan sejarah)
Navigationbox with image on the right; no v-d-e nor hide/show.
Templat:Dynamic navigation box (sunting bincang pautan sejarah)
Navigationbox with hide/show, but no v-d-e. Allows width to be specified (but that can lead to visual inconsistency).
Templat:Dynamic navigation box with image (sunting bincang pautan sejarah)
Navigationbox with image on the left and hide/show, but no v-d-e.