Revision as of 09:26, 14 August 2006 view sourceとある白い猫 (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers55,796 editsNo edit summary← Previous edit | Revision as of 09:27, 14 August 2006 view source とある白い猫 (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers55,796 edits panic rvNext 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 |
{{{body|}}}<br clear=all> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 15: | Line 15: | ||
*header: Text on the top bar | *header: Text on the top bar | ||
*body: Rest of the list | *body: Rest of the list | ||
*category (optional parameter): template categories | |||
==Usage== | ==Usage== | ||
<pre> | <pre> |
Revision as of 09:27, 14 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 = ] • ] • ] • ] • ] • ] • ] • ] }} |category = ]<noinclude>]</noinclude>
Product
See also
- Template:Navbox generic
- Template:NavigationBox
- Template:Dynamic navigation box
- Template:Dynamic navigation box with image