Difference between revisions of "Template:Navbar-table"

From blackwiki
Jump to navigation Jump to search
test>Pizzahut2
m (Reverting last edit. It keeps saying "this box" even though i put "plain=y". Not sure how to get this to work.)
test>Pizzahut2
Line 1: Line 1:
<includeonly>{{-}}{{navbar|{{#if:{{{template|}}}|{{{template}}}|{{{1}}}}}|brackets=y|{{#if:{{{heading|}}}|text='''{{{heading}}}'''|{{#if:{{{2|}}}|text='''{{{2}}}'''|plain=y}}}}|style=position: relative; bottom: -11px;}}</includeonly><noinclude>{{navbar-table|Navbar-table|Optional heading}}
+
<includeonly>{{-}}{{navbar|{{#if:{{{template|}}}|{{{template}}}|{{{1}}}}}|brackets=y|text={{#if:{{{heading|}}}|'''{{{heading}}}'''|{{#if:{{{2|}}}|'''{{{2}}}'''|&thinsp;}}}}|style=position: relative; bottom: -11px;}}</includeonly><noinclude>{{navbar-table|Navbar-table|Optional heading}}
 
{{Documentation|content=
 
{{Documentation|content=
 
Navigation bar for table templates, positioned above the table.
 
Navigation bar for table templates, positioned above the table.

Revision as of 11:14, 26 April 2019

Template documentation

Navigation bar for table templates, positioned above the table.

Usage:

  • {{navbar-table|{{subst:PAGENAME}}}}
  • {{navbar-table|{{subst:PAGENAME}}|heading}}

Optionally you can also use named parameters:

  • {{navbar-table|template={{subst:PAGENAME}}}}
  • {{navbar-table|template={{subst:PAGENAME}}|heading=heading}}