Template:Unavbar

From Wikipedia, the free encyclopedia

[edit] Template documentation
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Purge the Wikipedia cache of this template.
Unavbar  (User navigation bar)

Contents

[edit] Usage

Copyable examples when inside a given template adds Unavbar navigational functionality:

{{Unavbar|{{subst:PAGENAME}}|mini=1}}
{{Unavbar|{{subst:PAGENAME}}|plain=1}}
{{Unavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}
{{Unavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}
{{Unavbar|{{subst:PAGENAME}}|miniv=1}}
{{Unavbar|{{subst:PAGENAME}}|viewplain=1}}
{{Unavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}}
{{Unavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}}
{{Unavbar|{{subst:PAGENAME}}|fontcolor=green}}
The {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers.
{{Unavbar|Unavbar/doc}} gives:
This box: view  talk  edit

[edit] Note to editors with edit access to this template

This template is represented across tens of thousands of pages, so please tread lightly when editing here. Conducting sufficient sandbox testing (Unavbar specific) to establish the validity of edits relative to Unavbar is strongly encouraged prior to attempting to integrate changes.

[edit] Examples

{{Unavbar|Name of Template|mini= |nodiv= |fontcolor= }}

[edit] Required parameters

  • {{Unavbar|Name of Template}} the template name is required.

[edit] Optional parameters

Optional parameter Produces...
No "This box:" text. {{Unavbar|Template Name|plain=1}} No "This box:" text.
view  talk  edit
{{Unavbar|Template Name|nodiv=1}} Good for "blending" into text.  This box: view  talk  edit  Good for "blending" into text.
Blended no "This box:" text. {{Unavbar|Template Name|plain=1|nodiv=1}} Blended no "This box:" text.  view  talk  edit 
Makes Unavbar display in a mini version: {{Unavbar|Template Name|mini=1}} like so. Makes Unavbar display in a mini version:
v  d  e
like so.
{{Unavbar|Template Name|mini=1|nodiv=1}} Good for "blending" into text.  v  d  e  Good for "blending" into text.
For a fuller simpler access option. {{Unavbar|Template Name|viewplain=1}} For a fuller simpler access option.
view
For a simpler access option. {{Unavbar|Template Name|miniv=1}} For a simpler access option.
v
For a color option. {{Unavbar|Template Name|fontcolor=color}} For a color option.
This box: view  talk  edit


[edit] See also

Navigation template comparison
view  talk  edit
collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes {{USCongress}}, {{Solar System}}
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes {{Current U.S. Senators}}, {{Czech lands}}
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes {{University of Michigan}}, {{Scouting}}
Collapsible attributes
Type CSS classes Javascript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes