Template:Navbar/testcases

Option (high-level) Option (detail) Parameters Navbar Navbar/sandbox
Normal Normal {{Navbar/sandbox|Template Name}}
With other text {{Navbar/sandbox|Template Name|text=This template:}}
No text {{Navbar/sandbox|Template Name|plain=1}}
With brackets {{Navbar/sandbox|Template Name|plain=1|brackets=1}}
Inline {{Navbar/sandbox|Template Name}} Lorem Ipsum Lorem Ipsum
Inline, plain {{Navbar/sandbox|Template Name|plain=1}} Lorem Ipsum Lorem Ipsum
With color option {{Navbar/sandbox|Template Name|fontstyle=color:green}}
Linking to non-template pages {{Navbar/sandbox|User:Foo}}
Linking to non-template pages {{Navbar/sandbox|:Foo}}
Mini Makes Navbar display in a mini version. {{Navbar/sandbox|Template Name|mini=1}}
With brackets. {{Navbar/sandbox|Template Name|mini=1|brackets=1}}
Mini colors {{Navbar/sandbox|Template Name|mini=1|fontstyle=color:green}}
Inline {{Navbar/sandbox|Template Name|mini=1}} Lorem Ipsum Lorem Ipsum
View only For a full simpler access option {{Navbar/sandbox|Template Name|viewplain=1}}
For a simpler access option {{Navbar/sandbox|Template Name|miniv=1}}
For protected templates {{Navbar/sandbox|Template Name|noedit=1}}
For protected templates, mini {{Navbar/sandbox|Template Name|noedit=1|mini=1}}

In navbox

Demonstrating bug in move option

When the template name includes a space, and the move option is specified, the move link is misdisplayed and also does not work correctly:

It makes no difference if an underscore is used instead of the space:

The problem also occurs when the template name is given as a positional parameter, except that the {{navbar}} form then ignores the |m parameter:

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.