Revision as of 18:16, 6 August 2006 view sourceOblivious (talk | contribs)7,207 edits trying to see if this works - quick reversion follows if failed← Previous edit | Revision as of 15:07, 7 August 2006 view source Alexey Feldgendler (talk | contribs)247 edits fixed the attribute value as the W3C validator suggestsNext edit → | ||
Line 3: | Line 3: | ||
<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;">{{Tnavbar|{{{templateName}}}|mini=1|nodiv=1}}</div>''' {{{header|}}} '''</div> | ||
<div class="NavContent" style="font-size:90%;"> | <div class="NavContent" style="font-size:90%;"> | ||
{{{body|}}}<br clear= |
{{{body|}}}<br clear=all> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 15:07, 7 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
- Template:Navbox generic
- Template:NavigationBox
- Template:Dynamic navigation box
- Template:Dynamic navigation box with image