Difference between revisions of "Template:Navbar"

From BTAWiki
Jump to navigation Jump to search
(Change link to talk page to external link, to prevent template talk page links from being tracked and filling the Special:Wantedpages with lots of unneeded links)
(wikify)
Line 59: Line 59:
 
===Optional parameters===
 
===Optional parameters===
  
<table class="wikitable">
+
{{(}}{{!}} class="wikitable"
<tr>
+
! Options !! Parameters !! Produces...
<th>Options</th><th>Parameters</th><th>Produces...</th>
+
{{!}}-
</tr><tr>
+
{{!}} Basic {{!}}{{!}} <code><nowiki>{{navbar|Template Name}}</nowiki></code> {{!}}{{!}} {{navbar|navbar/doc}}
<td>Basic</td><td><code><nowiki>{{navbar|Template Name}}</nowiki></code></td><td>{{navbar|navbar/doc}}</td>
+
{{!}}-
</tr><tr>
+
{{!}} Different text {{!}}{{!}} <code><nowiki>{{navbar|Template Name|text=This template:}}</nowiki></code> {{!}}{{!}} {{navbar|navbar/doc|text=This template:}}
<td>Different text</td><td><code><nowiki>{{navbar|Template Name|text=This template:}}</nowiki></code></td><td>{{navbar|navbar/doc|text=This template:}}</td>
+
{{!}}-
</tr><tr>
+
{{!}} Without "This box:" text {{!}}{{!}} <code><nowiki>{{navbar|Template Name|plain=1}}</nowiki></code> {{!}}{{!}} {{navbar|navbar/doc|plain=1}}
<td>Without "This box:" text</td><td><code><nowiki>{{navbar|Template Name|plain=1}}</nowiki></code></td><td>{{navbar|navbar/doc|plain=1}}</td>
+
{{!}}-
</tr><tr>
+
{{!}} Short version {{!}}{{!}} <code><nowiki>{{navbar|Template Name|mini=1}}</nowiki></code> {{!}}{{!}} {{navbar|navbar/doc|mini=1}}
<td>Short version</td><td><code><nowiki>{{navbar|Template Name|mini=1}}</nowiki></code></td><td>{{navbar|navbar/doc|mini=1}}</td>
+
{{!}}-
</tr><tr>
+
{{!}} With a color option {{!}}{{!}} <code><nowiki>{{navbar|Template Name|fontstyle=color:green}}</nowiki></code> {{!}}{{!}} {{navbar|navbar/doc|fontstyle=color:green}}
<td>With a color option</td><td><code><nowiki>{{navbar|Template Name|fontstyle=color:green}}</nowiki></code></td><td>{{navbar|navbar/doc|fontstyle=color:green}}</td>
+
{{!}}-
</tr><tr>
+
{{!}} With brackets
<td>With brackets</td>
+
{{!}} <code><nowiki>{{navbar|Template Name|brackets=1}}</nowiki></code>
<td><code><nowiki>{{navbar|Template Name|brackets=1}}</nowiki></code></td>
+
{{!}} {{navbar|navbar/doc|brackets=1}}
<td>{{navbar|navbar/doc|brackets=1}}</td>
+
{{!}}{{)}}
</tr>
 
</table>
 
  
 
===Deprecated parameters===
 
===Deprecated parameters===

Revision as of 03:17, 17 May 2020

<languages /> Script error: No such module "Template translation". Script error: No such module "documentation".[[Category:Template documentation pages{{#translation:}}]]