Template:Tnavbar/doc
This page will only parse completely when it is included in another page.
[span] style="font-size:200%;" |
Tnavbar
[/span] ([b]T[/b]emplate [b]nav[/b]igation [b]bar[/b])
[h="2"]Usage[/h]
Copyable examples when inside a given [wiki="wikipedia:Wikipedia:Navigational templates"]template[/wiki] adds Tnavbar navigational functionality:
[indent]<tt>{{Tnavbar|{{s ubst:PAGENAME}}|mini=1} 25;</tt> [/indent]:<tt>{{Tnavbar|{{s ubst:PAGENAME}}|plain=1}&# 125;</tt>
[indent]<tt>{{Tnavbar|{{s ubst:PAGENAME}}|mini=1|nod iv=1}}</tt> [/indent]:<tt>{{Tnavbar|{{s ubst:PAGENAME}}|plain=1|no div=1}}</tt>
[indent]<tt>{{Tnavbar|{{s ubst:PAGENAME}}|miniv=1}&# 125;</tt> [/indent]:<tt>{{Tnavbar|{{s ubst:PAGENAME}}|viewplain=1 5;}</tt>
[indent]<tt>{{Tnavbar|{{s ubst:PAGENAME}}|miniv=1|no div=1}}</tt> [/indent]:<tt>{{Tnavbar|{{s ubst:PAGENAME}}|viewplain=1 4;nodiv=1}}</tt>
[indent]<tt>{{Tnavbar|{{s ubst:PAGENAME}}|fontcolor=green }}</tt> [/indent]
[indent]The <code>{{subst:PAGENAME}}</code> will be substituted with the template's name when parsed by the servers.[/indent]:{{Tnavbar|Tnavbar/doc}} gives: [template]Tnavbar|Tnavbar/doc[/template]
[h="2"]Note to editors with edit access to this template[/h]
This template is represented across [special="MostLinkedTemplates"]hundreds of thousands of pages[/special], so please tread lightly when editing here. Conducting sufficient [template="Tnavbar/Sandbox"]sandbox testing[/template] to establish the validity of edits relative to Tnavbar is [b]strongly[/b] encouraged prior to attempting to integrate changes.
[h="2"]Examples[/h]
<div class="bbcode_container"> <div class="bbcode_description">Code:</div> <pre class="bbcode_code" style="height:36px;">{{Tnavbar|Name of Template|mini= |nodiv= |fontcolor= }}</pre></div>=== Required parameters ===
[list][*]<code>{{Tnavbar|Name of Template}}</code> the template name is required.
[/LIST]
[h="3"] Optional parameters [/h]
[table] class="darktable"
! Options !! Parameters !! Produces...
|-
! colspan="3" | Normal
|-
| Normal || <code>{{tnavbar|Template Name}}</code> || [template]tnavbar|Tnavbar/doc[/template]
|-
| No "This box:" text. || <code>{{tnavbar|Template Name|plain=1}}</code> || [template]tnavbar|Tnavbar/doc|plain=1[/template]
|-
| Good for "blending" into text. || <code>{{tnavbar|Template Name|nodiv=1}}</code> || Lorem [template]tnavbar|Tnavbar/doc|nodiv=1[/template] Ipsum
|-
|Blended no "This box:" text. || <code>{{tnavbar|Template Name|plain=1|nodiv=1}} </code> || Lorem [template]tnavbar|Tnavbar/doc|plain=1|nodiv=1[/template] Ipsum
|-
| For a color option. || <code>{{tnavbar|Template Name|fontcolor=color}}</code> || [template]tnavbar|Tnavbar/doc|fontcolor=green[/template]
|-
! colspan="3" | Mini
|-
| Makes Tnavbar display in a mini version: || <code>{{tnavbar|Template Name|mini=1}}</code> || [template]tnavbar|Tnavbar/doc|mini=1[/template]
|-
| Good for "blending" into text. || <code>{{tnavbar|Template Name|mini=1|nodiv=1}}</code> || Lorem [template]tnavbar|Tnavbar/doc|mini=1|nodiv=1[/template] Ipsum
|-
! colspan="3" | View only
|-
| For a simpler access option. || <code>{{tnavbar|Template Name|miniv=1}}</code> || [template]tnavbar|Tnavbar/doc|miniv=1[/template]
|-
| For a full simpler access option. || <code>{{tnavbar|Template Name|viewplain=1}}</code> || [template]tnavbar|Tnavbar/doc|viewplain=1[/template]
[/table]
[h="2"] Prepackaged [/h]
;[template]t|tnavbar-header[/template]: Positions <small>v ? d ? e</small> on the right edge of the line, often used in non-collapsible navbox heading.
;[template]t|Tnavbar-collapsible[/template]: For use in conjunction with [wiki="wikipedia:Wikipedia: NavFrame#Collapsible tables"]Collapsible tables[/wiki],floats <small>v ? d ? e</small> opposite of the [hide]/[show] feature.
<br/>A list of meta-templates that may be used in place of custom navbox code follows.
[h="2"] See also [/h]
[list][*][template]t|navbox[/template]
[*][template]t|navbox with columns[/template]
[*][template]t|navbox with collapsible groups[/template]
[/LIST]
[top]Pages That Use This Template
The following pages include this template:
Contributors: | ,
Created by Last edited by , 10-23-2011 at 02:12 PM 0 Comments, 1,348 Views |
, 12-05-2008 at 12:51 PM
Tags for this Page
Similar Pages
-
Tnavbar
By Arjan in forum TemplateComments: 0Last Post: 12-05-2008, 12:49 PM
Bookmarks