Revision as of 07:05, 5 August 2006 view sourceZzyzx11 (talk | contribs)Autopatrolled, Administrators163,727 edits adding "templateName" parameter (see Template talk:Navigation Template) using AWB← Previous edit | Revision as of 07:08, 5 August 2006 view source Zzyzx11 (talk | contribs)Autopatrolled, Administrators163,727 editsm rv temporarily while I fix my bugNext 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;"><div class="noprint plainlinksneverexpand" id="Tnavbar-mini" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">··</div></div>''' {{{header|}}} '''</div> | <div class="NavHead" style="background-color:{{{color|#ccccff;}}}"><div style="float:left;margin-left:2px;"><div class="noprint plainlinksneverexpand" id="Tnavbar-mini" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;">··</div></div>''' {{{header|}}} '''</div> | ||
<div class="NavContent" style="font-size:90%;"> | <div class="NavContent" style="font-size:90%;"> | ||
{{{body|}}}<br clear=both> | {{{body|}}}<br clear=both> | ||
Line 10: | Line 10: | ||
This is a generic navigation template. ] was observed. | This is a generic navigation template. ] was observed. | ||
==Parameters== | ==Parameters== | ||
*templateName: The name of the template, required for the "view • talk • edit" links to work properly | |||
*color (optional parameter): Background color of the top bar | *color (optional parameter): Background color of the top bar | ||
*header: Text on the top bar | *header: Text on the top bar | ||
Line 18: | Line 17: | ||
<pre> | <pre> | ||
{{Navigation Template | {{Navigation Template | ||
|templateName={{subst:PAGENAME}} | |||
|color = #ccccff | |color = #ccccff | ||
|header = ] in ] | |header = ] in ] | ||
Line 26: | Line 24: | ||
==Product== | ==Product== | ||
{{Navigation Template | {{Navigation Template | ||
|templateName=Navigation Template | |||
|color = #ccccff | |color = #ccccff | ||
|header = ] in ] | |header = ] in ] |
Revision as of 07:08, 5 August 2006
This is a generic navigation template. KISS principle was observed.
Parameters
- color (optional parameter): Background color of the top bar
- header: Text on the top bar
- body: Rest of the list
Usage
{{Navigation Template |color = #ccccff |header = ] in ] |body = ] • ] • ] • ] • ] • ] • ] • ] }}
Product
See also
- Template:Navbox generic
- Template:NavigationBox
- Template:Dynamic navigation box
- Template:Dynamic navigation box with image