Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbox/doc: Difference between revisions

Template page
m Update dependencies.
m Add navbar parameter.
Line 24: Line 24:
<pre>{{Navbox
<pre>{{Navbox
|name            = {{subst:PAGENAME}}
|name            = {{subst:PAGENAME}}
|navbar          =
|title          =  
|title          =  
|titleclass      =  
|titleclass      =  
Line 56: Line 57:


; Parameters
; Parameters
: The only mandatory parameters are <code>name</code>, <code>title</code> and <code>list1</code>. Use all style parameters sparingly!
: The only mandatory parameters are <code>title</code> and <code>list1</code>. Use all class and style parameters sparingly!
:; name : The name of the template. Set to <nowiki>{{subst:PAGENAME}}</nowiki> by default.
:; name : The name of the template. Set to <nowiki>{{subst:PAGENAME}}</nowiki> by default. used for the (v)iew, (t)alk and (e)dit link options. May be omitted when navbar is set to plain.
:; navbar : Controls the presence of the (v)iew, (t)alk and (e)dit link options. Use <code>plain</code> to suppress.
:; title : Text in the title bar.
:; title : Text in the title bar.
:; titleclass : Applies an CSS <code>class</code> to the title bar. Use sparingly!
:; titleclass : Applies an CSS <code>class</code> to the title bar. Use sparingly!