Difference between revisions of "Template:Navbar"

From BESA® Wiki
Jump to: navigation, search
(changed short to mini)
(prefer middot and bull options)
Line 2: Line 2:
 
#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}
 
#if:{{{nodiv|}}}|&nbsp;<span class="noprint plainlinksneverexpand" style="white-space: nowrap; font-size:xx-small;">|<div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">}}
 
{{#if:{{{mini|}}}||This box:}}[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{
 
{{#if:{{{mini|}}}||This box:}}[{{fullurl:Template:{{{1}}}}} <span style="color:#002bb8;" title="View this template.">{{
#if:{{{mini|}}}|v|&nbsp;view&nbsp;}}</span>]&middot;[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{
+
#if:{{{mini|}}}|v|view}}</span>]{{
#if:{{{mini|}}}|t|&nbsp;talk&nbsp;}}</span>]&middot;[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{
+
#if:{{{mini|}}}|&middot;| • }}[{{fullurl:Template_talk:{{{1}}}}} <span style="color:#002bb8;" title="Discussion about this template.">{{
#if:{{{mini|}}}|e|&nbsp;edit}}</span>]
+
#if:{{{mini|}}}|d|talk}}</span>]{{
{{
+
#if:{{{mini|}}}|&middot;| • }}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">{{
#if:{{{nodiv|}}}|</span>&nbsp;|</div>
+
#if:{{{mini|}}}|e|edit}}</span>]
}}</includeonly><noinclude>
+
{{#if:{{{nodiv|}}}|</span>&nbsp;|</div>}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
Copyable empty example:
 
Copyable empty example:

Revision as of 00:50, 28 July 2006

Usage

Copyable empty example: {{Tnavbar|Name of Template|mini= |nodiv= }} inside a given template to adds viewtalkedit navigational functionality.

{{Tnavbar|Tnavbar}} gives Template:Tnavbar

Note to editors

This template is likely represented across hundreds of pages (if not thousands); please tread lightly when editing here.

Examples / See also

{{Tnavbar|Name of Template|mini= |nodiv= }}

Required parameters

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

Optional parameters

Optional parameter Produces...
Divides into a separate section: {{Tnavbar|Tnavbar|mini=1}} like so. Divides into a separate section: Template:Tnavbar like so.
{{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text. Template:Tnavbar Good for "blending" into text.
{{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text. Template:Tnavbar Good for "blending" into text.

cs:Šablona:Tnavbar