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

Template:Navbar: Difference between revisions

Template page
More languages
Shane (talk | contribs)
No edit summary
Alvine (talk | contribs)
m Added french interwiki link.
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="noprint plainlinksneverexpand" id="Tnavbar-mini" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000;">[{{fullurl:Template:{{{1}}}}} <span style="color:#F7FF64;" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#F7FF64;" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#F7FF64;" title="You can edit this template. Please use the preview button before saving.">e</span>]</div><noinclude>
<includeonly>{{#switch:{{{type|}}}
| full= <div class="noprint plainlinks t_navbar" id="Tnavbar-mini">[{{fullurl:Template:{{{1}}}}} <span class="t_navbar_item" title="View this template.">view</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span class="t_navbar_item" title="Discussion about this template.">talk</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span class="t_navbar_item" title="You can edit this template. Please use the preview button before saving.">edit</span>]</div>
| mini
| #default = <div class="noprint plainlinks t_navbar" id="Tnavbar-mini">[{{fullurl:Template:{{{1}}}}} <span class="t_navbar_item" title="View this template.">v</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span class="t_navbar_item" title="Discussion about this template.">d</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span class="t_navbar_item" title="You can edit this template. Please use the preview button before saving.">e</span>]</div>}}</includeonly><noinclude>
==Usage==
==Usage==
Simply place '''<nowiki>{{</nowiki>'''Tnavbar-mini|Name of Template'''<nowiki>}}</nowiki>''' inside  a given [[Battlestar Wiki:Template List|template]] to add '''v''' &middot; '''d''' &middot; '''e''' navigational functionality to it.
Simply place {{tlp|navbar|''Name of Template''}} inside  a given [[Battlestar Wiki:Template List|template]] to add '''v''' &middot; '''d''' &middot; '''e''' navigational functionality to it.
==Examples / See also==
:<code><nowiki>|type = xx</nowiki></code>
{| class="wikitable"
 
! Template !! colspan=2 | This... !! colspan=2 | Produces...
; Type
|-
: mini - {{navbar|navbar|type = mini}}
| {{tl|Tnavbar}}'' || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar|Tnavbar}} like so.
: full - {{navbar|navbar|type = full}}
|-
 
| '''This template''' || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar-mini|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar-mini|Tnavbar}} like so.
[[Category:Internal link templates|{{PAGENAME}}]]
|-
 
|  {{tl|Tnavbar-plain}} || &rarr; || Divides into a separate section: <nowiki>{{Tnavbar-plain|Tnavbar}}</nowiki> like so. || &rarr; || Divides into a separate section: {{Tnavbar-plain|Tnavbar}} like so.
[[fr:Modèle:Navbar]]
|-
| {{tl|Tnavbar-nodiv}} || &rarr; || Good for "blending" into text. <nowiki>{{Tnavbar-nodiv|Tnavbar}}</nowiki> || &rarr; || Good for "blending" into text. {{Tnavbar-nodiv|Tnavbar}}
|-
| {{tl|Tnavbar-mini-nodiv}} || &rarr; || Good for "blending"  <nowiki>{{Tnavbar-mini-nodiv|Tnavbar}}</nowiki> into text. || &rarr; ||Good for "blending"  {{Tnavbar-mini-nodiv|Tnavbar}} into text.
|-
| {{tl|Tnavbar-plain-nodiv}} || &rarr; || <nowiki>{{Tnavbar-plain-nodiv|Tnavbar}}</nowiki> Good for "blending" into text.  || &rarr; || {{Tnavbar-plain-nodiv|Tnavbar}} Good for "blending" into text.
|}
</noinclude>
</noinclude>

Latest revision as of 16:39, 20 January 2009

Usage

Simply place {{navbar|Name of Template}} inside a given template to add v · d · e navigational functionality to it.

|type = xx
Type
mini -
full -
Contents