Revision as of 07:48, 5 August 2006 view sourceZzyzx11 (talk | contribs)Autopatrolled, Administrators163,727 editsm ...I fixed it, it is a bracket problem← Previous edit | Revision as of 15:42, 5 August 2006 view source Zzyzx11 (talk | contribs)Autopatrolled, Administrators163,727 edits just {{PAGENAME}} can workNext edit → | ||
Line 11: | Line 11: | ||
==Parameters== | ==Parameters== | ||
*templateName: The name of the template, |
*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 <code><nowiki>{{subst:PAGENAME}}</nowiki></code> for this value as a shortcut. | ||
*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 19: | Line 19: | ||
<pre> | <pre> | ||
{{Navigation Template | {{Navigation Template | ||
|templateName={{subst: |
|templateName={{subst:PAGENAME}} | ||
|color = #ccccff | |color = #ccccff | ||
|header = ] in ] | |header = ] in ] |
Revision as of 15:42, 5 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