Misplaced Pages

Template:Navigation: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 22:41, 13 August 2006 view sourceとある白い猫 (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers55,796 editsNo edit summary← Previous edit Revision as of 22:41, 13 August 2006 view source とある白い猫 (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers55,796 edits bad idea :)Next edit →
Line 1: Line 1:
<includeonly> <includeonly>
<div style="clear:both;" class="NavFrame"> <div style="clear:both;" class="NavFrame">
<div class="NavHead" style="background-color:{{{color|#ccccff;}}}"><div style="float:left;margin-left:2px;">{{Tnavbar|{{{templateName}}}|mini=1|nodiv=1}}</div>''' {{{header|}}} '''</div>
<div class="NavHead" style="background-color:{{{color|#ccccff;}}}"><div style="float:left;margin-left:2px;">{{#if:1|&nbsp;<span class="noprint plainlinksneverexpand" id="Tnavbar-nodiv" 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;">}}{{#ifeq:1{{{plain|}}}|1||This box:&nbsp;}}{{#if:1|&middot;&middot;}}{{#if:1|| • • }}{{#if:1|</span>&nbsp;|</div>}}</div>''' {{{header|}}} '''</div>
<div class="NavContent" style="font-size:90%;"> <div class="NavContent" style="font-size:90%;">
{{{body|}}}<br clear=all> {{{body|}}}<br clear=all>

Revision as of 22:41, 13 August 2006

This is a generic navigation template. KISS principle was observed.

Parameters

  • templateName: The name of the template, which is needed for the "view • talk • edit" links to work properly on all of the pages where the template is used on. You can enter {{subst:PAGENAME}} for this value as a shortcut.
  • color (optional parameter): Background color of the top bar
  • header: Text on the top bar
  • body: Rest of the list

Usage

{{Navigation Template
|templateName={{subst:PAGENAME}}
|color  = #ccccff
|header = ] in ]
|body = ] • ] • ] • ] • ] • ] • ] • ]
}}

Product

See also

Category: